@@ -16,11 +16,11 @@ export const Footer: React.FC = () => {
1616 section : t ( 'menu.footer.section.products' , 'Products' ) ,
1717 items : [
1818 {
19- path : ( lang : string ) => href ( '/:lang?/ home' , { lang } ) ,
19+ path : ( lang : string ) => href ( '/home' , { lang } ) ,
2020 name : t ( 'menu.home.name' , 'Home' ) ,
2121 } ,
2222 {
23- path : ( lang : string ) => href ( '/:lang?/ form' , { lang } ) ,
23+ path : ( lang : string ) => href ( '/form' , { lang } ) ,
2424 name : t ( 'menu.form.name' , 'Example Form' ) ,
2525 } ,
2626 ] ,
@@ -29,11 +29,11 @@ export const Footer: React.FC = () => {
2929 section : t ( 'menu.footer.section.company' , 'Company' ) ,
3030 items : [
3131 {
32- path : ( lang : string ) => href ( '/:lang?/ home' , { lang } ) ,
32+ path : ( lang : string ) => href ( '/home' , { lang } ) ,
3333 name : t ( 'menu.home.name' , 'Home' ) ,
3434 } ,
3535 {
36- path : ( lang : string ) => href ( '/:lang?/ form' , { lang } ) ,
36+ path : ( lang : string ) => href ( '/form' , { lang } ) ,
3737 name : t ( 'menu.form.name' , 'Example Form' ) ,
3838 } ,
3939 ] ,
@@ -42,11 +42,11 @@ export const Footer: React.FC = () => {
4242 section : t ( 'menu.footer.section.resources' , 'Resources' ) ,
4343 items : [
4444 {
45- path : ( lang : string ) => href ( '/:lang?/ home' , { lang } ) ,
45+ path : ( lang : string ) => href ( '/home' , { lang } ) ,
4646 name : t ( 'menu.home.name' , 'Home' ) ,
4747 } ,
4848 {
49- path : ( lang : string ) => href ( '/:lang?/ form' , { lang } ) ,
49+ path : ( lang : string ) => href ( '/form' , { lang } ) ,
5050 name : t ( 'menu.form.name' , 'Example Form' ) ,
5151 } ,
5252 ] ,
@@ -111,10 +111,10 @@ export const Footer: React.FC = () => {
111111 } ) }
112112 </ div >
113113 < div className = "flex flex-wrap gap-x-6 gap-y-2" >
114- < Link to = { href ( '/:lang?/ legal' ) } className = "hover:underline" >
114+ < Link to = { href ( '/legal' ) } className = "hover:underline" >
115115 { t ( 'theme.footer.legalLink' , 'Legal information' ) }
116116 </ Link >
117- < Link to = { href ( '/:lang?/ privacy' ) } className = "hover:underline" >
117+ < Link to = { href ( '/privacy' ) } className = "hover:underline" >
118118 { t ( 'theme.footer.privacyLink' , 'Privacy Policy' ) }
119119 </ Link >
120120 </ div >
0 commit comments