remove: 경기 전용 비주얼 배너(한국-멕시코) 제거

develop
jwkim 2026-06-15 17:29:13 +09:00
parent 65e7c7571c
commit 48885ec80e
1 changed files with 0 additions and 19 deletions

View File

@ -59,13 +59,6 @@ export default function MatchDetail() {
const hook = lang === "en" ? t.hook(aShort, bShort) : match.hookText;
const url = matchUrl(match.matchId);
// 특정 경기 전용 비주얼 배너(코드쌍 → 이미지). 등록된 경기에만 노출.
const codes = new Set([match.teamA.code, match.teamB.code]);
const matchBanner =
codes.has("KOR") && codes.has("MEX")
? "/assets/og/kor_mex.png"
: null;
return (
<main className="shell">
<Hero
@ -88,18 +81,6 @@ export default function MatchDetail() {
<span className="text-[var(--green)]"></span>
</h1>
{/* 경기 전용 비주얼 배너 (한국-멕시코 등 등록된 경기만) */}
{matchBanner && (
<div className="mt-5 overflow-hidden rounded-2xl border border-white/10 shadow-[0_12px_32px_rgba(0,0,0,0.45)]">
<img
src={matchBanner}
alt={`${aShort} vs ${bShort}`}
loading="lazy"
className="block max-h-[440px] w-full object-cover"
/>
</div>
)}
<MatchupHUD match={match} lang={lang} />
<Arena
match={match}