From ad5bbec82e12a1e05ffdabd2876c47b62f4270db Mon Sep 17 00:00:00 2001 From: jwkim Date: Wed, 22 Jul 2026 16:06:36 +0900 Subject: [PATCH] =?UTF-8?q?=EC=95=BC=EA=B5=AC=20=EB=A6=AC=EA=B7=B8=20?= =?UTF-8?q?=EB=9E=AD=ED=82=B9=20UI=20=EB=B9=84=EB=85=B8=EC=B6=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Arena.tsx | 4 ++-- frontend/src/pages/Leaderboard.tsx | 28 ++++++++++++++++++++-------- 2 files changed, 22 insertions(+), 10 deletions(-) diff --git a/frontend/src/components/Arena.tsx b/frontend/src/components/Arena.tsx index 201adf5..5dfef70 100644 --- a/frontend/src/components/Arena.tsx +++ b/frontend/src/components/Arena.tsx @@ -566,8 +566,8 @@ export default function Arena({ )} - {/* ===== 누적 랭킹 TOP 10 (골드 카드 위 · 폴딩) — 현재 리그 기준 집계 ===== */} - + {/* ===== 누적 랭킹 TOP 10 (골드 카드 위 · 폴딩) — 야구(KBO/MLB)는 임시 비노출(운영 방침 미확정) ===== */} + {!isBaseball && } {/* ===== 골드 상금 (003) — 야구(KBO/MLB)는 임시 비노출 ===== */} {!isBaseball && ( diff --git a/frontend/src/pages/Leaderboard.tsx b/frontend/src/pages/Leaderboard.tsx index 5a93ea9..47acaf0 100644 --- a/frontend/src/pages/Leaderboard.tsx +++ b/frontend/src/pages/Leaderboard.tsx @@ -9,19 +9,31 @@ import { useLeague } from "@/lib/useLeague"; export default function Leaderboard() { const lang = useLang(); const [league] = useLeague(); + // 야구(KBO/MLB)는 랭킹 운영 방침(상금 등) 미확정 — 임시 비노출 + const isBaseball = league === "kbo" || league === "mlb"; return (
- +
LEADERBOARD
-

- {lang === "en" - ? "Points accumulate each match — the overall #1 wins ₩1,000,000." - : "매 경기 누적 점수로 순위를 매기고, 끝까지 가장 잘 맞힌 한 분께 최종 100만원을 드립니다."} -

- {/* 전체 페이지: 펼친 상태(폴딩 토글 숨김) */} - + {isBaseball ? ( +

+ {lang === "en" + ? "Rankings are being prepared. Check back soon!" + : "랭킹은 준비 중입니다. 조금만 기다려주세요!"} +

+ ) : ( + <> +

+ {lang === "en" + ? "Points accumulate each match — the overall #1 wins ₩1,000,000." + : "매 경기 누적 점수로 순위를 매기고, 끝까지 가장 잘 맞힌 한 분께 최종 100만원을 드립니다."} +

+ {/* 전체 페이지: 펼친 상태(폴딩 토글 숨김) */} + + + )}