revert: 카드 썸네일(투표 픽 스코어) 기능 제거 — 16bd01f 상태로 복귀

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
JinwooKimandClaude Opus 4.8 committed 2026-06-23 14:50:17 +09:00
1 parent 198f20a0f6
commit 7325c96f2c
6 files changed
+5 -144

No files matched your search

+2 -9
View File
@@ -151,16 +151,9 @@ export default function Arena({
: `나는 ${me}. AI 셋과 다 다른 선택! 너는? — TriplePick`;
}, [outcome, scoreA, scoreB, matched, aShort, bShort, lang]);
// 공유 URL — 픽 스코어 썸네일은 한국-남아공 경기 전용. 그 경기만 쿼리를 붙인다.
const codes = [match.teamA.code, match.teamB.code];
const isKorRsa = codes.includes("KOR") && codes.includes("RSA");
const pickShareUrl = isKorRsa
? `${shareUrl}?sa=${scoreA}&sb=${scoreB}`
: shareUrl;
const copyLink = async () => {
try {
await navigator.clipboard.writeText(`${shareText}\n${pickShareUrl}`);
await navigator.clipboard.writeText(`${shareText}\n${shareUrl}`);
setCopied(true);
setTimeout(() => setCopied(false), 1800);
} catch {
@@ -173,7 +166,7 @@ export default function Arena({
await navigator.share({
title: `${leftShort} vs ${rightShort} — TriplePick`,
text: shareText,
url: pickShareUrl,
url: shareUrl,
});
} catch {
/* cancelled */