import { Users, Bike, DollarSign, TrendingUp, Activity, ArrowUpRight, ArrowDownRight, Clock, Shield, AlertTriangle, CheckCircle, XCircle } from 'lucide-react'; import { kycRequests, bikes, rentals, transactions } from '@/data/mockData'; const stats = [ { label: 'Total Bikers', value: '156', change: '+12%', trend: 'up', icon: Users, color: 'text-blue-600', bg: 'bg-blue-50' }, { label: 'Active Rentals', value: '89', change: '+8%', trend: 'up', icon: Bike, color: 'text-green-600', bg: 'bg-green-50' }, { label: 'Daily Revenue', value: '৳45.6k', change: '+23%', trend: 'up', icon: DollarSign, color: 'text-purple-600', bg: 'bg-purple-50' }, { label: 'Fleet Utilization', value: '78%', change: '-2%', trend: 'down', icon: TrendingUp, color: 'text-amber-600', bg: 'bg-amber-50' }, ]; const pendingKYCs = kycRequests.filter(k => k.status === 'pending'); const activeRentals = rentals.filter(r => r.status === 'active'); export default function AdminDashboard() { return (
Manage fleet, users, and operations
{stat.value}
{stat.label}
| Rental ID | Bike | User | Type | Status | Daily Rate |
|---|---|---|---|---|---|
| {rental.id} | {bike?.model} {bike?.plateNumber} | {rental.userId} | {rental.type} |
|
৳{rental.dailyRate} |
{kyc.userName}
{kyc.phone}
No pending KYC requests
3 bikes overdue maintenance
Action required
5 pending KYC verifications
Review needed
System running smoothly
All services operational