import { Trophy, Plus } from 'lucide-react'; import Heading from '@/components/ui/Heading'; import Button from '@/components/ui/Button'; interface StatItem { value: number; label: string; color: string; animate?: boolean; } interface HeroSectionProps { icon?: React.ElementType; title: string; description: string; stats?: StatItem[]; ctaLabel?: string; ctaDescription?: string; onCtaClick?: () => void; className?: string; } export function HeroSection({ icon: Icon = Trophy, title, description, stats = [], ctaLabel = "Create League", ctaDescription = "Set up your own racing series", onCtaClick, className, }: HeroSectionProps) { return (
{description}
{/* Stats */} {stats.length > 0 && ({ctaDescription}