@@ -3,6 +3,7 @@ import type { Locale } from "next-intl";
3
3
import Link from "next/link" ;
4
4
import LocaleSwitcher from "./LocaleSwitcher" ;
5
5
import { getTranslations } from "next-intl/server" ;
6
+ import { Link as IntlLink } from "@/src/i18n/navigation" ;
6
7
7
8
export default async function Footer ( { lang } : { lang : Locale } ) {
8
9
const t = await getTranslations ( { namespace : "Navigation" , locale : lang } ) ;
@@ -62,7 +63,7 @@ export default async function Footer({ lang }: { lang: Locale }) {
62
63
< ul className = "space-y-4" >
63
64
< li >
64
65
< Link
65
- href = "#projects"
66
+ href = "/ #projects"
66
67
className = "text-zinc-400 hover:text-white transition-colors flex items-center gap-2 group"
67
68
>
68
69
< span className = "w-1.5 h-1.5 rounded-full bg-fuchsia-400 opacity-0 group-hover:opacity-100 transition-opacity" />
@@ -71,7 +72,7 @@ export default async function Footer({ lang }: { lang: Locale }) {
71
72
</ li >
72
73
< li >
73
74
< Link
74
- href = "#services"
75
+ href = "/ #services"
75
76
className = "text-zinc-400 hover:text-white transition-colors flex items-center gap-2 group"
76
77
>
77
78
< span className = "w-1.5 h-1.5 rounded-full bg-fuchsia-400 opacity-0 group-hover:opacity-100 transition-opacity" />
@@ -80,7 +81,7 @@ export default async function Footer({ lang }: { lang: Locale }) {
80
81
</ li >
81
82
< li >
82
83
< Link
83
- href = "#about"
84
+ href = "/ #about"
84
85
className = "text-zinc-400 hover:text-white transition-colors flex items-center gap-2 group"
85
86
>
86
87
< span className = "w-1.5 h-1.5 rounded-full bg-fuchsia-400 opacity-0 group-hover:opacity-100 transition-opacity" />
@@ -89,7 +90,7 @@ export default async function Footer({ lang }: { lang: Locale }) {
89
90
</ li >
90
91
< li >
91
92
< Link
92
- href = "#contact"
93
+ href = "/ #contact"
93
94
className = "text-zinc-400 hover:text-white transition-colors flex items-center gap-2 group"
94
95
>
95
96
< span className = "w-1.5 h-1.5 rounded-full bg-fuchsia-400 opacity-0 group-hover:opacity-100 transition-opacity" />
@@ -119,18 +120,18 @@ export default async function Footer({ lang }: { lang: Locale }) {
119
120
{ t ( "ghostbyte_all_rights_reserved" ) }
120
121
</ p >
121
122
< div className = "flex gap-6" >
122
- < Link
123
+ < IntlLink
123
124
href = "/privacy-policy"
124
125
className = "text-sm text-gray-400 hover:text-fuchsia-400 transition-colors"
125
126
>
126
127
{ t ( "privacy_policy" ) }
127
- </ Link >
128
- < Link
128
+ </ IntlLink >
129
+ < IntlLink
129
130
href = "/imprint"
130
131
className = "text-sm text-gray-400 hover:text-fuchsia-400 transition-colors"
131
132
>
132
133
{ t ( "imprint" ) }
133
- </ Link >
134
+ </ IntlLink >
134
135
</ div >
135
136
</ div >
136
137
</ div >
0 commit comments