This commit is contained in:
Lucàs
2023-05-22 17:24:58 +02:00
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -21,11 +21,10 @@ export default function Navbar({ variant = "fixed" }: Props) {
const MiddleSection = () => { const MiddleSection = () => {
const authenticatedLinks = ( const authenticatedLinks = (
<> <>
<Link href={"/dashboard"}>Tableau de bord</Link> <Link href={"/dashboard"}>Accueil</Link>
<Link href={"/profile"}>Profil</Link> <Link href={"/profile"}>Profil</Link>
<Link href={"/map"}>Carte</Link> <Link href={"/map"}>Carte</Link>
<Link href={"/graphique"}>Statistiques</Link> <Link href={"/graphique"}>Statistiques</Link>
</> </>
); );
@@ -68,7 +67,8 @@ export default function Navbar({ variant = "fixed" }: Props) {
backdropFilter={"auto"} backdropFilter={"auto"}
backdropBlur={"20px"} backdropBlur={"20px"}
px={10} px={10}
py={2}> py={2}
>
<Flex align={"center"}> <Flex align={"center"}>
<Box flexBasis={"100%"}> <Box flexBasis={"100%"}>
<Image src={"/logo.svg"} h={"3rem"} objectFit={"contain"} /> <Image src={"/logo.svg"} h={"3rem"} objectFit={"contain"} />
+1 -1
View File
@@ -41,7 +41,7 @@ const PieChart = () => {
// Préparer les données pour le chart // Préparer les données pour le chart
const data = { const data = {
labels: ["MALE", "FEMALE", "OTHER", "UNKNOWN"], labels: ["Homme", "Femme", "Autre", "Inconnu"],
datasets: [ datasets: [
{ {
data: countGenders(), data: countGenders(),