Files
termscp/site/src/components/Footer.astro
T
Christian Visintin 739517f7e4
codeberg-mirror / mirror (push) Has been cancelled
CI / build-(macos-latest) (push) Has been cancelled
CI / build-(ubuntu-latest) (push) Has been cancelled
CI / build-(windows-latest) (push) Has been cancelled
Install.sh / build (macos-latest) (push) Has been cancelled
Install.sh / build (ubuntu-latest) (push) Has been cancelled
Site / build-site (push) Has been cancelled
feat(site): add privacy policy page (#435)
Add a GDPR privacy policy covering Vercel hosting/server logs and
EU-hosted Umami analytics, and link it from the footer.
2026-06-19 19:12:53 +02:00

41 lines
1.1 KiB
Plaintext

---
import { DOCS_URL, GITHUB_URL, VERSION } from "../consts";
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={GITHUB_URL}
class="hover:text-text"
data-umami-event="github"
data-umami-event-location="footer">GitHub</a
>
<a
href="https://crates.io/crates/termscp"
class="hover:text-text"
data-umami-event="crates"
data-umami-event-location="footer">crates.io</a
>
<a
href={DOCS_URL}
class="hover:text-text"
data-umami-event="docs"
data-umami-event-location="footer">User manual</a
>
<a
href="/privacy"
class="hover:text-text"
data-umami-event="privacy"
data-umami-event-location="footer">Privacy</a
>
</div>
<p>
termscp v{VERSION} · © {year} Christian Visintin · Released under the MIT license.
</p>
</div>
</footer>