import { Card, CardContent, CardHeader, CardTitle } from '@/components/ui/card'; import { cn } from '@/lib/utils'; import { CheckCircle2, Circle, Clock, AlertCircle } from 'lucide-react'; const workflowSteps = [ { id: 1, name: 'Application Submission', count: 12, status: 'completed' }, { id: 2, name: 'Field Verification', count: 8, status: 'in_progress' }, { id: 3, name: 'Preliminary Audit', count: 15, status: 'in_progress' }, { id: 4, name: 'Committee Audit', count: 6, status: 'pending' }, { id: 5, name: 'Surveillance Audit', count: 4, status: 'pending' }, { id: 6, name: 'Final Approval', count: 3, status: 'pending' }, { id: 7, name: 'Certification', count: 73, status: 'completed' }, ]; export function WorkflowOverview() { const getStatusIcon = (status: string) => { switch (status) { case 'completed': return ; case 'in_progress': return ; case 'warning': return ; default: return ; } }; return ( Workflow Pipeline {workflowSteps.map((step, index) => ( {getStatusIcon(step.status)} {step.name} {step.count} application{step.count !== 1 ? 's' : ''} {step.count} ))} ); }
{step.name}
{step.count} application{step.count !== 1 ? 's' : ''}