FIxing locale undefined issue on homepage

This commit is contained in:
Julio Ruiz 2026-02-26 16:24:16 -05:00
parent fab57a6dd6
commit 550c5d8518
1 changed files with 3 additions and 3 deletions

View File

@ -21,9 +21,9 @@ const { locale } = Astro.params;
class="flex justify-evenly gap-10 items-center uppercase text-md text-white"
>
<div class="hidden md:flex gap-8 font-primary font-bold">
<a class="hover:text-colorPrimary transition" href=`/${locale}#somos`>{tl("nav.about")}</a>
<a class="hover:text-colorPrimary transition" href=`/${locale}#programs`>{tl("nav.programs")}</a>
<a class="hover:text-colorPrimary transition" href=`/${locale}#news`>{tl("nav.news")}</a>
<a class="hover:text-colorPrimary transition" href=`/${currentLocale}#somos`>{tl("nav.about")}</a>
<a class="hover:text-colorPrimary transition" href=`/${currentLocale}#programs`>{tl("nav.programs")}</a>
<a class="hover:text-colorPrimary transition" href=`/${currentLocale}#news`>{tl("nav.news")}</a>
</div>
<div class="drawer lg:hidden">
<input id="my-drawer-1" type="checkbox" class="drawer-toggle" />