mirror of
https://github.com/veeso/termscp.git
synced 2026-09-26 22:11:26 -07:00
feat(site): nav, footer, theme toggle, language picker
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
---
|
||||
import { useTranslations, type Locale } from "../i18n/ui";
|
||||
interface Props { locale: Locale; }
|
||||
const { locale } = Astro.props;
|
||||
const t = useTranslations(locale);
|
||||
const year = new Date().getFullYear();
|
||||
---
|
||||
<footer class="mt-auto border-t border-line bg-mantle">
|
||||
<div class="mx-auto flex max-w-5xl flex-col items-center gap-2 px-4 py-8 text-sm text-overlay">
|
||||
<div class="flex gap-5">
|
||||
<a href="https://github.com/veeso/termscp" class="hover:text-text">GitHub</a>
|
||||
<a href="https://crates.io/crates/termscp" class="hover:text-text">crates.io</a>
|
||||
<a href="https://ko-fi.com/veeso" class="hover:text-text">{t("footer.support")}</a>
|
||||
</div>
|
||||
<p>© {year} Christian Visintin · {t("footer.rights")}</p>
|
||||
</div>
|
||||
</footer>
|
||||
Reference in New Issue
Block a user