마스코트 한국vs남아공 only -> 전 경기에 반영
This commit is contained in:
1 parent
906896afad
commit
59db1c4e9a
3 files changed
+73
-86
No files matched your search
@@ -15,9 +15,7 @@ export default function MatchupHUD({ match, lang = "ko" }: { match: Match; lang?
|
||||
const right = flip ? match.teamA : match.teamB;
|
||||
const leftScore = flip ? match.result?.scoreB : match.result?.scoreA;
|
||||
const rightScore = flip ? match.result?.scoreA : match.result?.scoreB;
|
||||
// 마스코트(파도타기 등)는 한국-남아공 경기에서만 노출.
|
||||
const codes = [match.teamA.code, match.teamB.code];
|
||||
const isKorRsa = codes.includes("KOR") && codes.includes("RSA");
|
||||
// 마스코트(파도타기 등)는 모든 경기에서 노출.
|
||||
return (
|
||||
<section className="mt-6">
|
||||
{/* 대결 카드 (녹색 글로우 보더) */}
|
||||
@@ -25,12 +23,10 @@ export default function MatchupHUD({ match, lang = "ko" }: { match: Match; lang?
|
||||
className="relative rounded-3xl border-2 border-[var(--green)] bg-[#171b21] p-5"
|
||||
style={{ boxShadow: "0 0 28px rgba(74,255,160,0.35), inset 0 0 24px rgba(74,255,160,0.06)" }}
|
||||
>
|
||||
{/* 박스 오른쪽 상단 파도타기 (응원 5마리) — 한국-남아공전 전용 */}
|
||||
{isKorRsa && (
|
||||
<div className="absolute right-2 top-2 z-10">
|
||||
<WaveStrip />
|
||||
</div>
|
||||
)}
|
||||
{/* 박스 오른쪽 상단 파도타기 (응원 5마리) — 모든 경기 노출 */}
|
||||
<div className="absolute right-2 top-2 z-10">
|
||||
<WaveStrip />
|
||||
</div>
|
||||
|
||||
{/* 헤더: 브랜드 아이콘 + 팀명 + 일시 */}
|
||||
<div className="flex items-center gap-3">
|
||||
|
||||
Reference in new issue
Block a user