diff --git a/app/mission-tab/layout.tsx b/app/mission-tab/layout.tsx index 0519ecba..baa7a8d6 100644 --- a/app/mission-tab/layout.tsx +++ b/app/mission-tab/layout.tsx @@ -1 +1,17 @@ - \ No newline at end of file +"use client"; + +import React from "react"; + +export default function MissionTabLayout({ + children, +}: { + children: React.ReactNode; +}) { + return ( +
+
+ {children} +
+
+ ); +} \ No newline at end of file diff --git a/components/main-nav.tsx b/components/main-nav.tsx index 9049ed48..e901c8a4 100644 --- a/components/main-nav.tsx +++ b/components/main-nav.tsx @@ -203,6 +203,12 @@ export function MainNav() { href: '/showcase', requiredRoles: ["expression"], }, + { + title: "Centrale", + icon: Target, + href: '/missions', + requiredRoles: ["entrepreneurship", "admin"], + }, { title: "Equipes", icon: UserCog,