import React from 'react'; import { Box } from './primitives/Box'; import { Stack } from './primitives/Stack'; import { Text } from './Text'; import { Heading } from './Heading'; import { Avatar } from './Avatar'; import { Badge } from './Badge'; import { Trophy, Flag, Users, Star } from 'lucide-react'; import { Icon } from './Icon'; interface DashboardHeroProps { driverName: string; avatarUrl?: string | null; rating: number; rank: number; totalRaces: number; winRate: number; className?: string; } export function DashboardHero({ driverName, avatarUrl, rating, rank, totalRaces, winRate, className = '', }: DashboardHeroProps) { return ( {/* Background Glow */} {/* Avatar Section */} {/* Info Section */} {driverName} Rating {rating} Rank #{rank} Starts {totalRaces} {winRate}% Win Rate Pro License Team Redline {/* Quick Stats */} 12 Podiums 4 Wins ); }