mirror of
https://github.com/prdlk/website.git
synced 2026-08-03 09:51:41 +00:00
25 lines
784 B
Plaintext
25 lines
784 B
Plaintext
---
|
|||
|
|
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">
|
||
|
|
© {siteConfig.author}
|
||
|
|
{year}.<span class="inline-block"> 🚀 {siteConfig.title} 🌵 </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>
|