o2o-triple-pick/frontend/src/components/Footer.tsx
2026-07-22 11:51:57 +09:00

33 lines
1006 B
TypeScript

import { type Lang, dict } from "@/lib/i18n";
// 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">
{isBaseball ? t.footerNotOfficialBB : t.footerNotOfficial}
</p>
<p className="mt-1 text-[10.5px] leading-relaxed text-white/60">
{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">
<p>{t.footerDisc2}</p>
<p>{t.footerDisc3}</p>
</div>
<div className="mt-3 text-[10px] text-white/70">
© 2026 TriplePick · 운영 AIO2O · @triplepick_ai
</div>
</footer>
);
}