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>
58 lines
1.3 KiB
HTML
58 lines
1.3 KiB
HTML
<!-- 번호 꼭지 헤더: 번호 원형 + 제목 + 구분선 + 설명 -->
|
|
<!--
|
|
📋 topic-numbered
|
|
─────────────────
|
|
용도: 순서가 있는 꼭지 시작, 단계별 섹션 헤더
|
|
슬롯: number, title, description (선택), color (선택)
|
|
topic-left-right와 다른 점: 좌우 배치가 아닌 번호+세로 배치
|
|
-->
|
|
<div class="block-topic-num">
|
|
<div class="tn-header">
|
|
<div class="tn-number" style="background: {{ color | default('#2563eb') }}">{{ number }}</div>
|
|
<div class="tn-title">{{ title }}</div>
|
|
</div>
|
|
<div class="tn-divider" style="background: {{ color | default('#2563eb') }}"></div>
|
|
{% if description %}<div class="tn-desc">{{ description }}</div>{% endif %}
|
|
</div>
|
|
|
|
<style>
|
|
.block-topic-num {
|
|
padding: 8px 0;
|
|
}
|
|
.tn-header {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
}
|
|
.tn-number {
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: #ffffff;
|
|
font-size: 16px;
|
|
font-weight: 800;
|
|
flex-shrink: 0;
|
|
}
|
|
.tn-title {
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
color: #1e293b;
|
|
}
|
|
.tn-divider {
|
|
height: 2px;
|
|
margin: 8px 0 10px;
|
|
border-radius: 1px;
|
|
opacity: 0.3;
|
|
}
|
|
.tn-desc {
|
|
font-size: 15px;
|
|
color: #475569;
|
|
line-height: 1.7;
|
|
white-space: pre-line;
|
|
word-break: keep-all;
|
|
}
|
|
</style>
|