feat(site): landing page with dual-pane explorer hero

This commit is contained in:
Christian Visintin
2026-06-08 10:16:00 +02:00
parent a25b17a4e5
commit 5c84a0e88d
4 changed files with 118 additions and 7 deletions
+15
View File
@@ -0,0 +1,15 @@
---
import { useTranslations, type Locale } from "../i18n/ui";
interface Props { locale: Locale; }
const { locale } = Astro.props;
const t = useTranslations(locale);
const protocols = ["SCP", "SFTP", "FTP/S", "S3", "Kube", "SMB", "WebDAV"];
---
<section class="mx-auto max-w-5xl px-4 py-12 text-center">
<h2 class="text-overlay text-sm uppercase tracking-widest">{t("protocols.heading")}</h2>
<div class="mt-4 flex flex-wrap justify-center gap-2">
{protocols.map((proto) => (
<span class="rounded-full border border-line px-4 py-1 text-sm text-text">{proto}</span>
))}
</div>
</section>