From b4ef1a0d288565f744bf754af456c4f60da99ca7 Mon Sep 17 00:00:00 2001 From: Ariel Costas Guerrero Date: Mon, 21 Apr 2025 22:54:15 +0200 Subject: Refactor localization: remove i18n support and update layouts to use static text --- src/partials/Header.astro | 21 ++++++--------------- 1 file changed, 6 insertions(+), 15 deletions(-) (limited to 'src/partials/Header.astro') diff --git a/src/partials/Header.astro b/src/partials/Header.astro index 8af8ea1..e305492 100644 --- a/src/partials/Header.astro +++ b/src/partials/Header.astro @@ -1,22 +1,13 @@ --- -import { getRelativeLocaleUrl } from "astro:i18n"; -import { useTranslations } from "../i18n"; - -const t = useTranslations(Astro.currentLocale); +import t from "../i18n/es.json"; ---
- {t.header.home} - {t.header.trajectory} - {t.header.portfolio} - {t.header.blog} - {t.header.contact} + {t.header.home} + {t.header.trajectory} + {t.header.portfolio} + {t.header.blog} + {t.header.contact}