'use client' import { useQuery, gql } from '@/lib/graphql/hooks' import Link from 'next/link' import { TeamFlag } from '@/components/team-flag' import { LiveBadge } from '@/components/live-badge' import { MatchCard } from '@/components/match-card' const HOME_QUERY = gql` query Home { tournamentStats { totalTournaments totalMatches totalGoals avgGoalsPerGame } liveMatches { id year round group date time isLive scoreFt scoreEt scoreP isQualiPlayoff team1 { name iso2 } team2 { name iso2 } } recentMatches(limit: 9) { id year round group date time isLive isQualiPlayoff scoreFt scoreEt scoreP team1 { name iso2 } team2 { name iso2 } } upcomingMatches(limit: 9) { id year round group date time isLive isQualiPlayoff scoreFt team1 { name iso2 } team2 { name iso2 } } topScorers(year: 2026, limit: 8) { playerName goals penalties ownGoals team { name iso2 } } tournament(year: 2026) { year totalGoals matchesCount avgGoalsPerGame } } ` function SectionHeader({ label }: { label: string }) { return (
USA · Canada · Mexico · 11 June – 19 July 2026 · 48 Teams
View all-time top scorers →