diff --git a/app/icon.png b/app/icon.png new file mode 100644 index 0000000..f4431ae Binary files /dev/null and b/app/icon.png differ diff --git a/components/admin/admin-dashboard.tsx b/components/admin/admin-dashboard.tsx index 663498f..661d974 100644 --- a/components/admin/admin-dashboard.tsx +++ b/components/admin/admin-dashboard.tsx @@ -5,7 +5,19 @@ import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { Button } from '@/components/ui/button'; import { Tabs, TabsContent, TabsList, TabsTrigger } from '@/components/ui/tabs'; import { Badge } from '@/components/ui/badge'; -import { Users, Calendar, Settings, BarChart3, Bell, Shield, Clock, MapPin, Activity, LogOut } from 'lucide-react'; +import { + Users, + Calendar, + Settings, + BarChart3, + Bell, + Shield, + Clock, + MapPin, + Activity, + LogOut, + ArrowLeft, +} from 'lucide-react'; import { useRouter } from 'next/navigation'; import { AdminUserManagement } from './AdminUserManagement'; import { AdminAnnouncementManagement } from './AdminAnnouncementManagement'; @@ -79,13 +91,23 @@ export function AdminDashboard() { {/* Header */}
-
+ {/* Desktop Layout */} +

Admin Dashboard

+ Administrator
+ + {/* Mobile Layout */} +
+ {/* Top row */} +
+
+ +

Admin Dashboard

+ + Admin + +
+ +
+ + {/* Bottom row */} +
+ + + +
+
diff --git a/components/dashboard/dashboard-header.tsx b/components/dashboard/dashboard-header.tsx index 759e810..dd0f91e 100644 --- a/components/dashboard/dashboard-header.tsx +++ b/components/dashboard/dashboard-header.tsx @@ -92,7 +92,8 @@ export function DashboardHeader({ user }: DashboardHeaderProps) { return (
-
+ {/* Desktop Layout */} +
@@ -131,6 +132,73 @@ export function DashboardHeader({ user }: DashboardHeaderProps) {
+ + {/* Mobile Layout */} +
+ {/* Top row */} +
+
+ +

+ {appConfig?.clubName || 'TT Booking'} +

+ {user.role === 'admin' && ( + + Admin + + )} +
+
+ setShowAnnouncements(true)} /> + +
+
+ + {/* Bottom row */} +
+ + +
+ {user.role === 'admin' && ( + + )} + + +
+
+
{/* Announcements Modal */}