From 996d5faaf42793ff8e4d5d462845ab9e01bdb8f3 Mon Sep 17 00:00:00 2001 From: Haewon Kam Date: Thu, 18 Jun 2026 16:47:57 +0900 Subject: [PATCH] Refine ranking placement, visibility, and consistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Move cumulative ranking above the gold ₩1M card (ranking → challenge flow) - Drop redundant "전체 보기" link (inline folding shows full Top 10); /leaderboard route kept for direct access - Make fold toggle purple + match its size to the tab buttons; enlarge title/tab/row text for readability - Match email input & submit button radius to the ranking box (rounded-xl) - Leaderboard full page: top button = "투표로 돌아가기" (history back, home fallback) Co-Authored-By: Claude Opus 4.8 --- app/leaderboard/page.tsx | 6 +++--- components/Arena.tsx | 10 +++++----- components/BackButton.tsx | 27 +++++++++++++++++++++++++++ components/Hero.tsx | 19 +++++++++++++------ components/Leaderboard.tsx | 27 +++++++-------------------- lib/i18n.ts | 3 +++ 6 files changed, 58 insertions(+), 34 deletions(-) create mode 100644 components/BackButton.tsx diff --git a/app/leaderboard/page.tsx b/app/leaderboard/page.tsx index 713c439..744aca7 100644 --- a/app/leaderboard/page.tsx +++ b/app/leaderboard/page.tsx @@ -20,12 +20,12 @@ export default async function LeaderboardPage({ return (
- +

{t.goldDesc}

- {/* 전체 페이지: 펼친 상태(폴딩 토글·전체보기 링크 숨김) */} - + {/* 전체 페이지: 펼친 상태(폴딩 토글 숨김) */} +
); diff --git a/components/Arena.tsx b/components/Arena.tsx index 87f696c..99bf4d0 100644 --- a/components/Arena.tsx +++ b/components/Arena.tsx @@ -340,7 +340,7 @@ export default function Arena({ value={email} onChange={(e) => onEmailChange(e.target.value)} placeholder={t.emailPh} - className="w-full rounded-2xl border border-[var(--share)] bg-[#0f1217] px-4 py-3 text-[16px] text-white shadow-[0_0_0_2px_rgba(166,94,255,0.12)] outline-none focus:shadow-[0_0_0_2px_rgba(166,94,255,0.3)]" + className="w-full rounded-xl border border-[var(--share)] bg-[#0f1217] px-4 py-3 text-[16px] text-white shadow-[0_0_0_2px_rgba(166,94,255,0.12)] outline-none focus:shadow-[0_0_0_2px_rgba(166,94,255,0.3)]" />