- 랜딩 샘플 리포트·AI 답변 예시·문의 서식 예시를 가상 A성형외과로 바꾼다 (discovery_sample, 고정 시드 무작위 판정) - VITE_SITE=discovery 배포는 랜딩·요금·로그인·약관만 연다. 실제 병원 진단 결과와 내부 화면 경로는 홈으로 돌린다 - src/data·src/services 를 부수효과 없는 모듈로 표시해 쓰지 않는 실제 병원 목업이 공개 번들에서 빠지게 한다 - 공개 배포 번들에 GEMINI_API_KEY 를 넣지 않는다 - 헤더 Product·Use Cases 는 공개 배포에서 숨기고, 푸터에 개인정보처리방침·이용약관 페이지를 연결한다 - 기준표 설명의 실제 병원 예시 문구를 일반 예시로 바꾼다 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
77 lines
3.4 KiB
TypeScript
77 lines
3.4 KiB
TypeScript
/**
|
|
* Footer — 전역 하단.
|
|
*
|
|
* 2026-10-01: 연락처(전화·이메일)와 문의하기를 넣었다. 그 전에는 푸터에 연락 수단이
|
|
* 하나도 없었다. 배치는 aio2o.webforai.kr 푸터를 따른다(haewon 지정):
|
|
* 1행 로고 · 저작권/태그라인 · 메뉴 링크 → 구분선 → 연락처 한 줄.
|
|
* 사업자명·주소는 확인된 값이 없어 넣지 않는다 (지어내지 않는다).
|
|
*/
|
|
import { useState } from 'react';
|
|
import { Link } from 'react-router';
|
|
import ContactModal from './ContactModal';
|
|
import {
|
|
CONTACT_EMAIL,
|
|
CONTACT_PHONE,
|
|
CONTACT_PHONE_HREF,
|
|
COMPANY_LEGAL_NAME,
|
|
COMPANY_HQ,
|
|
COMPANY_LAB,
|
|
} from '../lib/contact';
|
|
|
|
export default function Footer() {
|
|
const [contactOpen, setContactOpen] = useState(false);
|
|
|
|
return (
|
|
<footer className="bg-white border-t border-slate-100 py-12 px-6" data-no-print>
|
|
<div className="max-w-7xl mx-auto flex flex-col gap-7">
|
|
{/* 1행 — 로고 · 저작권 · 메뉴 */}
|
|
<div className="flex flex-col md:flex-row items-center justify-between gap-6">
|
|
<Link to="/" className="flex items-center gap-2 shrink-0">
|
|
<span className="font-serif text-3xl font-black tracking-[0.05em] bg-gradient-to-r from-[#4F1DA1] to-[#021341] bg-clip-text text-transparent">INFINITH</span>
|
|
</Link>
|
|
<div className="text-sm text-slate-500 text-center">
|
|
© {new Date().getFullYear()} INFINITH. All rights reserved.
|
|
<br />
|
|
Infinite Marketing for Premium Medical Business & Marketing Agency
|
|
</div>
|
|
<div className="flex items-center gap-6 text-sm font-medium text-slate-600 shrink-0">
|
|
<Link to="/privacy" className="font-bold text-primary-900 hover:opacity-80 transition-opacity">개인정보처리방침</Link>
|
|
<Link to="/terms" className="hover:text-primary-900 transition-colors">이용약관</Link>
|
|
<button
|
|
type="button"
|
|
onClick={() => setContactOpen(true)}
|
|
className="hover:text-primary-900 transition-colors"
|
|
>
|
|
문의하기
|
|
</button>
|
|
</div>
|
|
</div>
|
|
|
|
{/* 구분선 + 사업자 정보 + 연락처. aio2o.webforai.kr 푸터와 같은 내용으로 맞춘다. */}
|
|
<div className="border-t border-slate-100 pt-6 flex flex-col gap-2 text-sm text-slate-500 text-center md:text-left">
|
|
<p className="[word-break:keep-all]">
|
|
<span className="font-semibold text-slate-600">{COMPANY_LEGAL_NAME}</span>
|
|
<span className="mx-2 text-slate-300">·</span>
|
|
{COMPANY_HQ}
|
|
<span className="mx-2 text-slate-300">·</span>
|
|
{COMPANY_LAB}
|
|
</p>
|
|
<p>
|
|
<span className="text-slate-400">전화</span>{' '}
|
|
<a href={CONTACT_PHONE_HREF} className="underline underline-offset-4 decoration-slate-300 hover:text-primary-900 transition-colors">
|
|
{CONTACT_PHONE}
|
|
</a>
|
|
<span className="mx-2 text-slate-300">·</span>
|
|
<span className="text-slate-400">이메일</span>{' '}
|
|
<a href={`mailto:${CONTACT_EMAIL}`} className="underline underline-offset-4 decoration-slate-300 hover:text-primary-900 transition-colors">
|
|
{CONTACT_EMAIL}
|
|
</a>
|
|
</p>
|
|
</div>
|
|
</div>
|
|
|
|
<ContactModal open={contactOpen} onClose={() => setContactOpen(false)} source="footer" />
|
|
</footer>
|
|
);
|
|
}
|