feat: 댓글 익명화 + 전 경기 적용

- 이메일/투표 게이트 제거 → 완전 익명
- 세션 단위 발급(sessionStorage 캐싱) — 탭 닫으면/시크릿이면 새 닉
This commit is contained in:
JinwooKim committed 2026-06-17 14:47:26 +09:00
1 parent 8a67094510
commit b62bedc665
8 files changed
+132 -204

No files matched your search

+2 -7
View File
@@ -10,9 +10,6 @@ import { useLang } from "@/lib/useLang";
import { getMatch, matchUrl, ApiError } from "@/lib/api";
import type { Match } from "@/lib/types";
// 댓글(한마디)을 노출할 경기 — 한국 vs 멕시코 (A조 2차전)
const COMMENTS_MATCH_ID = "A_MEX_KOR_20260619";
// L2. 경기 상세(대결) 페이지
export default function MatchDetail() {
const { matchId = "" } = useParams();
@@ -102,10 +99,8 @@ export default function MatchDetail() {
lang={lang}
/>
{/* 한국–멕시코 경기에만 한마디(댓글) 노출 */}
{match.matchId === COMMENTS_MATCH_ID && (
<Comments matchId={match.matchId} lang={lang} />
)}
{/* 한마디(댓글) — 전 경기 노출 (경기 상태 무관) */}
<Comments matchId={match.matchId} lang={lang} />
{/* 하단 CTA — 전체 일정으로(다른 경기 투표). ADO2 버튼과 동일 사양(퍼플 #A65EFF) */}
<Link