하단 문구 수정

develop
jwkim 2026-07-22 11:51:57 +09:00
parent bbad63ee92
commit 4a7719895e
6 changed files with 23 additions and 7 deletions

View File

@ -129,7 +129,7 @@ export default function Comments({
<div className="mt-3 space-y-2">
{nickname && (
<p className="flex items-center gap-1.5 text-[12px] font-bold text-white/45">
{t.commentAs}{" "}
{/^(KBO|MLB)_/.test(matchId) ? "⚾" : "⚽"} {t.commentAs}{" "}
<span className="text-[var(--green)]">{nickname}</span>
<button
type="button"

View File

@ -1,14 +1,22 @@
import { type Lang, dict } from "@/lib/i18n";
export default function Footer({ lang = "ko" }: { lang?: Lang }) {
// league 를 주면 비제휴 고지를 리그에 맞게 표시 (야구 = KBO/MLB, 기본 = 월드컵)
export default function Footer({
lang = "ko",
league = "wc",
}: {
lang?: Lang;
league?: string;
}) {
const t = dict(lang);
const isBaseball = league === "kbo" || league === "mlb";
return (
<footer className="mt-6 text-center">
<p className="text-[10.5px] font-semibold text-white/75">
{t.footerNotOfficial}
{isBaseball ? t.footerNotOfficialBB : t.footerNotOfficial}
</p>
<p className="mt-1 text-[10.5px] leading-relaxed text-white/60">
{t.footerDisc1}
{isBaseball ? t.footerDisc1BB : t.footerDisc1}
</p>
<div className="mx-auto mt-3 max-w-[400px] space-y-1 text-[9.5px] leading-relaxed text-white/55">

View File

@ -116,6 +116,8 @@ type Dict = {
group: (g: string) => string;
footerNotOfficial: string;
footerDisc1: string;
footerNotOfficialBB: string; // 야구(KBO/MLB)용 비제휴 고지
footerDisc1BB: string;
footerDisc2: string;
footerDisc3: string;
hook: (a: string, b: string) => string;
@ -226,6 +228,9 @@ export const DICT: Record<Lang, Dict> = {
footerNotOfficial:
"Independent AI prediction game — not affiliated with, endorsed by, or sponsored by FIFA or the official World Cup.",
footerDisc1: "FIFA 및 공식 월드컵과 무관한 독립 AI 예측 게임입니다 (제휴·후원·운영 아님).",
footerNotOfficialBB:
"Independent AI prediction game — not affiliated with, endorsed by, or sponsored by KBO, MLB, or any club.",
footerDisc1BB: "KBO·MLB 리그 및 각 구단과 무관한 독립 AI 예측 게임입니다 (제휴·후원·운영 아님).",
footerDisc2: "스포츠 분석·엔터테인먼트 목적의 예측 게임이며 베팅·도박을 권유하지 않습니다. AI 예측은 실제 결과를 보장하지 않습니다.",
footerDisc3: "100만 원 이벤트는 무료 참여형 챌린지입니다. 지급·동점 처리 조건은 별도 약관에 따릅니다. 이메일은 결과·이벤트 알림 목적으로만 사용됩니다.",
hook: (a, b) => `${a} vs ${b}, AI의 선택은 갈렸다`,
@ -331,6 +336,9 @@ export const DICT: Record<Lang, Dict> = {
footerNotOfficial:
"Independent AI prediction game — not affiliated with, endorsed by, or sponsored by FIFA or the official World Cup.",
footerDisc1: "A fan-run prediction game using public match schedules; all picks are independent.",
footerNotOfficialBB:
"Independent AI prediction game — not affiliated with, endorsed by, or sponsored by KBO, MLB, or any club.",
footerDisc1BB: "A fan-run prediction game using public match schedules; all picks are independent.",
footerDisc2: "A sports-analysis & entertainment prediction game. No betting or gambling. AI predictions do not guarantee real outcomes.",
footerDisc3: "The ₩1,000,000 event is a free-to-enter challenge. Payout & tie-break terms follow separate rules. Email is used only for result & event alerts.",
hook: (a, b) => `AI is split on ${a} vs ${b}`,

View File

@ -53,7 +53,7 @@ export default function Dashboard() {
{matches && <ScheduleBoard matches={matches} lang={lang} league={league} />}
<Ado2Ad lang={lang} />
<Footer lang={lang} />
<Footer lang={lang} league={league} />
</main>
);
}

View File

@ -23,7 +23,7 @@ export default function Leaderboard() {
{/* 전체 페이지: 펼친 상태(폴딩 토글 숨김) */}
<RankingBoard lang={lang} defaultOpen league={league} />
</section>
<Footer lang={lang} />
<Footer lang={lang} league={league} />
</main>
);
}

View File

@ -119,7 +119,7 @@ export default function MatchDetail() {
<span aria-hidden></span>
</Link>
<Footer lang={lang} />
<Footer lang={lang} league={match.league} />
</main>
);
}