mirror of
https://github.com/LucasVbr/meeting-app.git
synced 2026-05-13 17:21:53 +00:00
Merge branch 'dev' of https://github.com/LucasVbr/projet-web4 into dev
This commit is contained in:
@@ -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"} />
|
||||||
|
|||||||
@@ -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(),
|
||||||
|
|||||||
Reference in New Issue
Block a user