From 7548c4fa86d7b4d837864ae61110d0ae7c356fff Mon Sep 17 00:00:00 2001 From: elias couppe Date: Wed, 18 Dec 2024 18:30:39 +0100 Subject: [PATCH 1/2] =?UTF-8?q?fix(header):=20ajout=20entr=C3=A9e=20cartes?= =?UTF-8?q?=20dans=20header?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Main.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/views/Main.vue b/src/views/Main.vue index f3ba8d3..9ace072 100644 --- a/src/views/Main.vue +++ b/src/views/Main.vue @@ -91,6 +91,10 @@ const navItems: DsfrNavigationProps['navItems'] = [ to: `${useBaseUrl()}/catalogue`, text: 'Catalogue', }, + { + to: `${useBaseUrl()}`, + text: 'Cartes', + }, { to: `${useBaseUrl()}/actualites`, text: 'Actualités', From d536705c3f2a315ff2fe03c74650093c548050c3 Mon Sep 17 00:00:00 2001 From: elias couppe Date: Thu, 19 Dec 2024 16:30:55 +0100 Subject: [PATCH 2/2] fix(header): route relative pour cartes --- src/views/Main.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/Main.vue b/src/views/Main.vue index 9ace072..c1d526b 100644 --- a/src/views/Main.vue +++ b/src/views/Main.vue @@ -92,7 +92,7 @@ const navItems: DsfrNavigationProps['navItems'] = [ text: 'Catalogue', }, { - to: `${useBaseUrl()}`, + to: `/`, text: 'Cartes', }, {