04. design_agent 추가 — 콘텐츠 시각 구조화 슬라이드 생성기

5단계 AI 파이프라인:
1. Kei 실장(Opus via Kei API) — 꼭지 추출 + 정보 구조 파악
2. 디자인 팀장 — FAISS 블록 검색 + Opus 추천 + Sonnet 블록 매핑
3. Kei 편집자(Kei API) — 도메인 전문 텍스트 정리
4. 디자인 실무자(Sonnet + Jinja2) — CSS 변수 조정 + HTML 조립
5. 디자인 팀장(Sonnet) — 균형 재검토 (최대 2회 루프)

블록 라이브러리 46개 (6 카테고리) + _legacy 13개
FAISS 블록 검색 (bge-m3, 1024차원)
SVG N개 동적 배치 (cos/sin 좌표 계산)
Pillow 이미지 크기 측정 + base64 인라인
컨테이너 예산 기반 블록 배치 (zone별 높이 px)

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-25 18:47:13 +09:00
parent 9b905a4313
commit 688ddbbb17
244 changed files with 23955 additions and 0 deletions

View File

@@ -0,0 +1,328 @@
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>2-1_02 건설정보모델링(BIM) — 레이어 방식 재현</title>
<style>
@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css');
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Pretendard Variable', 'Noto Sans KR', sans-serif;
background: #e8ecf0;
display: flex;
justify-content: center;
padding: 20px;
}
/* ═══ 프레임 컨테이너 (920x2179 원본 비율) ═══ */
.frame {
width: 920px;
background: #ffffff;
position: relative;
overflow: hidden;
}
/* ═══ 섹션 1: 배경 헤더 + 타이틀 ═══ */
.header-section {
position: relative;
width: 100%;
height: 515px;
overflow: hidden;
}
.header-bg {
position: absolute;
inset: 0;
z-index: 1;
}
.header-bg img {
width: 100%;
height: 100%;
object-fit: cover;
}
.header-overlay {
position: absolute;
inset: 0;
z-index: 2;
display: flex;
flex-direction: column;
padding: 40px 89px;
}
.close-btn {
position: absolute;
top: 20px;
right: 20px;
width: 40px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
z-index: 10;
color: white;
font-size: 24px;
}
.section-title-block {
margin-top: auto;
margin-bottom: 30px;
}
.section-title-en {
font-size: 15px;
font-weight: 400;
color: #ffffff;
opacity: 0.9;
margin-bottom: 4px;
}
.section-title-ko {
font-size: 35px;
font-weight: 700;
color: #ffffff;
line-height: 1.3;
}
/* ═══ 섹션 2-3: 꼭지 제목+설명 ═══ */
.topic-section {
padding: 25px 89px 15px;
}
.topic-row {
display: flex;
gap: 20px;
margin-bottom: 20px;
}
.topic-title {
width: 240px;
flex-shrink: 0;
font-size: 24px;
font-weight: 700;
color: #004cbe;
line-height: 1.4;
word-break: keep-all;
}
.topic-desc {
flex: 1;
font-size: 16px;
font-weight: 400;
color: #000000;
line-height: 1.7;
word-break: keep-all;
}
/* ═══ 섹션 4: 이미지 그리드 2열 ═══ */
.image-grid-section {
padding: 0 89px 20px;
display: flex;
gap: 0;
}
.image-grid-item {
flex: 1;
overflow: hidden;
}
.image-grid-item img {
width: 100%;
height: 354px;
object-fit: cover;
}
/* ═══ 섹션 5: 산맥 시각화 ═══ */
.mountain-section {
width: 100%;
overflow: hidden;
}
.mountain-section img {
width: 100%;
height: auto;
}
/* ═══ 섹션 6: 이미지 (EbYopf) ═══ */
.middle-image-section {
width: 100%;
background: #f6f7f9;
padding: 0;
display: flex;
justify-content: center;
}
/* ═══ 섹션 7: 비교 박스 2열 ═══ */
.compare-boxes-section {
padding: 25px 89px;
display: flex;
gap: 15px;
justify-content: center;
align-items: center;
}
.compare-box {
width: 327px;
height: 116px;
border-radius: 8px;
display: flex;
align-items: center;
justify-content: center;
overflow: hidden;
position: relative;
}
.compare-box img {
width: 100%;
height: 100%;
object-fit: cover;
}
.vs-label {
background: #ffffff;
border-radius: 8px;
padding: 8px 20px;
font-size: 20px;
font-weight: 700;
color: #006eff;
}
.dx-label, .bim-label {
position: absolute;
font-size: 20px;
font-weight: 700;
color: #ffffff;
z-index: 2;
}
/* ═══ 섹션 8: 비교 테이블 ═══ */
.table-section {
padding: 10px 89px 20px;
}
.table-section img {
width: 100%;
height: auto;
border-radius: 4px;
}
/* ═══ 섹션 9: 원형 라벨 ═══ */
.circle-section {
display: flex;
justify-content: center;
padding: 20px 0;
}
.circle-section img {
width: 190px;
height: 190px;
}
/* ═══ 섹션 10: 카드 3열 ═══ */
.card-section {
padding: 10px 89px 40px;
}
.card-section img {
width: 100%;
height: auto;
border-radius: 4px;
}
/* ═══ 네비게이션 화살표 ═══ */
.nav-arrows {
position: absolute;
bottom: 200px;
width: 100%;
display: flex;
justify-content: space-between;
padding: 0 15px;
z-index: 10;
pointer-events: none;
}
.nav-arrow {
width: 29px;
height: 40px;
display: flex;
align-items: center;
justify-content: center;
color: #006aff;
font-size: 24px;
pointer-events: auto;
cursor: pointer;
opacity: 0.5;
}
/* ═══ 브레드크럼 ═══ */
.breadcrumb {
position: absolute;
top: 20px;
left: 89px;
z-index: 5;
font-size: 13px;
color: rgba(255,255,255,0.7);
}
.breadcrumb span {
margin: 0 6px;
color: rgba(255,255,255,0.5);
}
</style>
</head>
<body>
<div class="frame">
<!-- ═══ 섹션 1: 배경 헤더 + 타이틀 ═══ -->
<div class="header-section">
<div class="header-bg">
<img src="figma-assets/bg_header.png" alt="">
</div>
<div class="header-overlay">
<div class="breadcrumb">
건설산업에서의 디지털전환 <span></span> Building Information Modeling
</div>
<div class="close-btn"></div>
<div class="section-title-block">
<div class="section-title-en">Building Information Modeling</div>
<div class="section-title-ko">건설정보모델링(BIM)</div>
</div>
</div>
</div>
<!-- ═══ 섹션 2: 꼭지1 ═══ -->
<div class="topic-section">
<div class="topic-row">
<div class="topic-title">단순 BIM의 적용이<br>D/X가 아닙니다</div>
<div class="topic-desc">BIM은 건설산업의 디지털전환을 수행하는 과정에서 가장 기초가 되는 일부분임을 인지하는 것이 매우 중요합니다.</div>
</div>
<div class="topic-row">
<div class="topic-title">건설산업에서의 BIM</div>
<div class="topic-desc">BIM은 설계, 시공, 유지관리 단계에서의 정보를 통합하고 협업을 촉진하여 인프라 건설 전 생애주기 과정의 효율성을 향상시킵니다.</div>
</div>
</div>
<!-- ═══ 섹션 3: 이미지 그리드 2열 ═══ -->
<div class="image-grid-section">
<div class="image-grid-item">
<img src="figma-assets/image_grid_left.png" alt="시공 현장 1">
</div>
<div class="image-grid-item">
<img src="figma-assets/image_grid_right.png" alt="시공 현장 2">
</div>
</div>
<!-- ═══ 섹션 4: 산맥 시각화 ═══ -->
<div class="mountain-section">
<img src="figma-assets/mountain_viz.png" alt="산맥 시각화">
</div>
<!-- ═══ 섹션 5: 비교 박스 ═══ -->
<div class="compare-boxes-section">
<div class="compare-box">
<img src="figma-assets/compare_box_left.png" alt="DX">
</div>
<div class="vs-label">VS</div>
<div class="compare-box">
<img src="figma-assets/compare_box_right.png" alt="BIM">
</div>
</div>
<!-- ═══ 섹션 6: DX vs BIM 비교 테이블 ═══ -->
<div class="table-section">
<img src="figma-assets/dx_bim_table.png" alt="DX vs BIM 비교">
</div>
<!-- ═══ 섹션 7: 원형 라벨 ═══ -->
<div class="circle-section">
<img src="figma-assets/circle_label.png" alt="단계별 BIM의 활용">
</div>
<!-- ═══ 섹션 8: 카드 3열 ═══ -->
<div class="card-section">
<img src="figma-assets/card_3col.png" alt="설계/시공/유지관리">
</div>
</div>
</body>
</html>