diff --git a/src/app/admin/page.tsx b/src/app/admin/page.tsx index e8e47aa..0c49483 100644 --- a/src/app/admin/page.tsx +++ b/src/app/admin/page.tsx @@ -7,65 +7,53 @@ import FooterBase from '@/components/sections/footer/FooterBase'; import { useState } from 'react'; export default function AdminDashboardPage() { - const [appointments, setAppointments] = useState([ - { id: "1", client: "John Doe", service: "Precision Fade", time: "10:00 AM", status: "Confirmed" }, - { id: "2", client: "Mike Smith", service: "Hot Towel Shave", time: "11:30 AM", status: "Confirmed" }, - ]); - - const handleCancel = (id: string) => { - setAppointments(appointments.filter(app => app.id !== id)); - }; + const [activeTab, setActiveTab] = useState('appointments'); return ( - -
-

Appointment Management

-
- - - - - - - - - - - {appointments.map((app) => ( - - - - - - - ))} - -
ClientServiceTimeActions
{app.client}{app.service}{app.time} - -
+ + +
+

Dashboard: {activeTab.charAt(0).toUpperCase() + activeTab.slice(1)}

+
+
+

Admin management tools for {activeTab} will be implemented here.

+
- + + ); -} \ No newline at end of file +}