+ className="flex w-full cursor-pointer px-1 items-center md:hover:bg-white md:hover:text-sushi-400 justify-between text-sushi-500 rounded-lg">
Se déconnecter
diff --git a/src/app/ui/SideBar.jsx b/src/app/ui/SideBar.jsx
index 43288a36c41bdccb4c29c447f982b208248791e0..ba45eace93b079bae81c0cc00950bb4f78bf2e04 100644
--- a/src/app/ui/SideBar.jsx
+++ b/src/app/ui/SideBar.jsx
@@ -34,20 +34,20 @@ const SideBar = () => {
);
}
const AdminLinks = [
- { label: "Utilisateurs", link: "/user", icon:
, privilege: "user" },
- { label: "Habilitations", link: "/privilege", icon:
, privilege: "privilege" },
- { label: "Rôles", link: "/role", icon:
, privilege: "role" },
- { label: "Projets", link: "/projects", icon:
, privilege: "projects" },
- { label: "Réservation", link: "/reservation", icon:
, privilege: "reservation" },
- { label: "Type de Presence", link: "/planning/type-presence", icon:
, privilege: "planning/type-presence" },
- { label: "Planning", link: "/planning", icon:
, privilege: "planning" },
- { label: "Etage", link: "/etage", icon:
, privilege: "etage" },
- { label: "Zone", link: "/zone", icon:
, privilege: "zone" },
- { label: "Tables", link: "/table", icon:
, privilege: "table" },
- { label: "Places", link: "/place", icon:
, privilege: "place" },
- { label: "Gestion des zones", link: "/assign-zone-project", icon:
, privilege: "assign-zone-project" },
- { label: "Consulter les réservations", link: "/consultation-reservations", icon:
, privilege: "consultation-reservations" },
- { label: "Reporting", link: "/reporting", icon:
, privilege: "reporting" },
+ { label: "Utilisateurs", link: "/user", icon:
, privilege: "user" },
+ { label: "Habilitations", link: "/privilege", icon:
, privilege: "privilege" },
+ { label: "Rôles", link: "/role", icon:
, privilege: "role" },
+ { label: "Projets", link: "/projects", icon:
, privilege: "projects" },
+ { label: "Réservation", link: "/reservation", icon:
, privilege: "reservation" },
+ { label: "Type de Presence", link: "/planning/type-presence", icon:
, privilege: "planning/type-presence" },
+ { label: "Planning", link: "/planning", icon:
, privilege: "planning" },
+ { label: "Etage", link: "/etage", icon:
, privilege: "etage" },
+ { label: "Zone", link: "/zone", icon:
, privilege: "zone" },
+ { label: "Tables", link: "/table", icon:
, privilege: "table" },
+ { label: "Places", link: "/place", icon:
, privilege: "place" },
+ { label: "Gestion des zones", link: "/assign-zone-project", icon:
, privilege: "assign-zone-project" },
+ { label: "Consulter les réservations", link: "/consultation-reservations", icon:
, privilege: "consultation-reservations" },
+ { label: "Reporting", link: "/reporting", icon:
, privilege: "reporting" },
];
console.log('sessionDataSideBar', sessionData)
@@ -58,7 +58,7 @@ const SideBar = () => {
{
label: "Consulter les réservations",
link: "/consultation-reservations",
- icon:
+ icon:
}
]
@@ -67,7 +67,7 @@ const SideBar = () => {
className="flex w-full md:w-1/5 md:max-w-screen max-w-[400px] z-20 fixed top-14 left-0 flex-col border-t border-sushi-100 items-center py-4 notActive h-full overflow-x-hidden bg-white text-chicago-700">
-
-
element.link === pathname)} className="group [&_summary::-webkit-details-marker]:hidden px-3">
+ element.link === pathname)} className="group [&_summary::-webkit-details-marker]:hidden pl-3">
@@ -91,7 +91,7 @@ const SideBar = () => {
-
+
{filteredLinks.map((element, index) => (
))}
@@ -100,7 +100,7 @@ const SideBar = () => {
-
-
element.link === pathname)} className="group [&_summary::-webkit-details-marker]:hidden px-3">
+ element.link === pathname)} className="group [&_summary::-webkit-details-marker]:hidden pl-3">
@@ -123,7 +123,7 @@ const SideBar = () => {
-
+
{ConsultationLinks.map((element, index) => {
return
})}
diff --git a/src/app/ui/SideBarLink.jsx b/src/app/ui/SideBarLink.jsx
index 6ae7e4831b95ea65de04e367a0dbd3c7ff3f7d9d..387cd820afbfe86d8fb8e816d6502f831f46b500 100644
--- a/src/app/ui/SideBarLink.jsx
+++ b/src/app/ui/SideBarLink.jsx
@@ -32,9 +32,9 @@ const SideBarLink = ({ link, label }) => {
name="sidebar-link"
checked={isActive}
readOnly
- className="mr-2 bg-white p-0.5"
+ className="bg-white p-0.5"
/>
- {label}
+ {label}
diff --git a/src/app/ui/SubSideBar.jsx b/src/app/ui/SubSideBar.jsx
new file mode 100644
index 0000000000000000000000000000000000000000..49a3794d7c109b1deb779701b9aef868fd595054
--- /dev/null
+++ b/src/app/ui/SubSideBar.jsx
@@ -0,0 +1,23 @@
+"use client"
+import Link from 'next/link'
+import { usePathname } from 'next/navigation';
+import React from 'react'
+
+const SubSideBar = ({ items }) => {
+ const pathname = usePathname();
+ return (
+
+ )
+}
+
+export default SubSideBar
\ No newline at end of file
diff --git a/src/static/image/svg/edit-bold.svg b/src/static/image/svg/edit-bold.svg
new file mode 100644
index 0000000000000000000000000000000000000000..aa8e6cc26a0805a5c431c65944d9613b119103c4
--- /dev/null
+++ b/src/static/image/svg/edit-bold.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/static/image/svg/search.svg b/src/static/image/svg/search.svg
new file mode 100644
index 0000000000000000000000000000000000000000..4d2ba26385535669f7f9586798a415acf0cf0d8a
--- /dev/null
+++ b/src/static/image/svg/search.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/static/image/svg/trash-bold.svg b/src/static/image/svg/trash-bold.svg
new file mode 100644
index 0000000000000000000000000000000000000000..fa85ed2bc7718ab906d360d8fe598b0eab389267
--- /dev/null
+++ b/src/static/image/svg/trash-bold.svg
@@ -0,0 +1 @@
+