'use client'; import { Icon } from '@/ui/Icon'; import { ProgressBar } from '@/ui/ProgressBar'; import { Stack } from '@/ui/Stack'; import { Surface } from '@/ui/Surface'; import { Text } from '@/ui/Text'; import { Trophy } from 'lucide-react'; interface SeasonProgressWidgetProps { completedRaces: number; totalRaces: number; percentage: number; } export function SeasonProgressWidget({ completedRaces, totalRaces, percentage, }: SeasonProgressWidgetProps) { return ( {/* Header */} Season Progress Race {completedRaces} of {totalRaces} {/* Progress Bar */} {percentage}% Complete {completedRaces}/{totalRaces} Races {/* Visual Indicator */} {percentage >= 100 ? 'Season Complete! 🏆' : percentage >= 50 ? 'Over halfway there! 🚀' : 'Season underway! 🏁'} ); }