"use client" import Link from "next/link" import { Button } from "@/components/ui/button" import { Card, CardDescription, CardHeader, CardTitle } from "@/components/ui/card" import { BarChart3, CheckCircle, Clock, Archive } from "lucide-react" export default function DashboardPage() { // Mock data - would come from backend const stats = [ { title: "Votes Actifs", value: "3", icon: CheckCircle, color: "text-accent", href: "/dashboard/votes/active", }, { title: "À Venir", value: "5", icon: Clock, color: "text-blue-500", href: "/dashboard/votes/upcoming", }, { title: "Votes Passés", value: "12", icon: BarChart3, color: "text-green-500", href: "/dashboard/votes/history", }, { title: "Archives", value: "8", icon: Archive, color: "text-gray-500", href: "/dashboard/votes/archives", }, ] const activeVotes = [ { id: 1, title: "Election Présidentielle 2025", description: "Première manche - Scrutin dimanche", progress: 65, endDate: "6 Nov 2025 à 20:00", }, { id: 2, title: "Référendum : Réforme Constitutionnelle", description: "Consultez la population", progress: 45, endDate: "8 Nov 2025 à 18:00", }, { id: 3, title: "Election Municipale - Île-de-France", description: "Élection locale régionale", progress: 78, endDate: "10 Nov 2025 à 17:00", }, ] return (
Gérez et participez à vos élections en toute sécurité