@@ -10,13 +10,15 @@ import "./styles.scss"
1010import "../../colors.scss" ;
1111
1212
13+ const BASE = "/devenir-etudiants/entrants-en-L1-2019" ;
14+
1315const NAV_ITEMS = [
14- { key : "flux" , labelKey : "flux" , to : "/devenir-etudiants/ flux" } ,
15- { key : "repartition" , labelKey : "repartition" , to : "/devenir-etudiants/ repartition" } ,
16- { key : "plus-haut-diplome" , labelKey : "plusHautDiplome" , to : "/devenir-etudiants/ plus-haut-diplome" } ,
17- { key : "croisements" , labelKey : "croisements" , to : "/devenir-etudiants/ croisements" } ,
18- { key : "comparaison-profils" , labelKey : "comparaisonProfils" , to : "/devenir-etudiants/ comparaison-profils" } ,
19- { key : "methodologie" , labelKey : "methodologie" , to : "/devenir-etudiants/ methodologie" } ,
16+ { key : "flux" , labelKey : "flux" , to : ` ${ BASE } / flux` } ,
17+ { key : "repartition" , labelKey : "repartition" , to : ` ${ BASE } / repartition` } ,
18+ { key : "plus-haut-diplome" , labelKey : "plusHautDiplome" , to : ` ${ BASE } / plus-haut-diplome` } ,
19+ { key : "croisements" , labelKey : "croisements" , to : ` ${ BASE } / croisements` } ,
20+ { key : "comparaison-profils" , labelKey : "comparaisonProfils" , to : ` ${ BASE } / comparaison-profils` } ,
21+ { key : "methodologie" , labelKey : "methodologie" , to : ` ${ BASE } / methodologie` } ,
2022] as const ;
2123
2224export default function GlobalLayout ( ) {
@@ -89,7 +91,7 @@ export default function GlobalLayout() {
8991 < main id = "main-content" tabIndex = { - 1 } >
9092 < Outlet />
9193 </ main >
92- < Footer href = "/devenir-etudiants/ flux" title = "#dataESR tableaux de bord" />
94+ < Footer href = { ` ${ BASE } / flux` } title = "#dataESR tableaux de bord" />
9395 </ >
9496 ) ;
9597}
0 commit comments