하단 문구 수정

This commit is contained in:
JinwooKim committed 2026-07-22 11:51:57 +09:00
1 parent bbad63ee92
commit 4a7719895e
6 files changed
+23 -7

No files matched your search

+11 -3
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">