feat: INFINITH Marketing Platform — Phase 1 MVP

Complete frontend reference implementation:
- Landing page (7 sections, responsive, animated)
- Marketing Intelligence Report (11 sections, VIEW Plastic Surgery demo)
- Marketing Execution Plan (8 sections, branding/channel/calendar)
- Content Studio wizard (channel → strategy → sound → generate)
- Channel Connect page (7 platform OAuth flows)
- Distribution page (YouTube publish flow)
- Performance Dashboard (KPI, funnel, heatmap, trends)
- PDF export (section-based, no mid-content splits)
- Design system (pastel palette, filled icons, Pretendard/Playfair)
- Page navigator (landing ↔ report ↔ plan)
- Asset upload (drag & drop, image/video/text)

Docs: PRD v2.0, DESIGN_SYSTEM.md, API_CONNECTORS.md

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Haewon KamandClaude Opus 4.6 committed 2026-03-24 16:48:11 +09:00
commit bbb7a0de60
90 files changed
+16754

No files matched your search

+73
View File
@@ -0,0 +1,73 @@
import { motion } from 'motion/react';
interface ScoreRingProps {
score: number;
maxScore?: number;
size?: number;
label?: string;
color?: string;
}
function getScoreColor(score: number, maxScore: number): string {
const pct = (score / maxScore) * 100;
if (pct <= 40) return '#C084CF'; // soft violet — critical
if (pct <= 60) return '#8B9CF7'; // periwinkle blue — caution
if (pct <= 80) return '#7C6DD8'; // medium purple — good
return '#6C5CE7'; // Infinith primary purple — excellent
}
export function ScoreRing({
score,
maxScore = 100,
size = 120,
label,
color,
}: ScoreRingProps) {
const strokeWidth = 8;
const radius = (size - strokeWidth) / 2;
const circumference = 2 * Math.PI * radius;
const progress = Math.min(score / maxScore, 1);
const strokeDashoffset = circumference * (1 - progress);
const resolvedColor = color ?? getScoreColor(score, maxScore);
return (
<div className="flex flex-col items-center gap-2">
<div className="relative" style={{ width: size, height: size }}>
<svg
width={size}
height={size}
viewBox={`0 0 ${size} ${size}`}
className="-rotate-90"
>
<circle
cx={size / 2}
cy={size / 2}
r={radius}
fill="none"
stroke="#f1f5f9"
strokeWidth={strokeWidth}
/>
<motion.circle
cx={size / 2}
cy={size / 2}
r={radius}
fill="none"
stroke={resolvedColor}
strokeWidth={strokeWidth}
strokeLinecap="round"
strokeDasharray={circumference}
initial={{ strokeDashoffset: circumference }}
animate={{ strokeDashoffset }}
transition={{ duration: 1, ease: 'easeOut' }}
/>
</svg>
<div className="absolute inset-0 flex items-center justify-center">
<span className="text-2xl font-bold text-[#0A1128]">{score}</span>
</div>
</div>
{label && (
<span className="text-sm text-slate-500 text-center">{label}</span>
)}
</div>
);
}