From a81c7f564419d939879cbbc7986ebd61e840dab9 Mon Sep 17 00:00:00 2001 From: jwkim Date: Wed, 24 Jun 2026 15:18:18 +0900 Subject: [PATCH] =?UTF-8?q?=ED=88=AC=ED=91=9C=20=EC=A0=9C=EC=B6=9C?= =?UTF-8?q?=ED=95=98=EA=B8=B0=20UI=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/Arena.tsx | 143 +++++++++++++++--------------- 1 file changed, 73 insertions(+), 70 deletions(-) diff --git a/frontend/src/components/Arena.tsx b/frontend/src/components/Arena.tsx index 63237e7..d4ade6e 100644 --- a/frontend/src/components/Arena.tsx +++ b/frontend/src/components/Arena.tsx @@ -289,9 +289,12 @@ export default function Arena({ ); })} + + {/* ===== 내 예측 카드 (당신의 선택 + 스코어 + 제출) — AI 예측과 분리 ===== */} +
{/* 당신의 선택 */} -
+
{t.yourPickLabel} @@ -342,6 +345,74 @@ export default function Arena({ )}
+ + {/* 투표 제출 (이메일 + CTA) — '당신의 선택' 카드 안으로 통합 */} + {!finished && !disabled && step === "form" && ( +
+
+ {t.emailGate} +
+ setEmail(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)]" + /> + {recentEmails.length > 0 && ( + + {recentEmails.map((e) => ( + + )} + + {error && ( +

{error}

+ )} + {/* 투표하기 버튼 — 한국-남아공전에서만 양옆에 한국·일본 캐릭터(자동 말풍선) */} +
+ {isKorRsa && ( + + )} + + {isKorRsa && ( + + )} +
+
+ )}
{/* ===== 종료된 경기: 결과 보기 ===== */} @@ -387,74 +458,6 @@ export default function Arena({ )} - {/* ===== 투표 제출 (D5): 이메일 + 단일 CTA를 한 카드로 통합 ===== */} - {!finished && !disabled && step === "form" && ( -
-
- {t.emailGate} -
- setEmail(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)]" - /> - {recentEmails.length > 0 && ( - - {recentEmails.map((e) => ( - - )} - - {error && ( -

{error}

- )} - {/* 투표하기 버튼 — 한국-남아공전에서만 양옆에 한국·일본 캐릭터(탭 시 투표 말풍선) */} -
- {isKorRsa && ( - - )} - - {isKorRsa && ( - - )} -
-
- )} - {/* ===== 제출 완료: 같은 AI + 경기별 공유 (D8) ===== */} {!finished && step === "done" && outcome && (
@@ -688,7 +691,7 @@ function Stepper({ −
- + {value} {label}