From b5bf9077abb1834e14b1ecb795bebc2d4e6bc07e Mon Sep 17 00:00:00 2001 From: tequ Date: Thu, 9 Apr 2026 17:27:14 +0900 Subject: [PATCH] Fix Header.jsx to use getRelativeLocaleUrl --- src/components/Footer.astro | 2 +- src/components/Header.jsx | 68 ++++++++++++++++++++++++++++--------- 2 files changed, 53 insertions(+), 17 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index f34550c..ea56be3 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -67,7 +67,7 @@ }, } - const t = translations[locale] + const t = translations[locale as 'en' | 'es' | 'ja'] ---