feat: AI Discovery 랜딩 /discovery 구현 (시안 ai_discovery_landing.html 기준)

- 신규 라우트 /discovery → DiscoveryLandingPage, 기존 /discovery/:id 리포트와 공존
- 섹션 9종: Hero(ABMR 루프 + AI 답변 목업) / Why Now / How It Works / Sample Report / 8주 로드맵 / 정직성 스트립 / 최종 CTA
- ABMR 루프는 Solution.tsx 다이어그램 구조 복제, AGDP → ABMR 워딩 교체
- 점수·등급·카테고리 %·항목 수 전부 scoreDiscovery 계산값 파생, JSX 수치 하드코딩 없음
  (nextGradeTarget·scorePctColor 헬퍼를 discoveryScore에 추가)
- ScoreRing에 valueClassName·subLabel 옵션 prop 추가 (하위 호환)
- AI 답변 목업 "AEO / GEO 구축 후 목표 상태 예시" 라벨 유지, 연락처 o2oteam@o2o.kr 단일
- 시안 HTML·핸드오버 문서·POC 덱 산출물 포함

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01WgWoJZAvvzMxTpWeenZSia
This commit is contained in:
Haewon KamandClaude Fable 5 committed 2026-08-31 16:17:25 +09:00
1 parent 85d72e4cfb
commit 18740ca800
21 files changed
+1580 -2

No files matched your search

+112
View File
@@ -0,0 +1,112 @@
/**
* ABMR 루프 카드 (다크) — 히어로 좌측.
* Solution.tsx의 원형 루프 다이어그램 구조를 복제하고 워딩만 AGDP → ABMR로 교체.
* 점수·등급 칩은 discoveryScore 계산값에서만 받는다 (하드코딩 금지).
*/
import { motion } from 'motion/react';
import type { OverallScore } from '../../types/discovery';
const NODES = [
{ letter: 'A', label: 'Audit', pos: 'top-0 left-1/2 -translate-x-1/2 -translate-y-1/2' },
{ letter: 'B', label: 'Build', pos: 'top-1/2 right-0 translate-x-1/2 -translate-y-1/2' },
{ letter: 'M', label: 'Measure', pos: 'bottom-0 left-1/2 -translate-x-1/2 translate-y-1/2' },
{ letter: 'R', label: 'Refine', pos: 'top-1/2 left-0 -translate-x-1/2 -translate-y-1/2' },
];
interface AbmrLoopProps {
overall: OverallScore;
/** 다음 등급 목표 (A등급이면 null) */
target: { score: number; grade: OverallScore['grade'] } | null;
}
export default function AbmrLoop({ overall, target }: AbmrLoopProps) {
const chips = [
...(target
? [`점수 ${overall.score} → ${target.score}+`, `등급 ${overall.grade} → ${target.grade}`]
: [`점수 ${overall.score} 유지 검증`, `등급 ${overall.grade} 유지 검증`]),
'언급률 상승 추적',
];
return (
<motion.div
initial={{ opacity: 0, y: 24 }}
whileInView={{ opacity: 1, y: 0 }}
viewport={{ once: true }}
transition={{ duration: 0.6, delay: 0.1 }}
className="relative overflow-hidden bg-[#0A1128] rounded-2xl px-8 py-7 flex flex-col items-center text-left"
>
{/* Background glow */}
<div className="absolute top-[45%] left-1/2 -translate-x-1/2 -translate-y-1/2 w-[420px] h-[420px] bg-accent/20 rounded-full blur-[80px] pointer-events-none" />
<div className="relative self-start text-[13px] font-bold tracking-[0.2em] text-[#AF90FF] mb-2">
THE ENGINE · ABMR CYCLE
</div>
{/* Circular loop diagram (Solution.tsx 구조, ABMR 워딩) */}
<div className="relative w-[240px] h-[240px] md:w-[300px] md:h-[300px] my-11 mb-15">
{/* Animated glowing ring */}
<svg className="absolute inset-0 w-full h-full animate-[spin_20s_linear_infinite]" viewBox="0 0 100 100">
<defs>
<linearGradient id="abmrRingGrad" x1="0%" y1="0%" x2="100%" y2="100%">
<stop offset="0%" stopColor="#a78bfa" stopOpacity="0.15" />
<stop offset="50%" stopColor="#c084fc" stopOpacity="0.6" />
<stop offset="100%" stopColor="#e879f9" stopOpacity="0.15" />
</linearGradient>
</defs>
<circle cx="50" cy="50" r="30" fill="none" stroke="url(#abmrRingGrad)" strokeWidth="0.5" strokeDasharray="2 2" />
</svg>
{/* Center orb */}
<div className="absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 z-[2] w-[120px] h-[120px] md:w-[148px] md:h-[148px] rounded-full bg-[#0A1128]/90 border border-white/5 shadow-[0_0_60px_rgba(167,139,250,0.12)] flex flex-col items-center justify-center gap-0.5">
<span className="text-2xl md:text-3xl font-bold bg-gradient-to-r from-[#fff3eb] via-[#e4cfff] to-[#f5f9ff] bg-clip-text text-transparent">
ABMR
</span>
<span className="font-serif font-bold text-sm md:text-base text-white text-center leading-tight">
Discovery<br />Loop
</span>
</div>
{/* Nodes */}
{NODES.map((node) => (
<div key={node.letter} className={`absolute ${node.pos} z-[3] flex flex-col items-center gap-[7px]`}>
<div className="w-12 h-12 md:w-[58px] md:h-[58px] rounded-full border border-purple-500/30 bg-[#0A1128]/80 shadow-[0_0_20px_rgba(168,85,247,0.15)] flex items-center justify-center">
<span className="text-xl md:text-[25px] font-bold text-purple-300">{node.letter}</span>
</div>
<span className="text-sm font-medium text-purple-100">{node.label}</span>
</div>
))}
{/* Citation feedback curved text (M → A) */}
<svg className="absolute inset-0 w-full h-full pointer-events-none z-[2]" viewBox="0 0 100 100">
<defs>
<path id="citePath" d="M 10.6 56.9 A 40 40 0 0 0 43.1 89.4" fill="none" />
</defs>
<text fontSize="3.5" className="font-medium uppercase tracking-widest" fill="#d8b4fe" opacity="0.8">
<textPath href="#citePath" startOffset="50%" textAnchor="middle">
← CITATION FEEDBACK
</textPath>
</text>
</svg>
</div>
{/* Cycle description */}
<div className="relative w-full bg-white/5 border border-white/10 rounded-xl px-[18px] py-3.5">
<p className="text-[13.5px] leading-[1.75] text-slate-300 text-center break-keep">
<span className="font-bold text-purple-300">ABMR Cycle:</span> 실측 진단(Audit) → 스키마·콘텐츠
구축(Build) → 언급률·AI 유입 측정(Measure) → 우선순위 재조정(Refine)의 무한 루프.
사이클이 돌 때마다 <span className="text-white font-medium">측정된 언급률이 다음 구축의 입력</span>이
됩니다.
</p>
</div>
{/* Outcome chips — 계산값 파생 */}
<div className="relative flex flex-wrap justify-center gap-2.5 mt-3 w-full">
{chips.map((chip) => (
<div key={chip} className="px-3.5 py-1.5 bg-[#AF90FF]/12 border border-[#AF90FF]/30 rounded-full">
<span className="text-[13px] font-semibold text-purple-300">{chip}</span>
</div>
))}
</div>
</motion.div>
);
}