"use client"; import { useState } from "react"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { Button } from "@/components/ui/button"; import { PlusCircle, Users, FolderKanban, Tags } from "lucide-react"; import Link from "next/link"; export default function DashboardPage() { const [activeTab, setActiveTab] = useState("overview"); // Mock data for the dashboard const stats = [ { title: "Projets", value: "5", description: "Projets actifs", icon: FolderKanban, href: "/projects", }, { title: "Personnes", value: "42", description: "Personnes enregistrées", icon: Users, href: "/persons", }, { title: "Tags", value: "12", description: "Tags disponibles", icon: Tags, href: "/tags", }, ]; // Mock data for recent projects const recentProjects = [ { id: 1, name: "Projet Formation Dev Web", description: "Création de groupes pour la formation développement web", date: "2025-05-15", groups: 4, persons: 16, }, { id: 2, name: "Projet Hackathon", description: "Équipes pour le hackathon annuel", date: "2025-05-10", groups: 8, persons: 32, }, { id: 3, name: "Projet Workshop UX/UI", description: "Groupes pour l'atelier UX/UI", date: "2025-05-05", groups: 5, persons: 20, }, ]; return (
{stat.description}
{project.name}
{project.description}
Les graphiques d'analytiques seront disponibles prochainement
La génération de rapports sera disponible prochainement