o2o-clinicad-frontend/src/components/Problems.tsx

61 lines
2.4 KiB
TypeScript

import { motion } from 'motion/react';
const problems = [
{
title: "콘텐츠 생산의 한계",
desc: "블로그, SEO, 유튜브, 숏폼 등 지속적 생산이 필요하지만 인력과 비용, 시간 부족으로 제한됩니다."
},
{
title: "영상 콘텐츠 제작 비용",
desc: "영상은 중요하지만 촬영, 편집, 기획 비용이 높습니다. 특히 숏폼 콘텐츠는 지속적인 제작이 어렵습니다.",
highlight: true
},
{
title: "데이터 기반의 마케팅 부족",
desc: "어떤 콘텐츠가 효과적인지, 어떤 키워드가 유입을 만드는지, 어떤 채널이 성과가 좋은지 알기 어렵고, 각 플랫폼들의 데이터들을 한눈에 파악할 수 없습니다."
}
];
export default function Problems() {
return (
<section className="py-24 bg-slate-50 px-6 relative overflow-hidden">
<div className="max-w-6xl mx-auto">
<motion.div
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.6 }}
className="text-center mb-16"
>
<h2 className="text-3xl md:text-5xl font-serif font-bold text-primary-900 mb-4">
Premium Medical Marketing is Hard
</h2>
<p className="text-lg text-slate-600 max-w-2xl mx-auto">
3
</p>
</motion.div>
<div className="grid md:grid-cols-3 gap-6">
{problems.map((problem, idx) => (
<motion.div
key={idx}
initial={{ opacity: 0, y: 20 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.6, delay: idx * 0.1 }}
className="bg-white rounded-2xl p-8 md:p-10 border border-slate-100 shadow-sm hover:shadow-md transition-shadow flex flex-col justify-center"
>
<h3 className={`text-2xl font-bold mb-4 ${problem.highlight ? 'text-transparent bg-clip-text bg-gradient-to-r from-indigo-600 to-purple-600' : 'text-primary-900'}`}>
{problem.title}
</h3>
<p className="text-slate-600 text-base leading-relaxed">
{problem.desc}
</p>
</motion.div>
))}
</div>
</div>
</section>
);
}