Files
o2o-triple-pick/frontend/src/components/Footer.tsx
T
JinwooKimandClaude Opus 5 74de57fc1c feat(mls): MLS 리그 추가 — ESPN 비공식 API 연동
- 일정·결과·컨퍼런스 순위·프리뷰(폼/시즌전적/맞대결/머니라인) 수집
- 라이브 카드: 스코어·경기시간·득점/카드·선발 라인업(피치 뷰)·교체 현황
- 문자중계: ESPN commentary 규칙 기반 한글 변환 (미지원 템플릿은 팀명만 한글화)
- MLS 레코드는 야구와 키 구조가 같아 sync_baseball_schedule/settle 재사용
- AI 예측 데이터 블록에 MLS 전용 컨텍스트 추가

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-08-14 13:47:13 +09:00

33 lines
996 B
TypeScript

import { type Lang, dict } from "@/lib/i18n";
// league 를 주면 비제휴 고지를 리그에 맞게 표시 (클럽 리그 = KBO/MLB/MLS, 기본 = 월드컵)
export default function Footer({
lang = "ko",
league = "wc",
}: {
lang?: Lang;
league?: string;
}) {
const t = dict(lang);
const isBaseball = league !== "wc";
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>
);
}