refactor(site): drop in-site manual, link to external docs.termscp.rs

This commit is contained in:
Christian Visintin
2026-06-08 10:16:00 +02:00
parent 5c84a0e88d
commit 0cc7362bd9
8 changed files with 10 additions and 100 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
---
import { useTranslations, type Locale } from "../i18n/ui";
import { useTranslations, DOCS_URL, type Locale } from "../i18n/ui";
interface Props { locale: Locale; }
const { locale } = Astro.props;
const t = useTranslations(locale);
@@ -10,6 +10,7 @@ const year = new Date().getFullYear();
<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={DOCS_URL} class="hover:text-text">{t("nav.manual")}</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>