import type { Team } from "@/lib/types"; // 모든 경기에 일반화된 국기 렌더. // KOR = 실제 png 자산, CZE = 인라인 SVG(기존 디자인 유지), 그 외 = 이모지 박스. export default function TeamFlag({ team, className = "", }: { team: Team; className?: string; }) { if (team.code === "KOR") { return ( {team.name} ); } if (team.code === "CZE") { return ( ); } // 그 외 국가 — 이모지 국기 (자산 추가 전 fallback) return ( {team.flag} ); }