clean sidebar v2
This commit is contained in:
parent
978aae592a
commit
92dcda742c
@ -113,21 +113,27 @@ export function Sidebar({ isOpen, onClose }: SidebarProps) {
|
||||
|
||||
// Base menu items (available for everyone)
|
||||
const baseMenuItems: MenuItem[] = [
|
||||
{
|
||||
title: "Agenda",
|
||||
icon: Calendar,
|
||||
href: "/agenda",
|
||||
iframe: process.env.NEXT_PUBLIC_IFRAME_CALENDAR_URL,
|
||||
},
|
||||
{
|
||||
title: "Courrier",
|
||||
icon: Mail,
|
||||
href: "/courrier",
|
||||
},
|
||||
{
|
||||
title: "Drive",
|
||||
title: "Dossiers",
|
||||
icon: HardDrive,
|
||||
href: "/drive",
|
||||
href: "/dossiers",
|
||||
iframe: process.env.NEXT_PUBLIC_IFRAME_DRIVE_URL,
|
||||
},
|
||||
{
|
||||
title: "Learn",
|
||||
title: "Apprendre",
|
||||
icon: GraduationCap,
|
||||
href: "/learn",
|
||||
href: "/apprendre",
|
||||
iframe: process.env.NEXT_PUBLIC_IFRAME_LEARN_URL,
|
||||
},
|
||||
{
|
||||
@ -137,29 +143,23 @@ export function Sidebar({ isOpen, onClose }: SidebarProps) {
|
||||
iframe: process.env.NEXT_PUBLIC_IFRAME_PAROLE_URL,
|
||||
},
|
||||
{
|
||||
title: "MissionsBoard",
|
||||
title: "Missions",
|
||||
icon: Kanban,
|
||||
href: "/missions-board",
|
||||
href: "/missions",
|
||||
iframe: process.env.NEXT_PUBLIC_IFRAME_MISSIONSBOARD_URL,
|
||||
},
|
||||
{
|
||||
title: "Chapter",
|
||||
title: "Chapitre",
|
||||
icon: FileText,
|
||||
href: "/chapter",
|
||||
href: "/chapitre",
|
||||
iframe: process.env.NEXT_PUBLIC_IFRAME_CHAPTER_URL,
|
||||
},
|
||||
{
|
||||
title: "Agility",
|
||||
title: "Agilité",
|
||||
icon: Share2,
|
||||
href: "/flow",
|
||||
href: "/agilite",
|
||||
iframe: process.env.NEXT_PUBLIC_IFRAME_AGILITY_URL,
|
||||
},
|
||||
{
|
||||
title: "Calendrier",
|
||||
icon: Calendar,
|
||||
href: "/calendar",
|
||||
iframe: process.env.NEXT_PUBLIC_IFRAME_CALENDAR_URL,
|
||||
},
|
||||
];
|
||||
|
||||
// Role-specific menu items
|
||||
@ -179,16 +179,16 @@ export function Sidebar({ isOpen, onClose }: SidebarProps) {
|
||||
requiredRole: ["Coding", "DataIntelligence"],
|
||||
},
|
||||
{
|
||||
title: "Calculation",
|
||||
title: "Calcul",
|
||||
icon: Calculator,
|
||||
href: "/calculation",
|
||||
href: "/calcul",
|
||||
iframe: process.env.NEXT_PUBLIC_IFRAME_CALCULATION_URL,
|
||||
requiredRole: "DataIntelligence",
|
||||
},
|
||||
{
|
||||
title: "Mediations",
|
||||
title: "Médiation",
|
||||
icon: Building2,
|
||||
href: "/crm",
|
||||
href: "/mediation",
|
||||
iframe: process.env.NEXT_PUBLIC_IFRAME_MEDIATIONS_URL,
|
||||
requiredRole: ["Mediation", "Expression"],
|
||||
},
|
||||
|
||||
Loading…
Reference in New Issue
Block a user