import React from 'react'; /** * Step 22를 위한 16:9 베이스 슬라이드 본문 레이아웃 템플릿 * 8종 중 우선 2종 샘플 구현 */ interface LayoutProps { title?: string; sections?: { id: string; title: string; content: string; type?: 'text' | 'image' | 'chart'; }[]; } /** * Layout 1: Focus Split (좌측 텍스트 / 우측 강조형) * 가장 범용적인 슬라이드 레이아웃 */ export const FocusSplitLayout: React.FC = ({ sections = [] }) => { const mainSection = sections[0] || { title: 'Main Point', content: '핵심 내용을 이곳에 작성합니다.' }; const subSection = sections[1] || { title: 'Supporting Detail', content: '보조 설명이나 이미지가 들어갑니다.' }; return (
{/* 좌측 메인 영역 (60%) */}

{mainSection.title}

{mainSection.content}

Key Insight
{/* 우측 강조 영역 (40%) */}

{subSection.title}

{subSection.content}

); }; /** * Layout 2: Quadrant Grid (2x2 그리드 핵심 요약형) * 여러 요소를 병렬로 보여줄 때 최적 */ export const QuadrantGridLayout: React.FC = ({ sections = [] }) => { const items = sections.length >= 4 ? sections.slice(0, 4) : [ { title: 'Strategy', content: '장기적 목표 및 실행 계획 수립' }, { title: 'Operations', content: '효율적인 자원 배분 및 프로세스 최적화' }, { title: 'Technology', content: '디지털 전환을 위한 기술 스택 도입' }, { title: 'Growth', content: '지속 가능한 성장 동력 확보' }, ]; return (
{items.map((item, i) => (
0{i + 1}

{item.title}

{item.content}

))}
); };