야구 리그 랭킹 UI 비노출
parent
c73a9ad9f9
commit
ad5bbec82e
|
|
@ -566,8 +566,8 @@ export default function Arena({
|
||||||
</section>
|
</section>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* ===== 누적 랭킹 TOP 10 (골드 카드 위 · 폴딩) — 현재 리그 기준 집계 ===== */}
|
{/* ===== 누적 랭킹 TOP 10 (골드 카드 위 · 폴딩) — 야구(KBO/MLB)는 임시 비노출(운영 방침 미확정) ===== */}
|
||||||
<RankingBoard lang={lang} league={match.league} />
|
{!isBaseball && <RankingBoard lang={lang} league={match.league} />}
|
||||||
|
|
||||||
{/* ===== 골드 상금 (003) — 야구(KBO/MLB)는 임시 비노출 ===== */}
|
{/* ===== 골드 상금 (003) — 야구(KBO/MLB)는 임시 비노출 ===== */}
|
||||||
{!isBaseball && (
|
{!isBaseball && (
|
||||||
|
|
|
||||||
|
|
@ -9,12 +9,22 @@ import { useLeague } from "@/lib/useLeague";
|
||||||
export default function Leaderboard() {
|
export default function Leaderboard() {
|
||||||
const lang = useLang();
|
const lang = useLang();
|
||||||
const [league] = useLeague();
|
const [league] = useLeague();
|
||||||
|
// 야구(KBO/MLB)는 랭킹 운영 방침(상금 등) 미확정 — 임시 비노출
|
||||||
|
const isBaseball = league === "kbo" || league === "mlb";
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main className="shell">
|
<main className="shell">
|
||||||
<Hero back lang={lang} />
|
<Hero back lang={lang} league={league} />
|
||||||
<section className="mt-8">
|
<section className="mt-8">
|
||||||
<div className="font-impact text-[28px] text-[var(--green)]">LEADERBOARD</div>
|
<div className="font-impact text-[28px] text-[var(--green)]">LEADERBOARD</div>
|
||||||
|
{isBaseball ? (
|
||||||
|
<p className="mt-6 py-10 text-center text-[14px] font-bold text-white/55">
|
||||||
|
{lang === "en"
|
||||||
|
? "Rankings are being prepared. Check back soon!"
|
||||||
|
: "랭킹은 준비 중입니다. 조금만 기다려주세요!"}
|
||||||
|
</p>
|
||||||
|
) : (
|
||||||
|
<>
|
||||||
<p className="mt-2 text-[13px] leading-relaxed text-[var(--ink-muted)]">
|
<p className="mt-2 text-[13px] leading-relaxed text-[var(--ink-muted)]">
|
||||||
{lang === "en"
|
{lang === "en"
|
||||||
? "Points accumulate each match — the overall #1 wins ₩1,000,000."
|
? "Points accumulate each match — the overall #1 wins ₩1,000,000."
|
||||||
|
|
@ -22,6 +32,8 @@ export default function Leaderboard() {
|
||||||
</p>
|
</p>
|
||||||
{/* 전체 페이지: 펼친 상태(폴딩 토글 숨김) */}
|
{/* 전체 페이지: 펼친 상태(폴딩 토글 숨김) */}
|
||||||
<RankingBoard lang={lang} defaultOpen league={league} />
|
<RankingBoard lang={lang} defaultOpen league={league} />
|
||||||
|
</>
|
||||||
|
)}
|
||||||
</section>
|
</section>
|
||||||
<Footer lang={lang} league={league} />
|
<Footer lang={lang} league={league} />
|
||||||
</main>
|
</main>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue