41 lines
1.6 KiB
TypeScript
41 lines
1.6 KiB
TypeScript
/**
|
|
* 최종 CTA (다크). 문의는 진단 요청 버튼이 여는 문의 서식으로 받는다. mailto 링크는 메일 앱이 없으면 동작하지 않아 두지 않는다.
|
|
*/
|
|
import { motion } from 'motion/react';
|
|
|
|
interface DiscoveryCtaProps {
|
|
criteriaCount: number;
|
|
/** CTA 클릭 → 진단 요청(문의 서식) 열기 */
|
|
onStart: () => void;
|
|
}
|
|
|
|
export default function DiscoveryCta({ criteriaCount, onStart }: DiscoveryCtaProps) {
|
|
return (
|
|
<section className="on-dark bg-[#0A1128] px-6 py-24">
|
|
<motion.div
|
|
initial={{ opacity: 0, y: 20 }}
|
|
whileInView={{ opacity: 1, y: 0 }}
|
|
viewport={{ once: true }}
|
|
transition={{ duration: 0.6 }}
|
|
className="max-w-7xl mx-auto flex flex-col items-center text-center"
|
|
>
|
|
<h2 className="font-serif text-3xl md:text-[44px] font-bold leading-tight text-white mb-[18px] break-keep">
|
|
AI가 여러분의 병원을 정확히 읽고 인용할 수 있도록 준비하세요.
|
|
</h2>
|
|
<p className="text-lg leading-[1.7] text-slate-400 mb-10 break-keep">
|
|
진단은 무료입니다. {criteriaCount}개 항목 실측 리포트를 받아보고 결정하세요.
|
|
</p>
|
|
<div className="flex flex-col sm:flex-row items-center gap-3.5">
|
|
<button
|
|
type="button"
|
|
onClick={onStart}
|
|
className="on-light inline-flex items-center h-[52px] px-[30px] bg-white rounded-full text-base font-bold text-primary-900 hover:bg-slate-100 transition-colors"
|
|
>
|
|
AEO, GEO 진단 요청하기
|
|
</button>
|
|
</div>
|
|
</motion.div>
|
|
</section>
|
|
);
|
|
}
|