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>
49 lines
1.2 KiB
HTML
49 lines
1.2 KiB
HTML
<!-- 아이콘 설명 카드: 아이콘 + 제목 + 설명 (2~4열) -->
|
|
<!--
|
|
📋 card-icon-desc
|
|
─────────────────
|
|
용도: 기능/특성/장점을 아이콘과 함께 나열. 시각적으로 분류.
|
|
슬롯: cards[] (각 카드에 icon, title, description)
|
|
Figma 원본: 2-3_01 아이콘 3열 설명
|
|
-->
|
|
<div class="block-card-icon" style="--ci-count: {{ cards|length }}">
|
|
{% for card in cards %}
|
|
<div class="cid-card">
|
|
{% if card.icon %}<div class="cid-icon">{{ card.icon }}</div>{% endif %}
|
|
<div class="cid-title">{{ card.title }}</div>
|
|
{% if card.description %}<div class="cid-desc">{{ card.description }}</div>{% endif %}
|
|
</div>
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<style>
|
|
.block-card-icon {
|
|
display: grid;
|
|
grid-template-columns: repeat(var(--ci-count, 3), 1fr);
|
|
gap: 16px;
|
|
}
|
|
.cid-card {
|
|
text-align: center;
|
|
padding: 20px 16px;
|
|
background: #f8fafc;
|
|
border-radius: 8px;
|
|
border: 1px solid #e2e8f0;
|
|
}
|
|
.cid-icon {
|
|
font-size: 2.5rem;
|
|
margin-bottom: 10px;
|
|
}
|
|
.cid-title {
|
|
font-size: 15px;
|
|
font-weight: 700;
|
|
color: #1e293b;
|
|
margin-bottom: 6px;
|
|
}
|
|
.cid-desc {
|
|
font-size: 13px;
|
|
color: #475569;
|
|
line-height: 1.7;
|
|
white-space: pre-line;
|
|
}
|
|
</style>
|