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:
commit
bbb7a0de60
90 files changed
+16754
No files matched your search
@@ -0,0 +1,262 @@
|
||||
# INFINITH — API & MCP Connector Registry
|
||||
**Version:** 1.0 | **Updated:** 2026-03-24 | **Status:** Backend Development Ready
|
||||
|
||||
---
|
||||
|
||||
## 1. Currently Connected (이미 연결됨)
|
||||
|
||||
| Service | Purpose | Status | Dashboard |
|
||||
|---------|---------|--------|-----------|
|
||||
| [Firecrawl](https://docs.firecrawl.dev/introduction) | 웹사이트 스크래핑, 콘텐츠 추출, 스크린샷 | **Credits 소진** | [Recharge](https://www.firecrawl.dev/pricing) |
|
||||
| [Ahrefs API](https://docs.ahrefs.com/docs/api/reference/introduction) | 키워드 분석, 백링크, 도메인 레이팅 | **Connected** | [Dashboard](https://ahrefs.com/dashboard) |
|
||||
| [Figma MCP](https://developers.figma.com/) | 디자인 에셋 읽기, 브랜드 변수 추출 | **Connected** | [Developer](https://developers.figma.com/) |
|
||||
| [Slack MCP](https://api.slack.com/) | 팀 알림, 채널 메시징 | **Connected** | [API](https://api.slack.com/) |
|
||||
| [Notion MCP](https://developers.notion.com/) | 문서/DB 관리, 리포트 저장 | **Connected** | [Integrations](https://www.notion.so/my-integrations) |
|
||||
| [Google Drive](https://console.cloud.google.com/) | 파일 저장/공유 | **Connected** | [Console](https://console.cloud.google.com/) |
|
||||
| [Gemini (nano-banana-pro)](https://aistudio.google.com/) | AI 이미지 생성/편집 | **Connected** | [AI Studio](https://aistudio.google.com/) |
|
||||
|
||||
---
|
||||
|
||||
## 2. P0 — 즉시 연결 필요 (Phase 1 Backend)
|
||||
|
||||
### 2.1 Apify — 소셜미디어 통합 스크래핑
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **가입** | https://console.apify.com/sign-up |
|
||||
| **API 문서** | https://docs.apify.com/api/v2 |
|
||||
| **가격** | https://apify.com/pricing |
|
||||
| **MCP 서버 (GitHub)** | https://github.com/apify/apify-mcp-server |
|
||||
| **MCP 서버 (npm)** | `npx @apify/actors-mcp-server` |
|
||||
| **MCP 연동 가이드** | https://docs.apify.com/platform/integrations/mcp |
|
||||
| **용도** | Instagram/Facebook/YouTube/TikTok 프로필 스크래핑, 스크린샷 배치 캡쳐, 에셋 다운로드 |
|
||||
| **예상 비용** | $49/mo (Starter) — 100 Actor runs/day |
|
||||
|
||||
### 2.2 YouTube Data API v3 — 채널 분석
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **API 활성화** | https://console.cloud.google.com/apis/library/youtube.googleapis.com |
|
||||
| **시작 가이드** | https://developers.google.com/youtube/v3/getting-started |
|
||||
| **API 레퍼런스** | https://developers.google.com/youtube/v3/docs |
|
||||
| **MCP 서버** | https://github.com/sparfenyuk/mcp-youtube (`npx yt-mcp`) |
|
||||
| **용도** | 채널 통계, 구독자, 영상 목록, 조회수, 댓글 분석 |
|
||||
| **예상 비용** | 무료 (일 10,000 units quota) |
|
||||
|
||||
### 2.3 Naver Search API — 한국 로컬 검색
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **개발자 센터** | https://developers.naver.com/ |
|
||||
| **API 목록** | https://naver.github.io/naver-openapi-guide/apilist.html |
|
||||
| **MCP 서버 (GitHub)** | https://github.com/isnow890/naver-search-mcp |
|
||||
| **MCP 서버 (npm)** | `npx @isnow890/naver-search-mcp` |
|
||||
| **Naver Shopping Insight MCP** | https://github.com/dataartai/naver-api-mcp |
|
||||
| **용도** | 블로그/카페/뉴스 검색, 키워드 볼륨 분석 |
|
||||
| **예상 비용** | 무료 (일 25,000건) |
|
||||
|
||||
### 2.4 Supabase — 백엔드 인프라 (Auth + DB + Storage)
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **Dashboard** | https://supabase.com/dashboard |
|
||||
| **문서** | https://supabase.com/docs |
|
||||
| **MCP 서버 (GitHub)** | https://github.com/supabase-community/supabase-mcp |
|
||||
| **MCP 서버 (npm)** | `npx @supabase/mcp-server-supabase` |
|
||||
| **MCP 가이드** | https://supabase.com/docs/guides/getting-started/mcp |
|
||||
| **용도** | PostgreSQL DB, 인증(OAuth), 파일 스토리지, Realtime |
|
||||
| **예상 비용** | 무료 (Free tier: 500MB DB, 1GB Storage) |
|
||||
|
||||
### 2.5 Claude / Anthropic API — AI 엔진
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **Console (API Keys)** | https://console.anthropic.com/ |
|
||||
| **API 문서** | https://docs.anthropic.com/en/docs/get-started |
|
||||
| **Platform 문서** | https://platform.claude.com/docs/en/home |
|
||||
| **용도** | 마케팅 분석 리포트 AI 생성, 콘텐츠 생성, 전략 수립 |
|
||||
| **예상 비용** | Usage-based (Sonnet: $3/1M input, $15/1M output) |
|
||||
|
||||
---
|
||||
|
||||
## 3. P1 — Phase 2 연결 (AI Agent + Content Creation)
|
||||
|
||||
### 3.1 Perplexity API — AI 검색 + AEO
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **가입** | https://www.perplexity.ai/api-platform |
|
||||
| **API Key 설정** | https://www.perplexity.ai/settings/api |
|
||||
| **문서** | https://docs.perplexity.ai/ |
|
||||
| **가격** | https://docs.perplexity.ai/docs/getting-started/pricing |
|
||||
| **MCP 서버 (공식)** | https://github.com/perplexityai/modelcontextprotocol |
|
||||
| **MCP 서버 (npm)** | `npx @perplexity-ai/mcp-server` |
|
||||
| **용도** | AI 기반 웹 검색, AEO(Answer Engine Optimization) 최적화, 트렌드 분석 |
|
||||
|
||||
### 3.2 Creatomate API — 영상/이미지 자동 생성
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **가입** | https://creatomate.com/ |
|
||||
| **API 문서** | https://creatomate.com/docs/api/introduction |
|
||||
| **가격** | https://creatomate.com/pricing |
|
||||
| **Developer Hub** | https://creatomate.com/developers |
|
||||
| **용도** | 템플릿 기반 영상/이미지 생성, 숏폼 자동 제작, 소셜 포맷별 리사이즈 |
|
||||
| **예상 비용** | $49/mo (Pro: 월 100 renders) |
|
||||
|
||||
### 3.3 Instagram / Facebook Graph API — 공식 게시/분석
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **Meta Developer Portal** | https://developers.facebook.com/ |
|
||||
| **앱 생성** | https://developers.facebook.com/apps/ |
|
||||
| **Instagram API 문서** | https://developers.facebook.com/docs/instagram-platform/ |
|
||||
| **Instagram API Reference** | https://developers.facebook.com/docs/instagram-platform/reference/ |
|
||||
| **Facebook Graph API 문서** | https://developers.facebook.com/docs/graph-api/ |
|
||||
| **Graph API Get Started** | https://developers.facebook.com/docs/graph-api/get-started/ |
|
||||
| **용도** | SNS 자동 게시, Reels 업로드, 인사이트 데이터 수집 |
|
||||
| **예상 비용** | 무료 |
|
||||
|
||||
### 3.4 Google Search Console API — SEO 성과
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **API 활성화** | https://console.cloud.google.com/apis/library/searchconsole.googleapis.com |
|
||||
| **문서** | https://developers.google.com/webmaster-tools |
|
||||
| **용도** | 검색 노출량, CTR, 키워드 순위 변동 추적 |
|
||||
| **예상 비용** | 무료 |
|
||||
|
||||
### 3.5 Google Analytics 4 API — 웹 트래픽
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **API 활성화** | https://console.cloud.google.com/apis/library/analyticsdata.googleapis.com |
|
||||
| **Quickstart** | https://developers.google.com/analytics/devguides/reporting/data/v1/quickstart |
|
||||
| **용도** | 웹사이트 유입 경로, 전환 데이터, 세션 분석 |
|
||||
| **예상 비용** | 무료 |
|
||||
|
||||
---
|
||||
|
||||
## 4. P2 — 고도화 단계
|
||||
|
||||
### 4.1 Naver Place / Map API
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **Naver Cloud** | https://www.ncloud.com/ |
|
||||
| **Map API** | https://www.ncloud.com/v2/product/applicationService/maps |
|
||||
| **API 문서** | https://api.ncloud-docs.com/docs/common-ncpapi |
|
||||
| **MCP 서버** | https://github.com/num2k/naver-map-mcp |
|
||||
| **용도** | 플레이스 정보, 병원 리뷰, 위치 데이터 |
|
||||
|
||||
### 4.2 Google Maps Places API
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **API 활성화** | https://console.cloud.google.com/google/maps-apis/overview |
|
||||
| **API Key 발급** | https://developers.google.com/maps/documentation/places/web-service/get-api-key |
|
||||
| **Places API 문서** | https://developers.google.com/maps/documentation/places/web-service/overview |
|
||||
| **용도** | 구글 리뷰, 평점, 위치 정보, 경쟁 병원 분석 |
|
||||
| **예상 비용** | $17/1,000 requests |
|
||||
|
||||
### 4.3 Google Vision API
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **API 활성화** | https://console.cloud.google.com/apis/library/vision.googleapis.com |
|
||||
| **문서** | https://docs.cloud.google.com/vision/docs/setup |
|
||||
| **가격** | https://cloud.google.com/vision/pricing |
|
||||
| **용도** | 로고 감지, 브랜드 컬러 자동 추출, 이미지 분석 |
|
||||
| **예상 비용** | $1.50/1,000 images |
|
||||
|
||||
### 4.4 Brandfetch API
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **가입** | https://developers.brandfetch.com/register |
|
||||
| **문서** | https://docs.brandfetch.com/ |
|
||||
| **Brand API** | https://docs.brandfetch.com/brand-api/overview |
|
||||
| **가격** | https://brandfetch.com/developers/pricing |
|
||||
| **용도** | 도메인 → 브랜드 로고/컬러/폰트 자동 추출 |
|
||||
|
||||
### 4.5 TikTok API
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **Developer Portal** | https://developers.tiktok.com/ |
|
||||
| **문서** | https://developers.tiktok.com/doc/overview |
|
||||
| **Business API** | https://business-api.tiktok.com/portal |
|
||||
| **Business API 가입** | https://business-api.tiktok.com/portal/developer/register |
|
||||
| **용도** | TikTok 영상 게시, 계정 통계, 트렌드 분석 |
|
||||
|
||||
### 4.6 Canva Connect API
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **Developer Portal** | https://www.canva.dev/ |
|
||||
| **문서** | https://www.canva.dev/docs/connect/ |
|
||||
| **Quickstart** | https://www.canva.dev/docs/connect/quickstart/ |
|
||||
| **용도** | 템플릿 기반 이미지 Autofill (Enterprise 전용) |
|
||||
|
||||
### 4.7 Puppeteer (서버사이드 스크린샷)
|
||||
| Item | Link |
|
||||
|------|------|
|
||||
| **npm** | https://www.npmjs.com/package/puppeteer |
|
||||
| **문서** | https://pptr.dev/ |
|
||||
| **GitHub** | https://github.com/puppeteer/puppeteer |
|
||||
| **용도** | 서버사이드 웹페이지 스크린샷 캡쳐 (분석 근거 자료) |
|
||||
| **예상 비용** | 무료 (OSS) |
|
||||
|
||||
---
|
||||
|
||||
## 5. MCP 서버 Quick Reference
|
||||
|
||||
### 즉시 연결 (P0)
|
||||
```bash
|
||||
# Apify — 소셜미디어 스크래핑 통합
|
||||
npx @apify/actors-mcp-server
|
||||
|
||||
# Supabase — Auth + DB + Storage
|
||||
npx @supabase/mcp-server-supabase
|
||||
|
||||
# Naver Search — 한국 로컬 검색
|
||||
npx @isnow890/naver-search-mcp
|
||||
|
||||
# YouTube — 채널 분석
|
||||
npx yt-mcp
|
||||
```
|
||||
|
||||
### Phase 2 연결 (P1)
|
||||
```bash
|
||||
# Perplexity — AI 검색
|
||||
npx @perplexity-ai/mcp-server
|
||||
|
||||
# Stripe — 글로벌 결제 (B2B 계약 전환 후)
|
||||
npx @stripe/mcp
|
||||
|
||||
# Naver Map — 플레이스 분석
|
||||
# https://github.com/num2k/naver-map-mcp
|
||||
```
|
||||
|
||||
### 이미 연결됨
|
||||
```
|
||||
Firecrawl ── 웹 스크래핑 (크레딧 충전 필요)
|
||||
Ahrefs ───── SEO/키워드 분석
|
||||
Figma ────── 디자인 에셋
|
||||
Slack ────── 팀 커뮤니케이션
|
||||
Notion ───── 문서/DB
|
||||
Google Drive ── 파일 관리
|
||||
Gemini ───── AI 이미지 생성
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 6. 월간 예상 비용 (MVP 기준)
|
||||
|
||||
| Service | Plan | 월 비용 | 비고 |
|
||||
|---------|------|--------|------|
|
||||
| Supabase | Free | ₩0 | 500MB DB, 1GB Storage |
|
||||
| YouTube Data API | Free | ₩0 | 일 10K units |
|
||||
| Naver Search API | Free | ₩0 | 일 25K건 |
|
||||
| Anthropic (Claude) | Usage | ~₩50,000 | 리포트 100건/월 기준 |
|
||||
| Apify | Starter | ~₩65,000 | $49/mo |
|
||||
| Firecrawl | Growth | ~₩26,000 | $19/mo |
|
||||
| Creatomate | Pro | ~₩65,000 | $49/mo (Phase 2) |
|
||||
| **Phase 1 합계** | | **~₩141,000/mo** | Supabase+YouTube+Naver+Claude+Apify+Firecrawl |
|
||||
| **Phase 2 합계** | | **~₩206,000/mo** | + Creatomate |
|
||||
|
||||
---
|
||||
|
||||
## 7. 결제 시스템
|
||||
|
||||
> **현재 전략: B2B 계약 우선**
|
||||
> Stripe / Toss Payments 결제 시스템은 B2C 전환 시점에 개발 예정.
|
||||
> 현재는 수동 청구서 발행으로 진행.
|
||||
|
||||
---
|
||||
|
||||
*Last updated: 2026-03-24*
|
||||
@@ -0,0 +1,263 @@
|
||||
# INFINITH Design System Specification
|
||||
**Version:** 1.0
|
||||
**Date:** 2026-03-23
|
||||
|
||||
---
|
||||
|
||||
## 1. Design Principles
|
||||
|
||||
| 원칙 | 설명 |
|
||||
|------|------|
|
||||
| **No Primary Colors** | 빨강, 주황, 초록, 파랑 등 원색 사용 금지. 파스텔 변형만 허용 |
|
||||
| **Filled Icons Only** | 라인(outlined) 아이콘 금지. SVG shape fill 스타일만 사용 |
|
||||
| **No Emoji** | 모든 아이콘은 벡터 shape으로 표현 |
|
||||
| **Dark/Light Rhythm** | 페이지 내 섹션은 다크/라이트 배경을 교대 배치 |
|
||||
| **White Cards on Dark** | 다크 섹션 내 카드는 `bg-white` 사용 (glassmorphism 아님) |
|
||||
| **Diagonal Shadows** | 카드/요소에 사선 방향 연한 그림자: `shadow-[3px_4px_12px_rgba(0,0,0,0.06)]` |
|
||||
| **Pastel Semantics** | 상태 표현은 반드시 INFINITH 파스텔 팔레트의 bg/text/border/dot 세트 사용 |
|
||||
|
||||
---
|
||||
|
||||
## 2. Color System
|
||||
|
||||
### 2.1 INFINITH Brand Colors
|
||||
|
||||
| Token | Hex | CSS Variable | 용도 |
|
||||
|-------|-----|-------------|------|
|
||||
| Primary Navy | `#0A1128` | `--color-primary-900` | 다크 섹션 bg, 본문 텍스트, 테이블 헤더 |
|
||||
| Medium Navy | `#1A2B5E` | `--color-primary-800` | 보조 다크 |
|
||||
| Near White | `#F4F6FB` | `--color-primary-50` | 밝은 배경 변형 |
|
||||
| Accent Purple | `#6C5CE7` | `--color-accent` | 활성 탭 보더, 강조 아이콘, 로딩 스피너 |
|
||||
| Gradient Start | `#4F1DA1` | — | 버튼, 배지 그라디언트 왼쪽 |
|
||||
| Gradient End | `#021341` | — | 버튼, 배지 그라디언트 오른쪽 |
|
||||
|
||||
### 2.2 Warm CTA Gradient (3-stop)
|
||||
|
||||
```css
|
||||
background: linear-gradient(to right, #fff3eb, #e4cfff, #f5f9ff);
|
||||
```
|
||||
|
||||
| Stop | Hex | 이름 |
|
||||
|------|-----|------|
|
||||
| Start | `#fff3eb` | Warm Peach |
|
||||
| Mid | `#e4cfff` | Soft Lilac |
|
||||
| End | `#f5f9ff` | Cool White-Blue |
|
||||
|
||||
**사용처:** CTA 카드 배경, URL 입력 필드, KPI CTA 카드
|
||||
|
||||
### 2.3 Semantic Status Palette
|
||||
|
||||
**규칙:** 상태를 표현할 때 반드시 이 4가지 세트 중 하나를 사용. 원색(빨강/초록) 절대 금지.
|
||||
|
||||
| Status | Background | Text | Border | Dot | 한국어 |
|
||||
|--------|-----------|------|--------|-----|--------|
|
||||
| Critical | `#FFF0F0` | `#7C3A4B` | `#F5D5DC` | `#D4889A` | 심각 |
|
||||
| Warning | `#FFF6ED` | `#7C5C3A` | `#F5E0C5` | `#D4A872` | 주의 |
|
||||
| Good | `#F3F0FF` | `#4A3A7C` | `#D5CDF5` | `#9B8AD4` | 양호 |
|
||||
| Info | `#EFF0FF` | `#3A3F7C` | `#C5CBF5` | `#7A84D4` | 우수 |
|
||||
|
||||
**CSS Variables:**
|
||||
```css
|
||||
--color-status-{level}-bg
|
||||
--color-status-{level}-text
|
||||
--color-status-{level}-border
|
||||
--color-status-{level}-dot
|
||||
```
|
||||
|
||||
### 2.4 ScoreRing Color Thresholds
|
||||
|
||||
| Score Range | Color | Token |
|
||||
|-------------|-------|-------|
|
||||
| 0~40% | `#C084CF` | Soft Violet (Critical) |
|
||||
| 41~60% | `#8B9CF7` | Periwinkle (Caution) |
|
||||
| 61~80% | `#7C6DD8` | Medium Purple (Good) |
|
||||
| 81~100% | `#6C5CE7` | INFINITH Purple (Excellent) |
|
||||
|
||||
### 2.5 Platform Brand Colors (외부 브랜드 존중)
|
||||
|
||||
| Platform | Hex | 용도 |
|
||||
|----------|-----|------|
|
||||
| YouTube | `#FF0000` | 아이콘 컨테이너, 진단 구분 |
|
||||
| Instagram | `#E1306C` | 아이콘 그라디언트 |
|
||||
| Facebook | `#1877F2` | 아이콘 컨테이너, 로고 |
|
||||
| VIEW Purple | `#7B2D8E` | 고객 브랜드 (뷰성형외과) |
|
||||
| VIEW Gold | `#E8B931` | 고객 브랜드 (뷰성형외과) |
|
||||
|
||||
---
|
||||
|
||||
## 3. Typography
|
||||
|
||||
### 3.1 Font Families
|
||||
|
||||
| 폰트 | 역할 | 로딩 |
|
||||
|------|------|------|
|
||||
| **Playfair Display** | 영문 헤딩, 섹션 타이틀, INFINITH 로고 | Google Fonts |
|
||||
| **Pretendard** | 한글 헤딩, 본문 | CDN |
|
||||
| **Inter** | 영문 본문, UI 요소 | Google Fonts (sans-serif) |
|
||||
|
||||
### 3.2 Size & Weight Scale
|
||||
|
||||
| 용도 | 폰트 | Size | Weight | Tailwind Class |
|
||||
|------|-------|------|--------|---------------|
|
||||
| INFINITH 로고 | Playfair Display | `3xl` (30px) | Black 900 | `font-serif text-3xl font-black tracking-[0.05em]` |
|
||||
| 페이지 H1 | Playfair Display | `4xl~5xl` | Bold 700 | `font-serif text-4xl md:text-5xl font-bold` |
|
||||
| 섹션 타이틀 (영문) | Playfair Display | `3xl~4xl` | Bold 700 | `font-serif text-3xl md:text-4xl font-bold` |
|
||||
| 섹션 서브타이틀 | Pretendard | `lg` (18px) | Regular 400 | `text-lg` |
|
||||
| 카드 제목 | Pretendard | `lg` (18px) | Bold 700 | `text-lg font-bold` |
|
||||
| 본문 | Pretendard / Inter | `sm~base` (14~16px) | Regular 400 | `text-sm` or `text-base` |
|
||||
| 캡션/라벨 | Inter | `xs` (12px) | Medium 500 | `text-xs font-medium` |
|
||||
| 배지/태그 | Inter | `xs` (12px) | Semibold 600 | `text-xs font-semibold` |
|
||||
|
||||
### 3.3 Text Color Mapping
|
||||
|
||||
| 컨텍스트 | 라이트 섹션 | 다크 섹션 |
|
||||
|----------|-----------|----------|
|
||||
| 제목 | `text-[#0A1128]` | gradient `from-purple-300 to-blue-300` |
|
||||
| 서브타이틀 | `text-slate-600` | `text-purple-200` |
|
||||
| 본문 | `text-slate-700` | `text-white/80` |
|
||||
| 캡션 | `text-slate-500` | `text-purple-300` |
|
||||
| 강조 | `text-[#6C5CE7]` | `text-purple-300` |
|
||||
|
||||
---
|
||||
|
||||
## 4. Layout Patterns
|
||||
|
||||
### 4.1 SectionWrapper
|
||||
|
||||
모든 콘텐츠 섹션의 기본 래퍼. `src/components/report/ui/SectionWrapper.tsx`
|
||||
|
||||
| Prop | Light Mode | Dark Mode |
|
||||
|------|-----------|-----------|
|
||||
| Background | `bg-white` | `bg-[#0A1128]` + `radial-gradient rgba(108,92,231,0.15)` |
|
||||
| Padding | `py-16 md:py-20 px-6` | 동일 |
|
||||
| Max Width | `max-w-7xl mx-auto` | 동일 |
|
||||
| Title Style | `.text-gradient` (navy gradient) | purple-300→blue-300 gradient |
|
||||
| Animation | `opacity: 0, y: 40` → `1, 0` on scroll | 동일 |
|
||||
|
||||
### 4.2 Card Patterns
|
||||
|
||||
| 패턴 | 클래스 | 사용처 |
|
||||
|------|--------|--------|
|
||||
| **Standard Card** | `bg-white rounded-2xl border border-slate-100 shadow-sm p-5` | 대부분의 라이트 섹션 카드 |
|
||||
| **White Card on Dark** | `bg-white rounded-2xl shadow-[3px_4px_12px_rgba(0,0,0,0.06)] p-6` | ChannelStrategy, ContentCalendar |
|
||||
| **Glass Card** | `bg-white/70 backdrop-blur-xl border border-white/40 shadow-[0_8px_32px_0_rgba(31,38,135,0.07)] rounded-2xl` | 랜딩 페이지 (TargetAudience, UseCases) |
|
||||
| **Dark Glass Card** | `bg-white/10 backdrop-blur-sm border border-white/10 rounded-2xl` | ProblemDiagnosis 내부 |
|
||||
| **Gradient Card** | `bg-gradient-to-r from-[#4F1DA1] to-[#021341]` | ConsolidationCard, 강조 카드 |
|
||||
|
||||
### 4.3 Shadow System
|
||||
|
||||
```css
|
||||
/* Standard (대부분의 카드) */
|
||||
shadow-sm /* Tailwind default */
|
||||
|
||||
/* Diagonal soft shadow (화이트 카드 on 다크) */
|
||||
shadow-[3px_4px_12px_rgba(0,0,0,0.06)] /* 기본 */
|
||||
shadow-[4px_6px_16px_rgba(0,0,0,0.09)] /* hover */
|
||||
|
||||
/* Status-tinted shadows (배지/태그) */
|
||||
shadow-[2px_3px_8px_rgba(212,136,154,0.15)] /* Critical tint */
|
||||
shadow-[2px_3px_8px_rgba(212,168,114,0.15)] /* Warning tint */
|
||||
shadow-[2px_3px_8px_rgba(155,138,212,0.15)] /* Good/Purple tint */
|
||||
shadow-[2px_3px_8px_rgba(122,132,212,0.15)] /* Info tint */
|
||||
|
||||
/* Elevated (헤더, 라이트박스) */
|
||||
shadow-lg /* 리포트/플랜 헤더 패널 */
|
||||
shadow-2xl /* 라이트박스 모달 */
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 5. Component Inventory
|
||||
|
||||
### 5.1 Shared UI Components (`src/components/report/ui/`)
|
||||
|
||||
| Component | Props | Description |
|
||||
|-----------|-------|-------------|
|
||||
| `SectionWrapper` | `id, title, subtitle, dark?, className?` | 모든 섹션의 래퍼 |
|
||||
| `MetricCard` | `value, label, trend?, subtext?` | 숫자 지표 카드 |
|
||||
| `ScoreRing` | `score, maxScore, size?` | SVG 원형 점수 표시 |
|
||||
| `SeverityBadge` | `severity` | 상태 배지 (심각/주의/양호/우수) |
|
||||
| `DiagnosisRow` | `category, detail, severity, evidenceIds?` | 진단 항목 행 |
|
||||
| `ComparisonRow` | `area, asIs, toBe` | As-Is → To-Be 비교 행 |
|
||||
| `EvidenceGallery` | `evidenceIds[]` | 스크린샷 근거 갤러리 |
|
||||
| `EvidenceScreenshot` | `evidence, compact?` | 개별 스크린샷 카드 |
|
||||
| `EvidenceLightbox` | `evidence, onClose` | 스크린샷 확대 모달 |
|
||||
|
||||
### 5.2 Custom Icons (`src/components/icons/FilledIcons.tsx`)
|
||||
|
||||
모든 아이콘은 **fill 전용** (stroke 없음), `opacity: 0.25` 배경 rect + fill path.
|
||||
|
||||
| Icon | 용도 |
|
||||
|------|------|
|
||||
| `YoutubeFilled` | YouTube 채널 |
|
||||
| `InstagramFilled` | Instagram 채널 |
|
||||
| `FacebookFilled` | Facebook 채널 |
|
||||
| `TiktokFilled` | TikTok 채널 |
|
||||
| `GlobeFilled` | 웹사이트/기타 채널 |
|
||||
| `VideoFilled` | 영상 콘텐츠 |
|
||||
| `FileTextFilled` | 블로그 콘텐츠 |
|
||||
| `ShareFilled` | 소셜 콘텐츠 |
|
||||
| `MegaphoneFilled` | 광고 콘텐츠 |
|
||||
| `MessageFilled` | 메시지/커뮤니티 |
|
||||
| `CalendarFilled` | 일정/빈도 |
|
||||
|
||||
### 5.3 Button Patterns
|
||||
|
||||
| 타입 | 클래스 | 사용처 |
|
||||
|------|--------|--------|
|
||||
| **Primary** | `bg-gradient-to-r from-[#4F1DA1] to-[#021341] text-white rounded-full` | CTA, 로그인 |
|
||||
| **Secondary** | `bg-white border border-slate-200 text-[#021341] rounded-full` | PDF 다운로드 |
|
||||
| **Tab Active** | `bg-gradient-to-r from-[#4F1DA1] to-[#021341] text-white rounded-full` | 탭 인터페이스 |
|
||||
| **Tab Inactive** | `bg-slate-100 text-slate-600 rounded-full hover:bg-slate-200` | 탭 인터페이스 |
|
||||
| **Nav Active** | `border-b-2 border-[#6C5CE7] text-[#0A1128]` | ReportNav 탭 |
|
||||
|
||||
### 5.4 Badge/Tag Patterns
|
||||
|
||||
| 타입 | 스타일 | 예시 |
|
||||
|------|--------|------|
|
||||
| **Priority P0** | `bg-[#FFF0F0] text-[#7C3A4B] border-[#F5D5DC]` | 긴급 채널 |
|
||||
| **Priority P1** | `bg-[#FFF6ED] text-[#7C5C3A] border-[#F5E0C5]` | 주요 채널 |
|
||||
| **Priority P2** | `bg-[#F3F0FF] text-[#4A3A7C] border-[#D5CDF5]` | 보조 채널 |
|
||||
| **Content Type** | 각 semantic status 색상 | 카드 내 유형 태그 |
|
||||
| **Platform** | `bg-slate-100 text-slate-700` | 일반 플랫폼 라벨 |
|
||||
|
||||
---
|
||||
|
||||
## 6. Animation Patterns
|
||||
|
||||
| 패턴 | 구현 | 사용처 |
|
||||
|------|------|--------|
|
||||
| **Scroll reveal** | `motion.div` `opacity: 0, y: 20→40` | 모든 SectionWrapper, 카드 |
|
||||
| **Stagger** | `delay: index * 0.1` | 그리드 카드, 리스트 |
|
||||
| **Blob float** | `animate-blob` (7s) / `animate-blob-large` (25s) | Hero, Modules 배경 |
|
||||
| **Score ring** | `motion.circle` dashoffset animation | ScoreRing |
|
||||
| **Page transition** | Instant (no transition) | React Router |
|
||||
|
||||
---
|
||||
|
||||
## 7. PDF Export Rules
|
||||
|
||||
| 규칙 | 구현 |
|
||||
|------|------|
|
||||
| 숨길 요소 | `data-report-nav`, `data-plan-nav`, `nav`, `data-cta-card`, `data-no-print` |
|
||||
| 콘텐츠 래퍼 | `data-report-content` 또는 `data-plan-content` |
|
||||
| 페이지 분할 | 섹션 단위 원자적 처리, 900px 이하 섹션은 통째로 |
|
||||
| 마진 | 8mm 전방향 |
|
||||
| 푸터 | "INFINITH Marketing Intelligence Report | Page X / Y" (7pt, #B4B4B4) |
|
||||
| 해상도 | `scale: 2`, JPEG `quality: 0.9` |
|
||||
| 애니메이션 | 내보내기 전 `opacity: 1, transform: none` 강제 적용 |
|
||||
|
||||
---
|
||||
|
||||
## 8. Responsive Breakpoints
|
||||
|
||||
| Breakpoint | Width | 주요 변화 |
|
||||
|------------|-------|----------|
|
||||
| Mobile | < 768px | 1열 그리드, 축소된 헤딩 |
|
||||
| Tablet (md) | 768px+ | 2열 그리드, 중간 헤딩 |
|
||||
| Desktop (lg) | 1024px+ | 3열 그리드, 풀 레이아웃 |
|
||||
| Max content | 1280px | `max-w-7xl mx-auto` |
|
||||
|
||||
---
|
||||
|
||||
*이 문서는 코드와 함께 버전 관리됩니다. 디자인 변경 시 반드시 이 문서도 업데이트하세요.*
|
||||
Reference in new issue
Block a user