FIxing locale undefined issue on homepage
This commit is contained in:
parent
fab57a6dd6
commit
550c5d8518
|
|
@ -21,9 +21,9 @@ const { locale } = Astro.params;
|
||||||
class="flex justify-evenly gap-10 items-center uppercase text-md text-white"
|
class="flex justify-evenly gap-10 items-center uppercase text-md text-white"
|
||||||
>
|
>
|
||||||
<div class="hidden md:flex gap-8 font-primary font-bold">
|
<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=`/${currentLocale}#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=`/${currentLocale}#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}#news`>{tl("nav.news")}</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="drawer lg:hidden">
|
<div class="drawer lg:hidden">
|
||||||
<input id="my-drawer-1" type="checkbox" class="drawer-toggle" />
|
<input id="my-drawer-1" type="checkbox" class="drawer-toggle" />
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue