import { Wifi, WifiOff } from 'lucide-react' import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card' import { Badge } from '@/components/ui/badge' interface ProgressDashboardProps { passing: number total: number percentage: number isConnected: boolean } export function ProgressDashboard({ passing, total, percentage, isConnected, }: ProgressDashboardProps) { return ( Progress {isConnected ? ( <> Live ) : ( <> Offline )} {/* Large Percentage */}
{percentage.toFixed(1)} %
{/* Progress Bar */}
{/* Stats */}
{passing} Passing
/
{total} Total
) }