feat: add reports section to admin dashboard

- Introduced a new "Signalements" card with navigation to `/admin/reports`.
- Added `Flag` icon for the reports section.
This commit is contained in:
Mathis HERRIOT
2026-01-29 13:52:16 +01:00
parent 48db40b3d4
commit 4a66676fcb

View File

@@ -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 (