refactor(site): english-only, remove i18n machinery

This commit is contained in:
Christian Visintin
2026-06-08 10:16:00 +02:00
parent 203a6da387
commit e381484022
20 changed files with 83 additions and 771 deletions
+1 -5
View File
@@ -1,12 +1,8 @@
---
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>
<h2 class="text-overlay text-sm uppercase tracking-widest">Speaks every protocol</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>