'use client'; import Card from '../ui/Card'; interface Achievement { id: string; title: string; description: string; icon: string; unlockedAt: string; rarity: 'common' | 'rare' | 'epic' | 'legendary'; } const mockAchievements: Achievement[] = [ { id: '1', title: 'First Victory', description: 'Won your first race', icon: 'π', unlockedAt: '2024-03-15', rarity: 'common' }, { id: '2', title: '10 Podiums', description: 'Achieved 10 podium finishes', icon: 'π₯', unlockedAt: '2024-05-22', rarity: 'rare' }, { id: '3', title: 'Clean Racer', description: 'Completed 25 races with 0 incidents', icon: 'β¨', unlockedAt: '2024-08-10', rarity: 'epic' }, { id: '4', title: 'Comeback King', description: 'Won a race after starting P10 or lower', icon: 'β‘', unlockedAt: '2024-09-03', rarity: 'rare' }, { id: '5', title: 'Perfect Weekend', description: 'Pole, fastest lap, and win in same race', icon: 'π', unlockedAt: '2024-10-17', rarity: 'legendary' }, { id: '6', title: 'Century Club', description: 'Completed 100 races', icon: 'π―', unlockedAt: '2024-11-01', rarity: 'epic' }, ]; const rarityColors = { common: 'border-gray-500 bg-gray-500/10', rare: 'border-blue-400 bg-blue-400/10', epic: 'border-purple-400 bg-purple-400/10', legendary: 'border-warning-amber bg-warning-amber/10' }; export default function CareerHighlights() { return (