Files
website/src/components/layout/Footer.astro
T

25 lines
784 B
Plaintext
Raw Normal View History

2026-06-29 10:48:43 -04:00
---
import { menuLinks, siteConfig } from "@/site.config";
const year = new Date().getFullYear();
---
<footer
class="text-muted mt-auto flex w-full flex-col items-center justify-center gap-y-2 pt-20 pb-4 text-center align-top font-semibold sm:flex-row sm:justify-between sm:text-xs"
>
<div class="me-0 sm:me-4">
&copy; {siteConfig.author}
{year}.<span class="inline-block">&nbsp;🚀&nbsp;{siteConfig.title}&nbsp;🌵&nbsp;</span>
</div>
<nav aria-labelledby="footer_links" class="sm:divide-muted flex gap-x-2 sm:gap-x-0 sm:divide-x">
<p id="footer_links" class="sr-only">More on this site</p>
{
menuLinks.map((link) => (
<a class="hover:text-global-text px-4 py-2 hover:underline sm:py-0" href={link.path}>
{link.title}
</a>
))
}
</nav>
</footer>