+ {locales.map((l) => (
+
{labels[l]}
+ ))}
+
diff --git a/site/src/components/Nav.astro b/site/src/components/Nav.astro
new file mode 100644
index 0000000..a39774d
--- /dev/null
+++ b/site/src/components/Nav.astro
@@ -0,0 +1,28 @@
+---
+import { defaultLocale, useTranslations, type Locale } from "../i18n/ui";
+import ThemeToggle from "./ThemeToggle.astro";
+import LangPicker from "./LangPicker.astro";
+
+interface Props {
+ locale: Locale;
+ path: string;
+}
+const { locale, path } = Astro.props;
+const t = useTranslations(locale);
+const p = (sub: string) => (locale === defaultLocale ? sub : `/${locale}${sub}`);
+---
+