@@ -13,23 +13,23 @@ const t = useTranslations(lang);
13
13
class =" flex flex-col text-xl sm:text-base sm:flex-row gap-x-8 gap-y-3 items-center justify-center"
14
14
>
15
15
<a
16
- href ={ new URL ( ` ${lang }/site-notice ` , Astro . url ) }
16
+ href ={ ` ${import . meta . env . BASE_URL }/${ lang }/site-notice ` }
17
17
class =" hover:underline transition"
18
18
>
19
19
{ t (" nav.site-notice" )}
20
20
</a >
21
21
<a
22
- href ={ new URL ( ` ${lang }/privacy-policy ` , Astro . url ) }
22
+ href ={ ` ${import . meta . env . BASE_URL }/${ lang }/privacy-policy ` }
23
23
class =" hover:underline transition"
24
24
>
25
25
{ t (" nav.privacy-policy" )}
26
26
</a >
27
27
<a
28
- href ={ new URL ( ` ${lang }/faq ` , Astro . url ) }
28
+ href ={ ` ${import . meta . env . BASE_URL }/${ lang }/faq ` }
29
29
class =" hover:underline transition" >{ t (" nav.faq" )} </a
30
30
>
31
31
<a
32
- href ={ new URL ( ` ${lang }/contact ` , Astro . url ) }
32
+ href ={ ` ${import . meta . env . BASE_URL }/${ lang }/contact ` }
33
33
class =" hover:underline transition" >{ t (" nav.contact" )} </a
34
34
>
35
35
</div >
@@ -57,11 +57,13 @@ const t = useTranslations(lang);
57
57
</a >
58
58
</div >
59
59
<div class =" flex gap-6 justify-center text-xl sm:text-base" >
60
- <a href ={ new URL (` de ` , Astro .url )} class =" hover:underline transition"
61
- >Deutsch</a
60
+ <a
61
+ href ={ ` ${import .meta .env .BASE_URL }/de ` }
62
+ class =" hover:underline transition" >Deutsch</a
62
63
>
63
- <a href ={ new URL (` en ` , Astro .url )} class =" hover:underline transition"
64
- >English</a
64
+ <a
65
+ href ={ ` ${import .meta .env .BASE_URL }/en ` }
66
+ class =" hover:underline transition" >English</a
65
67
>
66
68
</div >
67
69
</footer >
0 commit comments