'use client'; import { LeagueCard } from '@/components/leagues/LeagueCardWrapper'; import { routes } from '@/lib/routing/RouteConfig'; import { Heading } from '@/ui/Heading'; import { Link } from '@/ui/Link'; import { Panel } from '@/ui/Panel'; import { Box } from '@/ui/Box'; import { CardStack } from '@/ui/CardStack'; interface League { id: string; name: string; description: string; } interface LeagueSummaryPanelProps { leagues: League[]; } /** * LeagueSummaryPanel - Semantic section for featured leagues. */ export function LeagueSummaryPanel({ leagues }: LeagueSummaryPanelProps) { const actions = ( VIEW ALL → ); return ( {leagues.slice(0, 2).map((league) => ( ))} ); }