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:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user