feat(dashboard): add dashboard with statistics
- Add dashboard stats API endpoint with key metrics - Add stat-card component for displaying metrics - Add occupancy-chart component for court occupancy visualization - Add recent-bookings component for today's bookings list - Add quick-actions component for common admin actions - Update dashboard page with full implementation Stats include: today's bookings, revenue, occupancy rate, active members, pending bookings, and upcoming tournaments. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
4
apps/web/components/dashboard/index.ts
Normal file
4
apps/web/components/dashboard/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
export { StatCard, StatCardSkeleton } from './stat-card';
|
||||
export { OccupancyChart, OccupancyChartSkeleton } from './occupancy-chart';
|
||||
export { RecentBookings, RecentBookingsSkeleton } from './recent-bookings';
|
||||
export { QuickActions } from './quick-actions';
|
||||
Reference in New Issue
Block a user