diff --git a/app/calendar/page.tsx b/app/agenda/page.tsx similarity index 100% rename from app/calendar/page.tsx rename to app/agenda/page.tsx diff --git a/app/flow/page.tsx b/app/agilite/page.tsx similarity index 100% rename from app/flow/page.tsx rename to app/agilite/page.tsx diff --git a/app/learn/page.tsx b/app/apprendre/page.tsx similarity index 100% rename from app/learn/page.tsx rename to app/apprendre/page.tsx diff --git a/app/calculation/page.tsx b/app/calcul/page.tsx similarity index 100% rename from app/calculation/page.tsx rename to app/calcul/page.tsx diff --git a/app/drive/page.tsx b/app/dossiers/page.tsx similarity index 100% rename from app/drive/page.tsx rename to app/dossiers/page.tsx diff --git a/app/mediations/page.tsx b/app/mediation/page.tsx similarity index 100% rename from app/mediations/page.tsx rename to app/mediation/page.tsx diff --git a/components/sidebar.tsx b/components/sidebar.tsx index e7420b86..d6abadac 100644 --- a/components/sidebar.tsx +++ b/components/sidebar.tsx @@ -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"], },