import Heading from '@/ui/Heading'; import { Trophy, Users } from 'lucide-react'; import Button from '../ui/Button'; interface HeroSectionProps { icon?: React.ElementType; title: string; description: string; stats: Array<{ value: number | string; label: string; color: string; animate?: boolean; }>; ctaLabel?: string; ctaDescription?: string; onCtaClick?: () => void; className?: string; } export function HeroSection({ icon: Icon = Users, title, description, stats, ctaLabel = "View Leaderboard", ctaDescription = "See full driver rankings", onCtaClick, className, }: HeroSectionProps) { return (
{description}
{/* Quick Stats */}{ctaDescription}