From 4a66676fcb86bad292add93f28e8dab6678353b8 Mon Sep 17 00:00:00 2001 From: Mathis HERRIOT <197931332+0x485254@users.noreply.github.com> Date: Thu, 29 Jan 2026 13:52:16 +0100 Subject: [PATCH] feat: add reports section to admin dashboard - Introduced a new "Signalements" card with navigation to `/admin/reports`. - Added `Flag` icon for the reports section. --- frontend/src/app/(dashboard)/admin/page.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/frontend/src/app/(dashboard)/admin/page.tsx b/frontend/src/app/(dashboard)/admin/page.tsx index 373bdf3..a35f0e0 100644 --- a/frontend/src/app/(dashboard)/admin/page.tsx +++ b/frontend/src/app/(dashboard)/admin/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { AlertCircle, FileText, LayoutGrid, Users } from "lucide-react"; +import { AlertCircle, FileText, Flag, LayoutGrid, Users } from "lucide-react"; import Link from "next/link"; import { useEffect, useState } from "react"; import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; @@ -54,6 +54,13 @@ export default function AdminDashboardPage() { href: "/admin/categories", color: "text-purple-500", }, + { + title: "Signalements", + value: "Voir", + icon: Flag, + href: "/admin/reports", + color: "text-red-500", + }, ]; return (