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

+41
View File
@@ -0,0 +1,41 @@
import { createContext, useContext, useMemo, type ReactNode } from 'react';
import type { ScreenshotEvidence } from '../types/report';
interface ScreenshotContextValue {
screenshots: ScreenshotEvidence[];
getById: (id: string) => ScreenshotEvidence | undefined;
getByIds: (ids: string[]) => ScreenshotEvidence[];
}
const ScreenshotContext = createContext<ScreenshotContextValue>({
screenshots: [],
getById: () => undefined,
getByIds: () => [],
});
export function ScreenshotProvider({
screenshots,
children,
}: {
screenshots: ScreenshotEvidence[];
children: ReactNode;
}) {
const value = useMemo(() => {
const map = new Map(screenshots.map((s) => [s.id, s]));
return {
screenshots,
getById: (id: string) => map.get(id),
getByIds: (ids: string[]) => ids.map((id) => map.get(id)).filter(Boolean) as ScreenshotEvidence[],
};
}, [screenshots]);
return (
<ScreenshotContext.Provider value={value}>
{children}
</ScreenshotContext.Provider>
);
}
export function useScreenshots() {
return useContext(ScreenshotContext);
}