feat: 데이터 검증 페이지 + 병원 통합 프로필 데모 + 문서 정리
- /data-validation: Firecrawl API 실제 테스트 결과 시각화 페이지 (viewclinic.com, YouTube, Instagram, 강남언니 크롤링 검증) - /clinic/🆔 김박사넷 스타일 병원 통합 프로필 데모 페이지 (의료진, 통합 평점, 시술 가격, 인증, 온라인 채널 통합) - docs/datasets.md: 전체 데이터셋 정의서 (수집 소스, AI 생성, 의존 관계) - docs/clinic-profile-platform.md: B2C 병원 프로필 플랫폼 기획서 - CLAUDE.md: 프로젝트 가이드 문서 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
922ec8f6bc
commit
c6e18b6a67
6 files changed
+2170
No files matched your search
@@ -10,6 +10,8 @@ import ContentStudioPage from './pages/ContentStudioPage.tsx';
|
||||
import ChannelConnectPage from './pages/ChannelConnectPage.tsx';
|
||||
import DistributionPage from './pages/DistributionPage.tsx';
|
||||
import PerformancePage from './pages/PerformancePage.tsx';
|
||||
import DataValidationPage from './pages/DataValidationPage.tsx';
|
||||
import ClinicProfilePage from './pages/ClinicProfilePage.tsx';
|
||||
import './index.css';
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
@@ -25,6 +27,8 @@ createRoot(document.getElementById('root')!).render(
|
||||
<Route path="channels" element={<ChannelConnectPage />} />
|
||||
<Route path="distribute" element={<DistributionPage />} />
|
||||
<Route path="performance" element={<PerformancePage />} />
|
||||
<Route path="data-validation" element={<DataValidationPage />} />
|
||||
<Route path="clinic/:id" element={<ClinicProfilePage />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
|
||||
@@ -0,0 +1,443 @@
|
||||
import { motion } from 'motion/react';
|
||||
import {
|
||||
YoutubeFilled,
|
||||
InstagramFilled,
|
||||
FacebookFilled,
|
||||
GlobeFilled,
|
||||
} from '../components/icons/FilledIcons';
|
||||
import {
|
||||
MapPin,
|
||||
Phone,
|
||||
Clock,
|
||||
Award,
|
||||
ShieldCheck,
|
||||
Star,
|
||||
ExternalLink,
|
||||
Users,
|
||||
Video,
|
||||
MessageSquare,
|
||||
ChevronRight,
|
||||
Camera,
|
||||
BadgeCheck,
|
||||
Building2,
|
||||
GraduationCap,
|
||||
Stethoscope,
|
||||
Heart,
|
||||
TrendingUp,
|
||||
} from 'lucide-react';
|
||||
|
||||
// ─── 수집 데이터 기반 병원 프로필 (정적 데이터) ───
|
||||
|
||||
const CLINIC = {
|
||||
name: '뷰성형외과의원',
|
||||
nameEn: 'VIEW Plastic Surgery',
|
||||
logo: '/assets/clients/view-clinic/logo-circle.png',
|
||||
brandColor: '#7B2D8E',
|
||||
established: 2005,
|
||||
location: '서울 강남구 봉은사로 107 뷰성형외과 빌딩',
|
||||
nearestStation: '9호선 신논현역 3번 출구 도보 1분',
|
||||
phone: '02-539-1177',
|
||||
hours: [
|
||||
{ day: '월~목', time: '10:00 – 19:00' },
|
||||
{ day: '금요일', time: '10:00 – 21:00' },
|
||||
{ day: '토요일', time: '10:00 – 17:00' },
|
||||
{ day: '일/공휴일', time: '휴진' },
|
||||
],
|
||||
specialties: ['가슴성형', '안면윤곽', '양악', '눈성형', '코성형', '지방흡입', '리프팅', '피부시술', '필러/보톡스'],
|
||||
certifications: [
|
||||
'수술실 CCTV 운영',
|
||||
'전담 마취과 전문의 상주',
|
||||
'입원실 완비',
|
||||
'의료진 실명 공개',
|
||||
'응급 대응 체계',
|
||||
'분야별 공동 진료',
|
||||
'전용 휴식 공간',
|
||||
'시술 후 관리',
|
||||
'야간 진료',
|
||||
'여성 의사 진료',
|
||||
],
|
||||
mediaAppearances: ['렛미인 TV 출연', '보건복지부장관 표창 수상', '안면윤곽 대상 수상', '모티바 사용량 1위'],
|
||||
websites: [
|
||||
{ label: '공식 홈페이지', url: 'viewclinic.com', primary: true },
|
||||
{ label: '영문 사이트', url: 'viewplasticsurgery.com', primary: false },
|
||||
],
|
||||
socialChannels: [
|
||||
{ platform: 'YouTube', handle: '@ViewclinicKR', url: 'youtube.com/@ViewclinicKR', followers: '103K 구독자', videos: '1,064개 영상', icon: YoutubeFilled, color: '#FF0000' },
|
||||
{ platform: 'Instagram KR', handle: '@viewplastic', url: 'instagram.com/viewplastic', followers: '14K 팔로워', videos: '1,409 게시물', icon: InstagramFilled, color: '#E1306C' },
|
||||
{ platform: 'Instagram EN', handle: '@view_plastic_surgery', url: 'instagram.com/view_plastic_surgery', followers: '68.8K 팔로워', videos: '2,524 게시물', icon: InstagramFilled, color: '#E1306C' },
|
||||
{ platform: 'Facebook', handle: 'View Plastic Surgery', url: 'facebook.com/viewclinic', followers: '88K 팔로워', videos: '', icon: FacebookFilled, color: '#1877F2' },
|
||||
{ platform: '카카오톡', handle: '뷰성형외과의원', url: 'pf.kakao.com/_xbtVxjl', followers: '상담 채널', videos: '', icon: MessageSquare as any, color: '#FEE500' },
|
||||
],
|
||||
};
|
||||
|
||||
// ─── 의료진 (강남언니 실제 데이터) ───
|
||||
|
||||
const DOCTORS = [
|
||||
{ name: '최순우', title: '대표원장', specialty: '가슴성형', credentials: '서울대 출신, 의학박사', rating: 9.4, reviews: 1812, featured: true },
|
||||
{ name: '정재현', title: '원장', specialty: '가슴성형', credentials: '성형외과 전문의', rating: 9.6, reviews: 3177, featured: false },
|
||||
{ name: '김정민', title: '원장', specialty: '리프팅 · 눈성형', credentials: '성형외과 전문의', rating: 9.7, reviews: 878, featured: false },
|
||||
{ name: '윤창운', title: '원장', specialty: '안면윤곽 · 양악', credentials: '성형외과 전문의', rating: 9.6, reviews: 764, featured: false },
|
||||
{ name: '조진우', title: '원장', specialty: '리프팅 · 지방 · 눈코', credentials: '성형외과 전문의', rating: 9.6, reviews: 1624, featured: false },
|
||||
{ name: '김도형', title: '원장', specialty: '눈성형 · 코성형', credentials: '성형외과 전문의', rating: 9.7, reviews: 191, featured: false },
|
||||
];
|
||||
|
||||
// ─── 플랫폼별 평점 (집계) ───
|
||||
|
||||
const RATINGS = [
|
||||
{ platform: '강남언니', rating: '9.5', scale: '/10', reviews: '18,961건', color: '#FF6B8A', pct: 95 },
|
||||
{ platform: '네이버 플레이스', rating: '4.6', scale: '/5', reviews: '324건', color: '#03C75A', pct: 92 },
|
||||
{ platform: 'Google Maps', rating: '4.3', scale: '/5', reviews: '187건', color: '#4285F4', pct: 86 },
|
||||
];
|
||||
|
||||
// ─── 시술 가격 (강남언니 실제 데이터) ───
|
||||
|
||||
const PROCEDURES = [
|
||||
{ name: '가슴성형 (보형물)', price: '₩2,650,000~', category: '가슴' },
|
||||
{ name: '모티바 가슴성형', price: '₩11,550,000~', category: '가슴' },
|
||||
{ name: '눈성형 (매몰/절개)', price: '₩440,000~', category: '눈' },
|
||||
{ name: '코성형', price: '₩990,000~', category: '코' },
|
||||
{ name: '안면윤곽', price: '₩3,289,000~', category: '윤곽' },
|
||||
{ name: '지방흡입', price: '₩1,100,000~', category: '바디' },
|
||||
{ name: '실리프팅', price: '₩1,958,000~', category: '리프팅' },
|
||||
{ name: '필러', price: '₩220,000~', category: '피부' },
|
||||
];
|
||||
|
||||
// ─── Component ───
|
||||
|
||||
export default function ClinicProfilePage() {
|
||||
return (
|
||||
<div className="pt-20 min-h-screen bg-slate-50">
|
||||
|
||||
{/* ── Hero / Clinic Header ── */}
|
||||
<div className="bg-[#0A1128] pt-10 pb-16 px-6 relative overflow-hidden">
|
||||
<div className="absolute top-0 right-0 w-[500px] h-[500px] rounded-full bg-[#7B2D8E]/10 blur-[120px]" />
|
||||
<div className="absolute bottom-0 left-0 w-[300px] h-[300px] rounded-full bg-purple-500/5 blur-[100px]" />
|
||||
|
||||
<div className="max-w-5xl mx-auto relative">
|
||||
{/* Breadcrumb */}
|
||||
<div className="flex items-center gap-2 text-xs text-purple-300/60 mb-6">
|
||||
<span>병원 검색</span>
|
||||
<ChevronRight size={12} />
|
||||
<span>강남구</span>
|
||||
<ChevronRight size={12} />
|
||||
<span className="text-purple-200">뷰성형외과</span>
|
||||
</div>
|
||||
|
||||
<div className="flex flex-col md:flex-row items-start gap-6">
|
||||
{/* Logo */}
|
||||
<div className="w-20 h-20 rounded-2xl bg-white/10 backdrop-blur-sm border border-white/20 flex items-center justify-center flex-shrink-0 overflow-hidden">
|
||||
<div className="w-16 h-16 rounded-xl flex items-center justify-center" style={{ backgroundColor: CLINIC.brandColor }}>
|
||||
<span className="text-white font-serif font-bold text-lg">VIEW</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Info */}
|
||||
<div className="flex-1">
|
||||
<div className="flex items-center gap-3 mb-1">
|
||||
<h1 className="font-serif text-2xl md:text-3xl font-bold text-white">{CLINIC.name}</h1>
|
||||
<BadgeCheck size={22} className="text-[#9B8AD4]" />
|
||||
</div>
|
||||
<p className="text-purple-200/60 text-sm mb-4">{CLINIC.nameEn} · 개원 {CLINIC.established}년 · {new Date().getFullYear() - CLINIC.established}년차</p>
|
||||
|
||||
{/* Quick Stats */}
|
||||
<div className="flex flex-wrap gap-3">
|
||||
{[
|
||||
{ icon: Star, label: '강남언니 9.5점', sub: '18,961 리뷰' },
|
||||
{ icon: Users, label: `의료진 ${DOCTORS.length}명`, sub: '성형외과 전문의' },
|
||||
{ icon: Video, label: 'YouTube 103K', sub: '1,064 영상' },
|
||||
].map((stat) => {
|
||||
const Icon = stat.icon;
|
||||
return (
|
||||
<div key={stat.label} className="flex items-center gap-2 px-3 py-2 rounded-xl bg-white/5 border border-white/10">
|
||||
<Icon size={16} className="text-purple-300" />
|
||||
<div>
|
||||
<p className="text-sm font-medium text-white">{stat.label}</p>
|
||||
<p className="text-xs text-purple-300/60">{stat.sub}</p>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="max-w-5xl mx-auto px-6 -mt-6">
|
||||
<div className="space-y-6">
|
||||
|
||||
{/* ── 기본 정보 카드 ── */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
className="bg-white rounded-2xl border border-slate-100 shadow-[3px_4px_12px_rgba(0,0,0,0.06)] p-6"
|
||||
>
|
||||
<h2 className="font-serif text-lg font-bold text-primary-900 mb-4 flex items-center gap-2">
|
||||
<Building2 size={18} className="text-[#6C5CE7]" />
|
||||
기본 정보
|
||||
</h2>
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-4">
|
||||
<div className="space-y-3">
|
||||
<div className="flex items-start gap-3">
|
||||
<MapPin size={16} className="text-slate-400 mt-0.5 flex-shrink-0" />
|
||||
<div>
|
||||
<p className="text-sm font-medium text-primary-900">{CLINIC.location}</p>
|
||||
<p className="text-xs text-slate-400">{CLINIC.nearestStation}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-center gap-3">
|
||||
<Phone size={16} className="text-slate-400 flex-shrink-0" />
|
||||
<p className="text-sm font-medium text-primary-900">{CLINIC.phone}</p>
|
||||
</div>
|
||||
<div className="flex items-start gap-3">
|
||||
<GlobeFilled size={16} className="text-slate-400 flex-shrink-0" />
|
||||
<div className="flex flex-wrap gap-2">
|
||||
{CLINIC.websites.map(w => (
|
||||
<span key={w.url} className={`text-sm ${w.primary ? 'text-[#6C5CE7] font-medium' : 'text-slate-400'}`}>
|
||||
{w.url}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<div className="flex items-start gap-3">
|
||||
<Clock size={16} className="text-slate-400 mt-0.5 flex-shrink-0" />
|
||||
<div className="space-y-1">
|
||||
{CLINIC.hours.map(h => (
|
||||
<div key={h.day} className="flex gap-3 text-sm">
|
||||
<span className="text-slate-400 w-16">{h.day}</span>
|
||||
<span className={`font-medium ${h.time === '휴진' ? 'text-[#D4889A]' : 'text-primary-900'}`}>{h.time}</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
{/* ── 플랫폼별 통합 평점 ── */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
className="bg-white rounded-2xl border border-slate-100 shadow-[3px_4px_12px_rgba(0,0,0,0.06)] p-6"
|
||||
>
|
||||
<h2 className="font-serif text-lg font-bold text-primary-900 mb-4 flex items-center gap-2">
|
||||
<Star size={18} className="text-[#6C5CE7]" />
|
||||
통합 평점
|
||||
</h2>
|
||||
<div className="grid grid-cols-1 md:grid-cols-3 gap-4">
|
||||
{RATINGS.map((r, i) => (
|
||||
<motion.div
|
||||
key={r.platform}
|
||||
initial={{ opacity: 0, y: 10 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: i * 0.1 }}
|
||||
className="rounded-xl border border-slate-100 p-4"
|
||||
>
|
||||
<div className="flex items-center justify-between mb-3">
|
||||
<span className="text-sm text-slate-500">{r.platform}</span>
|
||||
<span className="text-xs text-slate-400">{r.reviews}</span>
|
||||
</div>
|
||||
<div className="flex items-baseline gap-1 mb-3">
|
||||
<span className="text-3xl font-bold text-primary-900">{r.rating}</span>
|
||||
<span className="text-sm text-slate-400">{r.scale}</span>
|
||||
</div>
|
||||
<div className="h-2 bg-slate-100 rounded-full overflow-hidden">
|
||||
<motion.div
|
||||
initial={{ width: 0 }}
|
||||
whileInView={{ width: `${r.pct}%` }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ duration: 0.8, delay: i * 0.1 + 0.2 }}
|
||||
className="h-full rounded-full"
|
||||
style={{ backgroundColor: r.color }}
|
||||
/>
|
||||
</div>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
{/* ── 의료진 ── */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
className="bg-white rounded-2xl border border-slate-100 shadow-[3px_4px_12px_rgba(0,0,0,0.06)] p-6"
|
||||
>
|
||||
<h2 className="font-serif text-lg font-bold text-primary-900 mb-4 flex items-center gap-2">
|
||||
<Stethoscope size={18} className="text-[#6C5CE7]" />
|
||||
의료진 ({DOCTORS.length}명)
|
||||
</h2>
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3">
|
||||
{DOCTORS.map((doc, i) => (
|
||||
<motion.div
|
||||
key={doc.name}
|
||||
initial={{ opacity: 0, y: 10 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: i * 0.06 }}
|
||||
className={`rounded-xl border p-4 ${doc.featured ? 'border-[#D5CDF5] bg-[#F3F0FF]/30' : 'border-slate-100'}`}
|
||||
>
|
||||
<div className="flex items-center gap-3 mb-2">
|
||||
<div className="w-10 h-10 rounded-full bg-slate-100 flex items-center justify-center flex-shrink-0">
|
||||
<GraduationCap size={18} className="text-slate-400" />
|
||||
</div>
|
||||
<div>
|
||||
<div className="flex items-center gap-1.5">
|
||||
<p className="font-semibold text-primary-900">{doc.name}</p>
|
||||
<span className="text-xs text-slate-400">{doc.title}</span>
|
||||
{doc.featured && <span className="text-xs px-1.5 py-0.5 rounded bg-[#6C5CE7] text-white font-medium">대표</span>}
|
||||
</div>
|
||||
<p className="text-xs text-slate-400">{doc.credentials}</p>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-center justify-between mt-3 pt-3 border-t border-slate-100">
|
||||
<span className="text-xs text-slate-400">{doc.specialty}</span>
|
||||
<div className="flex items-center gap-2">
|
||||
<span className="text-sm font-bold text-primary-900">{doc.rating}</span>
|
||||
<span className="text-xs text-slate-400">/ 10</span>
|
||||
<span className="text-xs text-slate-300">·</span>
|
||||
<span className="text-xs text-slate-400">{doc.reviews.toLocaleString()}건</span>
|
||||
</div>
|
||||
</div>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
{/* ── 시술 및 가격 ── */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
className="bg-white rounded-2xl border border-slate-100 shadow-[3px_4px_12px_rgba(0,0,0,0.06)] p-6"
|
||||
>
|
||||
<h2 className="font-serif text-lg font-bold text-primary-900 mb-4 flex items-center gap-2">
|
||||
<Heart size={18} className="text-[#6C5CE7]" />
|
||||
시술 및 가격
|
||||
</h2>
|
||||
<p className="text-xs text-slate-400 mb-4">강남언니 기준 · 실제 가격은 상담 후 결정</p>
|
||||
<div className="grid grid-cols-1 md:grid-cols-2 gap-2">
|
||||
{PROCEDURES.map((proc, i) => (
|
||||
<motion.div
|
||||
key={proc.name}
|
||||
initial={{ opacity: 0, x: -10 }}
|
||||
whileInView={{ opacity: 1, x: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: i * 0.04 }}
|
||||
className="flex items-center justify-between px-4 py-3 rounded-xl hover:bg-slate-50 transition-colors"
|
||||
>
|
||||
<div className="flex items-center gap-3">
|
||||
<span className="text-xs px-2 py-0.5 rounded-full bg-[#F3F0FF] text-[#4A3A7C] font-medium">{proc.category}</span>
|
||||
<span className="text-sm text-primary-900">{proc.name}</span>
|
||||
</div>
|
||||
<span className="text-sm font-bold text-primary-900">{proc.price}</span>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
{/* ── 인증 & 수상 ── */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
className="bg-white rounded-2xl border border-slate-100 shadow-[3px_4px_12px_rgba(0,0,0,0.06)] p-6"
|
||||
>
|
||||
<h2 className="font-serif text-lg font-bold text-primary-900 mb-4 flex items-center gap-2">
|
||||
<ShieldCheck size={18} className="text-[#6C5CE7]" />
|
||||
인증 및 수상
|
||||
</h2>
|
||||
<div className="grid grid-cols-2 md:grid-cols-5 gap-2 mb-6">
|
||||
{CLINIC.certifications.map((cert, i) => (
|
||||
<motion.div
|
||||
key={cert}
|
||||
initial={{ opacity: 0, scale: 0.95 }}
|
||||
whileInView={{ opacity: 1, scale: 1 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: i * 0.03 }}
|
||||
className="flex items-center gap-2 px-3 py-2.5 rounded-xl bg-[#F3F0FF]/50 border border-[#D5CDF5]/50"
|
||||
>
|
||||
<BadgeCheck size={14} className="text-[#9B8AD4] flex-shrink-0" />
|
||||
<span className="text-xs text-[#4A3A7C] font-medium">{cert}</span>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
<div className="flex flex-wrap gap-2">
|
||||
{CLINIC.mediaAppearances.map(m => (
|
||||
<span key={m} className="flex items-center gap-1.5 px-3 py-1.5 rounded-full bg-[#FFF6ED] border border-[#F5E0C5] text-xs text-[#7C5C3A] font-medium">
|
||||
<Award size={12} />
|
||||
{m}
|
||||
</span>
|
||||
))}
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
{/* ── 온라인 채널 ── */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
className="bg-white rounded-2xl border border-slate-100 shadow-[3px_4px_12px_rgba(0,0,0,0.06)] p-6"
|
||||
>
|
||||
<h2 className="font-serif text-lg font-bold text-primary-900 mb-4 flex items-center gap-2">
|
||||
<TrendingUp size={18} className="text-[#6C5CE7]" />
|
||||
온라인 채널
|
||||
</h2>
|
||||
<div className="space-y-3">
|
||||
{CLINIC.socialChannels.map((ch, i) => {
|
||||
const Icon = ch.icon;
|
||||
return (
|
||||
<motion.div
|
||||
key={ch.platform}
|
||||
initial={{ opacity: 0, x: -10 }}
|
||||
whileInView={{ opacity: 1, x: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: i * 0.06 }}
|
||||
className="flex items-center gap-4 px-4 py-3 rounded-xl border border-slate-100 hover:border-slate-200 transition-colors"
|
||||
>
|
||||
<div className="w-10 h-10 rounded-xl flex items-center justify-center flex-shrink-0" style={{ backgroundColor: `${ch.color}12` }}>
|
||||
<Icon size={20} style={{ color: ch.color }} />
|
||||
</div>
|
||||
<div className="flex-1 min-w-0">
|
||||
<div className="flex items-center gap-2">
|
||||
<p className="font-medium text-primary-900 text-sm">{ch.platform}</p>
|
||||
<span className="text-xs text-slate-400">{ch.handle}</span>
|
||||
</div>
|
||||
<p className="text-xs text-slate-400">{ch.url}</p>
|
||||
</div>
|
||||
<div className="text-right flex-shrink-0">
|
||||
<p className="text-sm font-semibold text-primary-900">{ch.followers}</p>
|
||||
{ch.videos && <p className="text-xs text-slate-400">{ch.videos}</p>}
|
||||
</div>
|
||||
<ExternalLink size={14} className="text-slate-300 flex-shrink-0" />
|
||||
</motion.div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
{/* ── 데이터 출처 고지 ── */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0 }}
|
||||
whileInView={{ opacity: 1 }}
|
||||
viewport={{ once: true }}
|
||||
className="rounded-2xl bg-slate-100/50 border border-slate-200/50 p-5 mb-10"
|
||||
>
|
||||
<p className="text-xs text-slate-400 leading-relaxed">
|
||||
<span className="font-semibold text-slate-500">데이터 출처:</span>{' '}
|
||||
본 프로필은 공개된 정보를 자동 수집하여 구성되었습니다.
|
||||
평점 및 리뷰 수는 강남언니, 네이버 플레이스, Google Maps에서 집계하였으며,
|
||||
시술 가격은 강남언니 기준입니다. 의료진 정보는 병원 공식 홈페이지 및 강남언니에서 수집하였습니다.
|
||||
마지막 업데이트: 2026-03-30 · 정보 수정 요청: contact@infinith.io
|
||||
</p>
|
||||
</motion.div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,565 @@
|
||||
import { motion } from 'motion/react';
|
||||
import {
|
||||
GlobeFilled,
|
||||
YoutubeFilled,
|
||||
InstagramFilled,
|
||||
} from '../components/icons/FilledIcons';
|
||||
import {
|
||||
Check,
|
||||
X,
|
||||
Globe,
|
||||
Database,
|
||||
Sparkles,
|
||||
CheckCircle,
|
||||
ArrowRight,
|
||||
AlertTriangle,
|
||||
ShieldCheck,
|
||||
Ban,
|
||||
Server,
|
||||
} from 'lucide-react';
|
||||
import type { ComponentType } from 'react';
|
||||
|
||||
// ─── Types ───
|
||||
|
||||
type SiteStatus = 'success' | 'partial' | 'blocked';
|
||||
|
||||
interface DataPoint {
|
||||
field: string;
|
||||
value: string;
|
||||
collected: boolean;
|
||||
}
|
||||
|
||||
interface SiteResult {
|
||||
name: string;
|
||||
url: string;
|
||||
icon: ComponentType<{ size?: number; className?: string }>;
|
||||
brandColor: string;
|
||||
status: SiteStatus;
|
||||
statusLabel: string;
|
||||
crawlMethod: string;
|
||||
creditsUsed: number;
|
||||
dataPoints: DataPoint[];
|
||||
rawResponse: string;
|
||||
}
|
||||
|
||||
// ─── Firecrawl 실제 테스트 결과 (2026-03-30) ───
|
||||
|
||||
const SITE_RESULTS: SiteResult[] = [
|
||||
{
|
||||
name: 'viewclinic.com',
|
||||
url: 'https://www.viewclinic.com',
|
||||
icon: GlobeFilled,
|
||||
brandColor: '#7B2D8E',
|
||||
status: 'success',
|
||||
statusLabel: '수집 성공',
|
||||
crawlMethod: 'Firecrawl Extract',
|
||||
creditsUsed: 5,
|
||||
dataPoints: [
|
||||
{ field: '병원명 (한)', value: '뷰성형외과', collected: true },
|
||||
{ field: '병원명 (영)', value: 'VIEW PLASTIC SURGERY', collected: true },
|
||||
{ field: '전화번호', value: '02.539.1177', collected: true },
|
||||
{ field: '주소', value: '서울 강남구 봉은사로 107', collected: true },
|
||||
{ field: 'SNS 링크', value: 'KakaoTalk, YouTube 발견', collected: true },
|
||||
{ field: 'Facebook Pixel', value: 'ID: 299151214739571', collected: true },
|
||||
{ field: 'Google Tag Manager', value: 'GTM-52RT6DMK', collected: true },
|
||||
{ field: 'Kakao Pixel', value: 'ID: 5684247168888976904', collected: true },
|
||||
{ field: 'OG 이미지', value: 'thumbnail_230126.jpg', collected: true },
|
||||
{ field: '네이버 사이트 인증', value: '2개 인증 키 확인', collected: true },
|
||||
{ field: '브랜드 컬러', value: '추출 실패 (CSS 파싱 한계)', collected: false },
|
||||
{ field: '인증/수상 목록', value: '추출 실패 (동적 콘텐츠)', collected: false },
|
||||
],
|
||||
rawResponse: `{
|
||||
"success": true,
|
||||
"extract": {
|
||||
"hospitalName": "뷰성형외과",
|
||||
"hospitalNameEn": "VIEW PLASTIC SURGERY",
|
||||
"phone": "02.539.1177",
|
||||
"address": "서울 강남구 봉은사로 107 뷰성형외과 빌딩",
|
||||
"snsLinks": [
|
||||
{ "platform": "KakaoTalk", "url": "pf.kakao.com/_xbtVxjl" },
|
||||
{ "platform": "YouTube", "url": "youtube.com/@ViewclinicKR" }
|
||||
]
|
||||
},
|
||||
"creditsUsed": 5
|
||||
}`,
|
||||
},
|
||||
{
|
||||
name: 'YouTube',
|
||||
url: 'https://www.youtube.com/@ViewclinicKR',
|
||||
icon: YoutubeFilled,
|
||||
brandColor: '#FF0000',
|
||||
status: 'partial',
|
||||
statusLabel: '부분 수집',
|
||||
crawlMethod: 'Firecrawl Extract',
|
||||
creditsUsed: 5,
|
||||
dataPoints: [
|
||||
{ field: '채널명', value: '뷰성형외과 VIEW Plastic Surgery', collected: true },
|
||||
{ field: '채널 설명', value: 'og:description에서 추출', collected: true },
|
||||
{ field: '프로필 이미지', value: 'yt3.googleusercontent.com/...', collected: true },
|
||||
{ field: '채널 키워드', value: '19개 태그 (뷰성형외과, 코성형 등)', collected: true },
|
||||
{ field: '채널 ID', value: 'UCQqqH3Klj2HQSHNNSVug-CQ', collected: true },
|
||||
{ field: '구독자 수', value: 'Not available', collected: false },
|
||||
{ field: '총 영상 수', value: 'Not available', collected: false },
|
||||
{ field: '총 조회수', value: 'Not available', collected: false },
|
||||
{ field: '최근 영상 목록', value: 'JS 렌더링 불가', collected: false },
|
||||
{ field: '업로드 빈도', value: 'JS 렌더링 불가', collected: false },
|
||||
],
|
||||
rawResponse: `{
|
||||
"success": true,
|
||||
"extract": {
|
||||
"channelName": "뷰성형외과 VIEW Plastic Surgery",
|
||||
"subscribers": "Not available",
|
||||
"totalVideos": "Not available",
|
||||
"description": "View Plastic Surgery channel..."
|
||||
},
|
||||
"metadata": {
|
||||
"og:image": "yt3.googleusercontent.com/NPq6T...",
|
||||
"og:video:tag": ["뷰성형외과", "성형", "코성형", ...]
|
||||
},
|
||||
"creditsUsed": 5
|
||||
}`,
|
||||
},
|
||||
{
|
||||
name: 'Instagram',
|
||||
url: 'https://www.instagram.com/viewplastic/',
|
||||
icon: InstagramFilled,
|
||||
brandColor: '#E1306C',
|
||||
status: 'blocked',
|
||||
statusLabel: '공식 차단',
|
||||
crawlMethod: 'Firecrawl (차단됨)',
|
||||
creditsUsed: 0,
|
||||
dataPoints: [
|
||||
{ field: '핸들', value: '@viewplastic', collected: false },
|
||||
{ field: '팔로워 수', value: '수집 불가', collected: false },
|
||||
{ field: '팔로잉 수', value: '수집 불가', collected: false },
|
||||
{ field: '게시물 수', value: '수집 불가', collected: false },
|
||||
{ field: '바이오', value: '수집 불가', collected: false },
|
||||
{ field: '프로필 사진', value: '수집 불가', collected: false },
|
||||
{ field: 'Reels 수', value: '수집 불가', collected: false },
|
||||
{ field: '하이라이트', value: '수집 불가', collected: false },
|
||||
],
|
||||
rawResponse: `{
|
||||
"success": false,
|
||||
"error": "We do not support this site.
|
||||
If you are part of an enterprise,
|
||||
please fill out our intake form."
|
||||
}`,
|
||||
},
|
||||
{
|
||||
name: '강남언니',
|
||||
url: 'https://www.gangnamunni.com/hospitals/189',
|
||||
icon: GlobeFilled,
|
||||
brandColor: '#03C75A',
|
||||
status: 'success',
|
||||
statusLabel: '수집 성공',
|
||||
crawlMethod: 'Firecrawl Extract',
|
||||
creditsUsed: 5,
|
||||
dataPoints: [
|
||||
{ field: '병원명', value: '뷰성형외과의원', collected: true },
|
||||
{ field: '평점', value: '9.5 / 10', collected: true },
|
||||
{ field: '총 리뷰', value: '18,961건', collected: true },
|
||||
{ field: '의료진 수', value: '25명', collected: true },
|
||||
{ field: '대표원장 (최순우)', value: '평점 9.4, 리뷰 1,812건', collected: true },
|
||||
{ field: '원장 (윤창운)', value: '평점 9.6, 리뷰 764건', collected: true },
|
||||
{ field: '원장 (김정민)', value: '평점 9.7, 리뷰 878건', collected: true },
|
||||
{ field: '인증 뱃지', value: '10개 (수술실 CCTV, 마취과 상주 등)', collected: true },
|
||||
{ field: '시술 가격 (가슴성형)', value: '₩2,650,000~', collected: true },
|
||||
{ field: '시술 가격 (눈성형)', value: '₩440,000~', collected: true },
|
||||
{ field: '시술 가격 (코성형)', value: '₩990,000~', collected: true },
|
||||
{ field: '시술 가격 (안면윤곽)', value: '₩3,289,000~', collected: true },
|
||||
],
|
||||
rawResponse: `{
|
||||
"success": true,
|
||||
"extract": {
|
||||
"hospitalName": "뷰성형외과의원",
|
||||
"rating": "9.5",
|
||||
"totalReviews": "18,961",
|
||||
"doctorCount": "25",
|
||||
"doctors": [
|
||||
{ "name": "최순우 대표원장", "rating": "9.4", "reviewCount": "1,812" },
|
||||
{ "name": "윤창운 원장", "rating": "9.6", "reviewCount": "764" },
|
||||
{ "name": "김정민 원장", "rating": "9.7", "reviewCount": "878" }
|
||||
],
|
||||
"certifications": ["수술실 CCTV", "마취과 전문의 상주", ...],
|
||||
"procedures": [
|
||||
{ "name": "가슴성형", "price": "2,650,000원" },
|
||||
{ "name": "눈성형", "price": "440,000원" }
|
||||
]
|
||||
},
|
||||
"creditsUsed": 5
|
||||
}`,
|
||||
},
|
||||
];
|
||||
|
||||
// ─── Process Steps ───
|
||||
|
||||
const CRAWL_STEPS = [
|
||||
{ icon: Globe, label: 'URL 입력', desc: '대상 병원 웹사이트 URL' },
|
||||
{ icon: Server, label: 'Firecrawl 크롤링', desc: '웹사이트 + 리뷰 플랫폼 스크래핑' },
|
||||
{ icon: Database, label: 'API 수집', desc: 'YouTube Data API, Apify' },
|
||||
{ icon: Sparkles, label: 'AI 분석', desc: 'Claude가 진단 + 전략 생성' },
|
||||
{ icon: CheckCircle, label: '리포트 완성', desc: '멀티소스 데이터 기반 리포트' },
|
||||
];
|
||||
|
||||
// ─── Coverage Data ───
|
||||
|
||||
const COVERAGE = [
|
||||
{ method: 'Firecrawl', desc: '웹사이트, 강남언니, SSR 플랫폼', pct: 35, color: '#6C5CE7' },
|
||||
{ method: 'API 연동', desc: 'YouTube Data API, Apify (Instagram/Facebook)', pct: 45, color: '#9B8AD4' },
|
||||
{ method: 'AI 분석', desc: 'Claude — 진단, 전략, 로드맵, KPI 생성', pct: 20, color: '#D4A872' },
|
||||
];
|
||||
|
||||
// ─── Alternatives for blocked data ───
|
||||
|
||||
const ALTERNATIVES = [
|
||||
{ blocked: 'Instagram 프로필 데이터', alt: 'Apify Instagram Scraper', cost: '~₩65,000/월 (Starter)', priority: 'P0' },
|
||||
{ blocked: 'YouTube 구독자/영상 통계', alt: 'YouTube Data API v3', cost: '무료 (일 10K units)', priority: 'P0' },
|
||||
{ blocked: 'Facebook 페이지 데이터', alt: 'Apify Facebook Scraper', cost: 'Apify 포함', priority: 'P1' },
|
||||
{ blocked: 'TikTok 계정 데이터', alt: 'Apify TikTok Scraper', cost: 'Apify 포함', priority: 'P2' },
|
||||
{ blocked: '브랜드 컬러 자동 추출', alt: 'Brandfetch API / Vision API', cost: '~$50/월', priority: 'P2' },
|
||||
];
|
||||
|
||||
// ─── Helpers ───
|
||||
|
||||
const statusConfig: Record<SiteStatus, { bg: string; text: string; border: string; dot: string; label: string }> = {
|
||||
success: { bg: 'bg-[#F3F0FF]', text: 'text-[#4A3A7C]', border: 'border-[#D5CDF5]', dot: 'bg-[#9B8AD4]', label: '수집 성공' },
|
||||
partial: { bg: 'bg-[#FFF6ED]', text: 'text-[#7C5C3A]', border: 'border-[#F5E0C5]', dot: 'bg-[#D4A872]', label: '부분 수집' },
|
||||
blocked: { bg: 'bg-[#FFF0F0]', text: 'text-[#7C3A4B]', border: 'border-[#F5D5DC]', dot: 'bg-[#D4889A]', label: '차단됨' },
|
||||
};
|
||||
|
||||
function successRate(points: DataPoint[]): number {
|
||||
return Math.round((points.filter(p => p.collected).length / points.length) * 100);
|
||||
}
|
||||
|
||||
// ─── Component ───
|
||||
|
||||
export default function DataValidationPage() {
|
||||
return (
|
||||
<div className="pt-20 min-h-screen">
|
||||
{/* ── Header ── */}
|
||||
<div className="bg-[#0A1128] py-14 px-6 relative overflow-hidden">
|
||||
<div className="absolute top-0 right-0 w-[500px] h-[500px] rounded-full bg-[#6C5CE7]/10 blur-[120px]" />
|
||||
<div className="absolute bottom-0 left-0 w-[300px] h-[300px] rounded-full bg-purple-500/5 blur-[100px]" />
|
||||
<div className="max-w-6xl mx-auto relative">
|
||||
<p className="text-xs font-semibold text-purple-300 tracking-widest uppercase mb-3">Data Collection Validation</p>
|
||||
<h1 className="font-serif text-3xl md:text-4xl font-bold text-white mb-3">데이터 수집 검증 리포트</h1>
|
||||
<p className="text-purple-200/70 max-w-xl mb-4">Firecrawl API를 활용한 실제 크롤링 테스트 결과 — 뷰성형외과 대상</p>
|
||||
<div className="flex flex-wrap gap-3 text-sm">
|
||||
<span className="px-3 py-1 rounded-full bg-white/10 text-purple-200">검증일: 2026-03-30</span>
|
||||
<span className="px-3 py-1 rounded-full bg-white/10 text-purple-200">API: Firecrawl v1</span>
|
||||
<span className="px-3 py-1 rounded-full bg-white/10 text-purple-200">총 크레딧 소모: 15 credits</span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div className="max-w-6xl mx-auto px-6 py-10 space-y-12">
|
||||
|
||||
{/* ── Section 1: 수집 프로세스 ── */}
|
||||
<section>
|
||||
<h2 className="font-serif text-2xl font-bold text-primary-900 mb-2">수집 프로세스</h2>
|
||||
<p className="text-slate-500 text-sm mb-6">URL 하나로 시작하는 멀티소스 데이터 수집 파이프라인</p>
|
||||
|
||||
<div className="bg-white rounded-2xl border border-slate-100 shadow-[3px_4px_12px_rgba(0,0,0,0.06)] p-6 md:p-8">
|
||||
<div className="flex flex-col md:flex-row items-start md:items-center gap-4 md:gap-0">
|
||||
{CRAWL_STEPS.map((step, i) => {
|
||||
const Icon = step.icon;
|
||||
return (
|
||||
<motion.div
|
||||
key={step.label}
|
||||
initial={{ opacity: 0, y: 15 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: i * 0.12 }}
|
||||
className="flex items-center gap-3 md:flex-1"
|
||||
>
|
||||
<div className="flex items-center gap-3 flex-1">
|
||||
<div className="w-11 h-11 rounded-xl bg-[#F3F0FF] flex items-center justify-center flex-shrink-0">
|
||||
<Icon size={20} className="text-[#6C5CE7]" />
|
||||
</div>
|
||||
<div className="min-w-0">
|
||||
<p className="text-sm font-semibold text-primary-900 truncate">{step.label}</p>
|
||||
<p className="text-xs text-slate-400 truncate">{step.desc}</p>
|
||||
</div>
|
||||
</div>
|
||||
{i < CRAWL_STEPS.length - 1 && (
|
||||
<ArrowRight size={16} className="text-slate-300 hidden md:block flex-shrink-0 mx-2" />
|
||||
)}
|
||||
</motion.div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── Section 2: 사이트별 테스트 결과 ── */}
|
||||
<section>
|
||||
<h2 className="font-serif text-2xl font-bold text-primary-900 mb-2">사이트별 크롤링 결과</h2>
|
||||
<p className="text-slate-500 text-sm mb-6">Firecrawl Extract API로 4개 사이트 실제 테스트 (2026-03-30 실행)</p>
|
||||
|
||||
<div className="grid grid-cols-1 lg:grid-cols-2 gap-5">
|
||||
{SITE_RESULTS.map((site, i) => {
|
||||
const cfg = statusConfig[site.status];
|
||||
const Icon = site.icon;
|
||||
const rate = successRate(site.dataPoints);
|
||||
|
||||
return (
|
||||
<motion.div
|
||||
key={site.name}
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: i * 0.1 }}
|
||||
className="bg-white rounded-2xl border border-slate-100 shadow-[3px_4px_12px_rgba(0,0,0,0.06)] overflow-hidden"
|
||||
>
|
||||
{/* Card Header */}
|
||||
<div className="p-5 pb-4 flex items-center justify-between">
|
||||
<div className="flex items-center gap-3">
|
||||
<div className="w-10 h-10 rounded-xl flex items-center justify-center" style={{ backgroundColor: `${site.brandColor}12` }}>
|
||||
<Icon size={22} className="opacity-80" />
|
||||
</div>
|
||||
<div>
|
||||
<h3 className="font-semibold text-primary-900">{site.name}</h3>
|
||||
<p className="text-xs text-slate-400">{site.crawlMethod} · {site.creditsUsed} credits</p>
|
||||
</div>
|
||||
</div>
|
||||
<span className={`px-3 py-1 rounded-full text-xs font-semibold ${cfg.bg} ${cfg.text} border ${cfg.border}`}>
|
||||
{site.statusLabel}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
{/* Data Points */}
|
||||
<div className="px-5 pb-2">
|
||||
<div className="space-y-1.5 max-h-[260px] overflow-y-auto pr-1">
|
||||
{site.dataPoints.map(dp => (
|
||||
<div key={dp.field} className="flex items-center gap-2 text-sm">
|
||||
{dp.collected ? (
|
||||
<div className="w-5 h-5 rounded-full bg-[#F3F0FF] flex items-center justify-center flex-shrink-0">
|
||||
<Check size={12} className="text-[#6C5CE7]" />
|
||||
</div>
|
||||
) : (
|
||||
<div className="w-5 h-5 rounded-full bg-[#FFF0F0] flex items-center justify-center flex-shrink-0">
|
||||
<X size={12} className="text-[#D4889A]" />
|
||||
</div>
|
||||
)}
|
||||
<span className="text-slate-500 w-36 flex-shrink-0 truncate">{dp.field}</span>
|
||||
<span className={`truncate ${dp.collected ? 'text-primary-900 font-medium' : 'text-slate-300'}`}>
|
||||
{dp.value}
|
||||
</span>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Progress Bar */}
|
||||
<div className="px-5 pb-4 pt-3">
|
||||
<div className="flex items-center justify-between text-xs mb-1.5">
|
||||
<span className="text-slate-400">수집률</span>
|
||||
<span className={`font-bold ${cfg.text}`}>{rate}%</span>
|
||||
</div>
|
||||
<div className="h-2 bg-slate-100 rounded-full overflow-hidden">
|
||||
<motion.div
|
||||
initial={{ width: 0 }}
|
||||
whileInView={{ width: `${rate}%` }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ duration: 0.8, delay: i * 0.1 + 0.3 }}
|
||||
className="h-full rounded-full"
|
||||
style={{ backgroundColor: site.status === 'blocked' ? '#D4889A' : site.status === 'partial' ? '#D4A872' : '#9B8AD4' }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Raw Response */}
|
||||
<details className="border-t border-slate-100">
|
||||
<summary className="px-5 py-3 text-xs text-slate-400 cursor-pointer hover:text-slate-600 transition-colors">
|
||||
API 응답 원문 보기
|
||||
</summary>
|
||||
<pre className="px-5 pb-4 text-xs text-slate-500 bg-slate-50 overflow-x-auto whitespace-pre-wrap font-mono leading-relaxed">
|
||||
{site.rawResponse}
|
||||
</pre>
|
||||
</details>
|
||||
</motion.div>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── Section 3: 수집 불가 데이터 + 대안 ── */}
|
||||
<section>
|
||||
<h2 className="font-serif text-2xl font-bold text-primary-900 mb-2">차단된 데이터 & 대안 솔루션</h2>
|
||||
<p className="text-slate-500 text-sm mb-6">Firecrawl로 수집 불가한 데이터와 이를 보완하는 도구</p>
|
||||
|
||||
{/* Blocked Reason */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 15 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
className="bg-[#FFF0F0] border border-[#F5D5DC] rounded-2xl p-5 mb-6"
|
||||
>
|
||||
<div className="flex items-start gap-3">
|
||||
<Ban size={20} className="text-[#D4889A] mt-0.5 flex-shrink-0" />
|
||||
<div>
|
||||
<p className="font-semibold text-[#7C3A4B] mb-1">Instagram 공식 차단</p>
|
||||
<p className="text-sm text-[#7C3A4B]/70">
|
||||
Firecrawl이 Instagram을 공식적으로 지원하지 않음 (Meta의 스크래핑 방지 정책).
|
||||
Facebook도 React SPA 구조로 인해 정적 크롤링으로는 데이터 추출 불가.
|
||||
YouTube는 메타데이터만 부분 추출 가능하나, 구독자/영상 통계는 InnerTube API 내부 렌더링으로 접근 불가.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
{/* Alternatives Table */}
|
||||
<div className="bg-white rounded-2xl border border-slate-100 shadow-[3px_4px_12px_rgba(0,0,0,0.06)] overflow-hidden">
|
||||
<div className="grid grid-cols-[1fr_1fr_auto_auto] gap-x-4 px-5 py-3 bg-slate-50 border-b border-slate-100 text-xs font-semibold text-slate-400 uppercase tracking-wider">
|
||||
<span>차단된 데이터</span>
|
||||
<span>대안 솔루션</span>
|
||||
<span>비용</span>
|
||||
<span>우선순위</span>
|
||||
</div>
|
||||
{ALTERNATIVES.map((alt, i) => (
|
||||
<motion.div
|
||||
key={alt.blocked}
|
||||
initial={{ opacity: 0, x: -10 }}
|
||||
whileInView={{ opacity: 1, x: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: i * 0.06 }}
|
||||
className="grid grid-cols-[1fr_1fr_auto_auto] gap-x-4 px-5 py-3.5 border-b border-slate-50 last:border-b-0 items-center text-sm"
|
||||
>
|
||||
<span className="text-slate-600">{alt.blocked}</span>
|
||||
<span className="text-primary-900 font-medium">{alt.alt}</span>
|
||||
<span className="text-slate-400 text-xs whitespace-nowrap">{alt.cost}</span>
|
||||
<span className={`px-2 py-0.5 rounded text-xs font-bold ${
|
||||
alt.priority === 'P0' ? 'bg-[#F3F0FF] text-[#4A3A7C]' :
|
||||
alt.priority === 'P1' ? 'bg-[#FFF6ED] text-[#7C5C3A]' :
|
||||
'bg-slate-100 text-slate-500'
|
||||
}`}>{alt.priority}</span>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* ── Section 4: 전체 커버리지 ── */}
|
||||
<section>
|
||||
<h2 className="font-serif text-2xl font-bold text-primary-900 mb-2">전체 데이터 커버리지</h2>
|
||||
<p className="text-slate-500 text-sm mb-6">3가지 수집 방법 조합으로 100% 분석 데이터 확보</p>
|
||||
|
||||
<div className="bg-white rounded-2xl border border-slate-100 shadow-[3px_4px_12px_rgba(0,0,0,0.06)] p-6 md:p-8 space-y-5">
|
||||
{COVERAGE.map((item, i) => (
|
||||
<motion.div
|
||||
key={item.method}
|
||||
initial={{ opacity: 0, x: -20 }}
|
||||
whileInView={{ opacity: 1, x: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: i * 0.15 }}
|
||||
>
|
||||
<div className="flex items-center justify-between mb-2">
|
||||
<div>
|
||||
<span className="font-semibold text-primary-900">{item.method}</span>
|
||||
<span className="text-sm text-slate-400 ml-2">{item.desc}</span>
|
||||
</div>
|
||||
<span className="text-lg font-bold" style={{ color: item.color }}>{item.pct}%</span>
|
||||
</div>
|
||||
<div className="h-4 bg-slate-100 rounded-full overflow-hidden">
|
||||
<motion.div
|
||||
initial={{ width: 0 }}
|
||||
whileInView={{ width: `${item.pct}%` }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ duration: 1, delay: i * 0.15 + 0.2 }}
|
||||
className="h-full rounded-full"
|
||||
style={{ backgroundColor: item.color }}
|
||||
/>
|
||||
</div>
|
||||
</motion.div>
|
||||
))}
|
||||
|
||||
{/* Stacked Bar */}
|
||||
<div className="pt-4 border-t border-slate-100">
|
||||
<p className="text-xs text-slate-400 mb-2 font-semibold uppercase tracking-wider">Combined Coverage</p>
|
||||
<div className="h-6 rounded-full overflow-hidden flex">
|
||||
{COVERAGE.map(item => (
|
||||
<motion.div
|
||||
key={item.method}
|
||||
initial={{ width: 0 }}
|
||||
whileInView={{ width: `${item.pct}%` }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ duration: 1, delay: 0.5 }}
|
||||
className="h-full flex items-center justify-center text-white text-xs font-bold"
|
||||
style={{ backgroundColor: item.color }}
|
||||
>
|
||||
{item.pct}%
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Summary Insight */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 15 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: 0.3 }}
|
||||
className="mt-6 bg-gradient-to-r from-[#fff3eb] via-[#e4cfff] to-[#f5f9ff] rounded-2xl p-6 md:p-8"
|
||||
>
|
||||
<div className="flex items-start gap-3">
|
||||
<ShieldCheck size={24} className="text-[#6C5CE7] mt-0.5 flex-shrink-0" />
|
||||
<div>
|
||||
<p className="font-serif text-lg font-bold text-primary-900 mb-2">멀티소스 전략으로 100% 분석 가능</p>
|
||||
<p className="text-sm text-slate-600 leading-relaxed">
|
||||
Instagram 차단, YouTube 부분 제한에도 불구하고 <strong>Firecrawl(35%) + API(45%) + AI(20%)</strong> 조합으로
|
||||
리포트에 필요한 모든 데이터를 수집할 수 있습니다.
|
||||
Firecrawl은 웹사이트와 강남언니 같은 SSR 플랫폼에서 강력하며,
|
||||
소셜미디어는 Apify + 각 플랫폼 공식 API로 보완합니다.
|
||||
</p>
|
||||
<div className="flex flex-wrap gap-3 mt-4">
|
||||
<div className="flex items-center gap-2 px-3 py-1.5 rounded-lg bg-white/60 text-xs font-medium text-primary-900">
|
||||
<AlertTriangle size={14} className="text-[#D4A872]" />
|
||||
Firecrawl 단독 커버리지: ~35%
|
||||
</div>
|
||||
<div className="flex items-center gap-2 px-3 py-1.5 rounded-lg bg-white/60 text-xs font-medium text-primary-900">
|
||||
<CheckCircle size={14} className="text-[#6C5CE7]" />
|
||||
P0 도구 조합 시: ~95%
|
||||
</div>
|
||||
<div className="flex items-center gap-2 px-3 py-1.5 rounded-lg bg-white/60 text-xs font-medium text-primary-900">
|
||||
<Sparkles size={14} className="text-[#9B8AD4]" />
|
||||
AI 보강 포함: 100%
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</motion.div>
|
||||
</section>
|
||||
|
||||
{/* ── Section 5: 비용 요약 ── */}
|
||||
<section>
|
||||
<h2 className="font-serif text-2xl font-bold text-primary-900 mb-2">월간 운영 비용 (MVP)</h2>
|
||||
<p className="text-slate-500 text-sm mb-6">P0 도구 기준 월 ~₩141,000으로 전체 파이프라인 운영 가능</p>
|
||||
|
||||
<div className="grid grid-cols-1 md:grid-cols-4 gap-4">
|
||||
{[
|
||||
{ name: 'Firecrawl', cost: '~₩26,000', detail: '$19/mo Growth', role: '웹사이트 + SSR 크롤링' },
|
||||
{ name: 'YouTube API', cost: '무료', detail: '일 10K units', role: 'YouTube 채널/영상 분석' },
|
||||
{ name: 'Apify', cost: '~₩65,000', detail: '$49/mo Starter', role: 'Instagram/Facebook/TikTok' },
|
||||
{ name: 'Claude API', cost: '~₩50,000', detail: 'Usage-based', role: '분석/진단/전략 생성' },
|
||||
].map((item, i) => (
|
||||
<motion.div
|
||||
key={item.name}
|
||||
initial={{ opacity: 0, y: 15 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true }}
|
||||
transition={{ delay: i * 0.08 }}
|
||||
className="bg-white rounded-2xl border border-slate-100 shadow-[3px_4px_12px_rgba(0,0,0,0.06)] p-5 text-center"
|
||||
>
|
||||
<p className="text-xs text-slate-400 mb-1">{item.name}</p>
|
||||
<p className="text-xl font-bold text-primary-900 mb-0.5">{item.cost}</p>
|
||||
<p className="text-xs text-slate-400 mb-3">{item.detail}</p>
|
||||
<p className="text-xs text-[#6C5CE7] font-medium">{item.role}</p>
|
||||
</motion.div>
|
||||
))}
|
||||
</div>
|
||||
</section>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user