import { Card, CardContent } from '@/components/ui/Card'; import Link from 'next/link'; interface HeaderProps { title: string; subtitle: string; stats: { total: number; completed: number; inProgress: number; todo: number; completionRate: number; }; syncing?: boolean; } export function Header({ title, subtitle, stats, syncing = false }: HeaderProps) { return ( {/* Titre tech avec glow */} {title} {subtitle} {syncing && '• Synchronisation...'} {/* Navigation */} Kanban Tags {/* Stats tech dashboard */} ); } interface StatCardProps { label: string; value: number | string; color: 'blue' | 'green' | 'yellow' | 'gray' | 'purple'; } function StatCard({ label, value, color }: StatCardProps) { const textColors = { blue: 'text-cyan-300', green: 'text-emerald-300', yellow: 'text-yellow-300', gray: 'text-slate-300', purple: 'text-purple-300' }; return ( {label} {value} ); }
{subtitle} {syncing && '• Synchronisation...'}