mirror of
https://github.com/LucasVbr/meeting-app.git
synced 2026-05-16 17:21:54 +00:00
Création de la pages graphiques et des liens pour y acceder
This commit is contained in:
@@ -24,6 +24,8 @@ export default function Navbar({ variant = "fixed" }: Props) {
|
||||
<Link href={"/dashboard"}>Tableau de bord</Link>
|
||||
<Link href={"/profile"}>Profil</Link>
|
||||
<Link href={"/map"}>Carte</Link>
|
||||
<Link href={"/graphique"}>Statistiques</Link>
|
||||
|
||||
</>
|
||||
);
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ import { useRouter } from "next/router";
|
||||
|
||||
import { AiFillMessage } from "react-icons/ai";
|
||||
import { BsFillPersonFill } from "react-icons/bs";
|
||||
import { BsGraphUp } from "react-icons/bs";
|
||||
import { BiLogOut } from "react-icons/bi";
|
||||
import { FaMapMarkedAlt } from "react-icons/fa";
|
||||
|
||||
@@ -71,6 +72,13 @@ export default function LeftPanel(props) {
|
||||
onClickHandler={() => router.push("/profile")}>
|
||||
Profil
|
||||
</LeftPanelButton>
|
||||
|
||||
<LeftPanelButton
|
||||
leftIcon={<BsGraphUp />}
|
||||
onClickHandler={() => router.push("/graphique")}>
|
||||
Statistiques
|
||||
</LeftPanelButton>
|
||||
|
||||
<LeftPanelButton
|
||||
variant={"outline"}
|
||||
leftIcon={<BiLogOut />}
|
||||
|
||||
Reference in New Issue
Block a user