diff --git a/app/missions/layout.tsx b/app/missions/layout.tsx index 1c52723d..f97c0c79 100644 --- a/app/missions/layout.tsx +++ b/app/missions/layout.tsx @@ -1,9 +1,6 @@ "use client"; import React from "react"; -import { ScrollArea } from "@/components/ui/scroll-area"; -import { Button } from "@/components/ui/button"; -import { Kanban, Plus } from "lucide-react"; import Link from "next/link"; import { usePathname } from "next/navigation"; @@ -15,33 +12,20 @@ export default function MissionsLayout({ const pathname = usePathname(); return ( -
- {/* Sidebar */} -
- -
- -
- Mes Missions -
- - -
- Nouvelle Mission -
- -
-
+
+ {/* Sidebar - simple with just nav items */} +
+
- {/* Main content */} -
+ {/* Main content - full-width, no padding */} +
{children}
diff --git a/app/missions/page.tsx b/app/missions/page.tsx index 601770a9..ce883876 100644 --- a/app/missions/page.tsx +++ b/app/missions/page.tsx @@ -47,65 +47,74 @@ export default function MissionsPage() { ); return ( -
-
-

Gérez vos missions et opportunités de bénévolat

-
-
- - setSearchTerm(e.target.value)} - /> +
+
+
+

Gérez vos missions et opportunités de bénévolat

+
+
+ + setSearchTerm(e.target.value)} + /> +
+ + +
- - -
-
- -
- {filteredMissions.map(mission => ( -
-
-
- - {mission.category} - - - {mission.duration} - -
- -

{mission.title}

-

Location: {mission.location}

- -
- {mission.skills.map(skill => ( - - {skill} + +
+ {filteredMissions.map((mission, index) => ( +
+
+
+ + {mission.category} - ))} -
- -
- - Créée le {mission.createdAt} - - - - Voir détails + + {mission.duration} - +
+ +
+

{mission.title}

+

Location: {mission.location}

+ +
+ {mission.skills.map(skill => ( + + {skill} + + ))} +
+
+ +
+ + Créée le {mission.createdAt.replace('2023-', '')} + + + + +
-
- ))} + ))} +
);