'use client'; import { useState } from 'react'; import Link from 'next/link'; const ASSETS = [ { file: '/marketing/thumb-homepage-A.svg', name: '홈페이지 제작 썸네일 A', desc: '신뢰형 — 브라우저 목업 포함 다크 테마', size: '1200 × 675', platform: '크몽 메인', color: '#2563eb', }, { file: '/marketing/thumb-homepage-B.svg', name: '홈페이지 제작 썸네일 B', desc: '스펙 강조형 — 3플랜 카드 비교', size: '1200 × 675', platform: '크몽 서브', color: '#7c3aed', }, { file: '/marketing/thumb-automation.svg', name: '업무 자동화 썸네일', desc: '시간 절약형 — 자동화 플로우 다이어그램', size: '1200 × 675', platform: '크몽 메인', color: '#10b981', }, { file: '/marketing/thumb-prompt.svg', name: '프롬프트 엔지니어링 썸네일', desc: 'Before/After 말풍선 비교형', size: '1200 × 675', platform: '크몽 메인', color: '#7c3aed', }, { file: '/marketing/thumb-stock.svg', name: '주식 자동매매 썸네일', desc: '폰 목업 + 텔레그램 알림 UI', size: '1200 × 675', platform: '크몽 메인', color: '#22c55e', }, { file: '/marketing/banner-homepage.svg', name: '홈페이지 제작 배너', desc: '가로형 배너 — 블로그/SNS 활용', size: '1200 × 400', platform: '블로그/SNS', color: '#2563eb', }, ]; export default function MarketingPage() { const [preview, setPreview] = useState<(typeof ASSETS)[0] | null>(null); const [copied, setCopied] = useState(null); function copyPath(file: string) { const url = `${window.location.origin}${file}`; navigator.clipboard.writeText(url); setCopied(file); setTimeout(() => setCopied(null), 2000); } function download(file: string, name: string) { const a = document.createElement('a'); a.href = file; a.download = name.replace(/\s/g, '_') + '.svg'; a.click(); } return (

마케팅 에셋

크몽/숨고 등록용 썸네일 및 배너 — SVG 파일 다운로드 가능

← 대시보드
{/* 안내 */}
ℹ️

SVG → PNG 변환 방법

브라우저에서 파일 열기 → 우클릭 → "이미지 다른 이름으로 저장" (PNG), 또는 Figma에 SVG 드래그 후 PNG Export를 추천합니다. 크몽은 JPG/PNG만 허용합니다.

{/* 그리드 */}
{ASSETS.map((asset) => (
{/* 미리보기 */} {/* 정보 */}

{asset.name}

{asset.desc}

{asset.platform}

{asset.size}px

))}
{/* 크게 보기 모달 */} {preview && (
setPreview(null)} >
e.stopPropagation()}>

{preview.name}

{preview.size}px · {preview.desc}

{preview.name}
)}
); }