mirror of
https://github.com/maciejpedzich/maciejpedzi.ch.git
synced 2024-11-27 23:55:47 +01:00
Move links to the footer
This commit is contained in:
parent
7e577f8761
commit
ed258b7431
@ -1,17 +1,35 @@
|
|||||||
---
|
---
|
||||||
const today = new Date();
|
import NavLink from './NavLink.astro';
|
||||||
---
|
---
|
||||||
|
|
||||||
<footer>
|
<footer>
|
||||||
© {today.getFullYear()} <span lang="pl">Maciej Pędzich</span>
|
<span>
|
||||||
|
© {new Date().getFullYear()} <span lang="pl">Maciej Pędzich</span>
|
||||||
|
</span>
|
||||||
|
<nav class="cmr2-text" aria-label="Social media links">
|
||||||
|
<NavLink href="https://github.com/maciejpedzich">GitHub</NavLink>
|
||||||
|
<NavLink href="https://notacult.social/@macindahaus">Mastodon</NavLink>
|
||||||
|
<NavLink href="https://twitter.com/maciejpedzich">Twitter</NavLink>
|
||||||
|
</nav>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
footer {
|
footer {
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: baseline;
|
||||||
margin-top: 1.5rem;
|
margin-top: 1.5rem;
|
||||||
padding: 1rem 0;
|
padding: 1rem 0;
|
||||||
border-top: 1px solid #fff;
|
border-top: 1px solid #fff;
|
||||||
text-align: center;
|
|
||||||
text-transform: lowercase;
|
text-transform: lowercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@media only screen and (max-width: 625px) {
|
||||||
|
footer {
|
||||||
|
flex-direction: column;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
gap: 0.75rem;
|
||||||
|
}
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
|
Loading…
Reference in New Issue
Block a user