From 30178b807c3e4167d96810c77febba73d88c6ace Mon Sep 17 00:00:00 2001 From: Laurian-Dufrechou Date: Mon, 22 May 2023 17:18:45 +0200 Subject: [PATCH 1/2] fix(pieChart labels en francais): labels francais --- src/components/graph/PieChart.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/graph/PieChart.tsx b/src/components/graph/PieChart.tsx index 3f3c02f..142db0a 100644 --- a/src/components/graph/PieChart.tsx +++ b/src/components/graph/PieChart.tsx @@ -41,7 +41,7 @@ const PieChart = () => { // Préparer les données pour le chart const data = { - labels: ["MALE", "FEMALE", "OTHER", "UNKNOWN"], + labels: ["Homme", "Femme", "Autre", "Inconnu"], datasets: [ { data: countGenders(), From 3005257de62195f67a7f4d74da5aa7de67139bc2 Mon Sep 17 00:00:00 2001 From: Laurian-Dufrechou Date: Mon, 22 May 2023 17:23:08 +0200 Subject: [PATCH 2/2] fix(Tableau de bord --> acceuil): Tableau de bord --> acceuil --- src/components/Navbar.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 8e17ae6..7c68a4d 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -21,11 +21,10 @@ export default function Navbar({ variant = "fixed" }: Props) { const MiddleSection = () => { const authenticatedLinks = ( <> - Tableau de bord + Accueil Profil Carte Statistiques - ); @@ -68,7 +67,8 @@ export default function Navbar({ variant = "fixed" }: Props) { backdropFilter={"auto"} backdropBlur={"20px"} px={10} - py={2}> + py={2} + >