Skip to content

Commit

Permalink
added footer
Browse files Browse the repository at this point in the history
  • Loading branch information
SIDDHU123M committed Oct 29, 2024
1 parent 337eb14 commit f1a9d5b
Show file tree
Hide file tree
Showing 2 changed files with 66 additions and 1 deletion.
53 changes: 53 additions & 0 deletions css/lmao.css
Original file line number Diff line number Diff line change
Expand Up @@ -222,3 +222,56 @@ body {
border-color: var(--hover-shadow);
box-shadow: 0 0 15px var(--hover-shadow);
}

html, body {
height: 100%;
margin: 0;
display: flex;
flex-direction: column;
}

body {
min-height: 100vh;
}

.container {
flex: 1;
}

footer {
background-color: var(--primary-color);
color: var(--font-color);
padding: 1em 0;
text-align: center;
border-top: 2px solid var(--secondary-color);
margin-top: auto;
}

.footer-content {
max-width: 1200px;
margin: 0 auto;
padding: 0 1em;
}

.footer-links {
list-style: none;
padding: 0;
margin: 1em 0 0;
display: flex;
justify-content: center;
gap: 1em;
}

.footer-links li {
display: inline;
}

.footer-links a {
color: var(--font-color);
text-decoration: none;
font-weight: var(--font-weight-medium);
}

.footer-links a:hover {
text-decoration: underline;
}
14 changes: 13 additions & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
d="M5.5 1.999a.5.5 0 0 0-.5.5v8.504a2 2 0 0 0 2 2h1.004v2.998a2 2 0 1 0 4 0v-2.998H13a2 2 0 0 0 2-2V2.5a.5.5 0 0 0-.5-.5zm.5 8.004h8v1a1 1 0 0 1-1 1h-1.496a.5.5 0 0 0-.5.5v3.498a1 1 0 1 1-2 0v-3.498a.5.5 0 0 0-.5-.5H7a1 1 0 0 1-1-1zm8-1H6V3h4v1.5a.5.5 0 0 0 1 0V3h1v2.502a.5.5 0 0 0 1 0V3h1z" />
</svg>
</button>
<button onclick="otherPages('https\://github.com/SIDDHU123M')">
<button onclick="otherPages('https\://github.com/SIDDHU123M/CodehubX')">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
<path fill="currentColor"
d="M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2" />
Expand All @@ -154,6 +154,18 @@
</div>
<!-- <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> -->
<script async src="index.js"></script>

<footer>
<div class="footer-content">
<p>&copy; 2023 CodeHubX. All rights reserved.</p>
<ul class="footer-links">
<li><a href="https://github.com/SIDDHU123M">GitHub</a></li>
<li><a href="https://twitter.com/Siddhart_h69">Twitter</a></li>
<li><a href="https://www.linkedin.com/in/Sidhart-h69">LinkedIn</a></li>
<li><a href="mailto:codehubx.work@gmail.com">Contact Us</a></li>
</ul>
</div>
</footer>
</body>

</html>

0 comments on commit f1a9d5b

Please sign in to comment.