전체일정 스코어 조정, utc 시간 -> kst 변경

This commit is contained in:
HyeongBaeYang committed 2026-06-11 10:48:16 +09:00
1 parent 7185cfbb72
commit 8a4a23b0cb
9 files changed
+71 -35

No files matched your search

+5 -3
View File
@@ -62,11 +62,13 @@ export default function Arena({
const disabled = finished || !match.votingOpen;
const ctaLabel = finished
? t.ctaResult
: match.phase === "scheduled" && !match.votingOpen
? t.ctaOpens(kickoffDisplay(match.opensAt, lang))
: match.phase === "live"
? t.ctaLive
: match.phase === "locked"
? t.ctaLocked
: t.ctaBeat;
: match.phase === "scheduled" && !match.votingOpen
? t.ctaOpens(kickoffDisplay(match.opensAt, lang))
: t.ctaBeat;
const matched = useMemo(() => {
if (!outcome) return [];
+12 -2
View File
@@ -10,7 +10,8 @@ const STROKE = "#94FBE0"; // 일정 텍스트·선택 아웃라인 스트로크
const PHASE_CLS: Record<MatchPhase, string> = {
open: "border-[#94FBE0] text-[#94FBE0]",
scheduled: "border-[var(--line-d)] text-[var(--ink-muted)]",
locked: "border-[var(--line-d)] text-[var(--ink-muted)]",
locked: "border-[var(--line-d)] text-white/45", // 투표 종료 — 비활성 톤
live: "border-[#FF5B5B] text-[#FF5B5B]", // 경기중 — 라이브 강조
finished: "border-white/15 text-white/55",
};
@@ -102,7 +103,16 @@ function MatchCard({ match, lang }: { match: Match; lang: Lang }) {
<TeamFlag team={match.teamA} className="h-6 w-9 shrink-0" />
<span className="truncate text-[15px] font-extrabold">{teamShort(match.teamA, lang)}</span>
</div>
<span className="font-impact text-[18px] italic text-[#94FBE0]">VS</span>
{match.result ? (
// 종료된 경기 — 최종 스코어 (예: 3 : 2)
<span className="whitespace-nowrap font-mono text-[18px] font-extrabold tabular-nums text-white">
{match.result.scoreA}
<span className="px-1.5 text-white/40">:</span>
{match.result.scoreB}
</span>
) : (
<span className="font-impact text-[18px] italic text-[#94FBE0]">VS</span>
)}
<div className="flex items-center justify-end gap-2">
<span className="truncate text-right text-[15px] font-extrabold">{teamShort(match.teamB, lang)}</span>
<TeamFlag team={match.teamB} className="h-6 w-9 shrink-0" />