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>
75 lines
1.8 KiB
HTML
75 lines
1.8 KiB
HTML
<!-- 세로 타임라인: 좌측 선 + 원형 마커 + 우측 내용 (SVG 마커) -->
|
|
<!--
|
|
📋 timeline-vertical
|
|
─────────────────
|
|
용도: 연혁, 정책 시행 일정, 로드맵, 연도별 사건
|
|
슬롯: events[] (각 이벤트에 year, title, description, color)
|
|
Figma 참고: 정책 로드맵, 건설 정책 추진현황
|
|
-->
|
|
<div class="block-timeline-v">
|
|
{% for event in events %}
|
|
<div class="tv-event">
|
|
<div class="tv-marker-col">
|
|
<svg viewBox="0 0 24 24" width="24" height="24" xmlns="http://www.w3.org/2000/svg">
|
|
<circle cx="12" cy="12" r="10" fill="{{ event.color | default('#2563eb') }}" />
|
|
<circle cx="12" cy="12" r="5" fill="white" />
|
|
</svg>
|
|
{% if not loop.last %}<div class="tv-line" style="background: {{ event.color | default('#2563eb') }}"></div>{% endif %}
|
|
</div>
|
|
<div class="tv-content">
|
|
<div class="tv-year" style="color: {{ event.color | default('#2563eb') }}">{{ event.year }}</div>
|
|
<div class="tv-title">{{ event.title }}</div>
|
|
{% if event.description %}<div class="tv-desc">{{ event.description }}</div>{% endif %}
|
|
</div>
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<style>
|
|
.block-timeline-v {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0;
|
|
padding: 10px 0;
|
|
}
|
|
.tv-event {
|
|
display: flex;
|
|
gap: 14px;
|
|
}
|
|
.tv-marker-col {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
flex-shrink: 0;
|
|
width: 24px;
|
|
}
|
|
.tv-line {
|
|
width: 2px;
|
|
flex: 1;
|
|
min-height: 20px;
|
|
opacity: 0.3;
|
|
border-radius: 1px;
|
|
}
|
|
.tv-content {
|
|
padding-bottom: 20px;
|
|
flex: 1;
|
|
}
|
|
.tv-year {
|
|
font-size: 13px;
|
|
font-weight: 800;
|
|
margin-bottom: 2px;
|
|
}
|
|
.tv-title {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
margin-bottom: 4px;
|
|
}
|
|
.tv-desc {
|
|
font-size: 13px;
|
|
color: #475569;
|
|
line-height: 1.7;
|
|
white-space: pre-line;
|
|
}
|
|
</style>
|