From d5d1e272dca7c3e232c51dc5801a7fe492aaf567 Mon Sep 17 00:00:00 2001 From: bender Date: Thu, 7 May 2026 14:33:03 +0000 Subject: [PATCH] Add src/app/dashboard/page.tsx --- src/app/dashboard/page.tsx | 57 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 57 insertions(+) create mode 100644 src/app/dashboard/page.tsx diff --git a/src/app/dashboard/page.tsx b/src/app/dashboard/page.tsx new file mode 100644 index 0000000..28e8c7c --- /dev/null +++ b/src/app/dashboard/page.tsx @@ -0,0 +1,57 @@ +"use client"; + +import { useState } from "react"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleApple'; +import { CheckCircle, Clock, AlertCircle } from "lucide-react"; + +export default function DashboardPage() { + const [quotes, setQuotes] = useState([ + { id: "Q001", client: "Entreprise A", service: "Web Design", status: "En attente" }, + { id: "Q002", client: "Entreprise B", service: "Stratégie SEO", status: "En cours" }, + { id: "Q003", client: "Entreprise C", service: "Avis Google", status: "Terminé" }, + ]); + + const updateStatus = (id: string, newStatus: string) => { + setQuotes(quotes.map(q => q.id === id ? { ...q, status: newStatus } : q)); + }; + + return ( + + +
+

Gestion des Devis

+
+ {quotes.map((quote) => ( +
+
+

{quote.client}

+

{quote.service} • ID: {quote.id}

+
+
+ + {quote.status} + + +
+
+ ))} +
+
+
+ ); +} \ No newline at end of file