70 lines
No EOL
1.3 KiB
Text
70 lines
No EOL
1.3 KiB
Text
---
|
|
import Icon from './Icon.astro';
|
|
const currentYear = new Date().getFullYear();
|
|
---
|
|
|
|
<footer>
|
|
<div class="group">
|
|
<p>© {currentYear} Toastie_t0ast</p>
|
|
</div>
|
|
<p class="socials">
|
|
<a href="https://valkyriecoms.com/@toastie"> Valkyriecoms</a>
|
|
<a href="https://toastielab.dev/toastie_t0ast"> Toastielab</a>
|
|
<a href="https://discord.gg/3qvVNTk6sa"> Discord</a>
|
|
</p>
|
|
</footer>
|
|
<style>
|
|
footer {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 3rem;
|
|
margin-top: auto;
|
|
padding: 3rem 2rem 3rem;
|
|
text-align: center;
|
|
color: var(--gray-400);
|
|
font-size: var(--text-sm);
|
|
}
|
|
|
|
footer a {
|
|
color: var(--gray-400);
|
|
text-decoration: 1px solid underline transparent;
|
|
text-underline-offset: 0.25em;
|
|
transition: text-decoration-color var(--theme-transition);
|
|
}
|
|
|
|
footer a:hover,
|
|
footer a:focus {
|
|
text-decoration-color: currentColor;
|
|
}
|
|
|
|
.group {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.socials {
|
|
display: flex;
|
|
justify-content: center;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
@media (min-width: 50em) {
|
|
footer {
|
|
flex-direction: row;
|
|
justify-content: space-between;
|
|
padding: 2.5rem 5rem;
|
|
}
|
|
|
|
.group {
|
|
flex-direction: row;
|
|
gap: 1rem;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.socials {
|
|
justify-content: flex-end;
|
|
}
|
|
}
|
|
</style> |