@eliceio/cdk-cli 1.7.1 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (127) hide show
  1. package/README.md +18 -15
  2. package/es/commands/create/index.js +6 -3
  3. package/es/commands/create/scaffold.d.ts +1 -1
  4. package/es/commands/create/scaffold.js +1 -1
  5. package/es/commands/doctor/index.js +34 -1
  6. package/es/core/lesson-check.d.ts +7 -0
  7. package/es/core/lesson-check.js +87 -0
  8. package/es/core/templates.d.ts +2 -0
  9. package/es/core/templates.js +4 -1
  10. package/es/dev/host-page.js +5 -2
  11. package/es/dev/learner-files.d.ts +1 -1
  12. package/es/dev/learner-files.js +7 -4
  13. package/es/dev/learner-shares.d.ts +90 -0
  14. package/es/dev/learner-shares.js +282 -0
  15. package/es/dev/mock-api.d.ts +28 -0
  16. package/es/dev/mock-api.js +32 -1
  17. package/es/dev/server.d.ts +3 -0
  18. package/es/dev/server.js +22 -1
  19. package/package.json +2 -2
  20. package/skills/_shared/always.md +1 -1
  21. package/skills/_shared/references/02-design-the-material.md +10 -9
  22. package/skills/_shared/references/03-create-the-project.md +12 -11
  23. package/skills/_shared/references/05-screen-code.md +1 -0
  24. package/skills/_shared/references/08-fix-check-errors.md +1 -0
  25. package/skills/_shared/references/12-upload-with-the-material-mcp.md +2 -2
  26. package/skills/_shared/references/17-using-the-entry-template.md +44 -5
  27. package/skills/_shared/references/18-using-the-lesson-template.md +207 -0
  28. package/skills/_shared/references/19-lesson-layouts.md +2132 -0
  29. package/skills/elice-content-create/SKILL.md +4 -3
  30. package/skills/elice-content-publish/SKILL.md +3 -3
  31. package/templates/_shared/lib/cdk-mock.d.ts +16 -0
  32. package/templates/_shared/lib/cdk-mock.js +49 -0
  33. package/templates/blank/template.json +1 -1
  34. package/templates/board/README.md +15 -7
  35. package/templates/board/core/board.d.ts +13 -0
  36. package/templates/board/core/board.js +11 -1
  37. package/templates/board/core/files.d.ts +40 -0
  38. package/templates/board/core/files.js +176 -0
  39. package/templates/board/core/model.d.ts +5 -0
  40. package/templates/board/core/model.js +24 -7
  41. package/templates/board/core/settings.d.ts +2 -0
  42. package/templates/board/core/settings.js +12 -1
  43. package/templates/board/package.json +1 -1
  44. package/templates/board/screens/board.js +58 -0
  45. package/templates/board/screens/edit.js +36 -1
  46. package/templates/board/template.json +1 -1
  47. package/templates/board/ui/board.css +176 -0
  48. package/templates/board/ui/card.js +74 -1
  49. package/templates/board/ui/composer.js +169 -20
  50. package/templates/board/ui/icons.js +2 -0
  51. package/templates/board/ui/texts.js +30 -2
  52. package/templates/lesson/README.md +71 -0
  53. package/templates/lesson/commentary.txt +7 -0
  54. package/templates/lesson/core/dom.d.ts +4 -0
  55. package/templates/lesson/core/dom.js +22 -0
  56. package/templates/lesson/core/engine.d.ts +23 -0
  57. package/templates/lesson/core/engine.js +169 -0
  58. package/templates/lesson/core/interact.d.ts +2 -0
  59. package/templates/lesson/core/interact.js +429 -0
  60. package/templates/lesson/core/layout-files.d.ts +4 -0
  61. package/templates/lesson/core/layout-files.js +9 -0
  62. package/templates/lesson/core/lesson.d.ts +95 -0
  63. package/templates/lesson/core/lesson.js +609 -0
  64. package/templates/lesson/core/sample.d.ts +4 -0
  65. package/templates/lesson/core/sample.js +128 -0
  66. package/templates/lesson/edit.html +21 -0
  67. package/templates/lesson/gitignore +4 -0
  68. package/templates/lesson/index.html +22 -0
  69. package/templates/lesson/layouts/_actions.html +1 -0
  70. package/templates/lesson/layouts/_cmp.html +1 -0
  71. package/templates/lesson/layouts/_deco-corner.html +1 -0
  72. package/templates/lesson/layouts/_deco-cover.html +1 -0
  73. package/templates/lesson/layouts/_deco-section.html +1 -0
  74. package/templates/lesson/layouts/_foot.html +1 -0
  75. package/templates/lesson/layouts/_head.html +1 -0
  76. package/templates/lesson/layouts/_media.html +1 -0
  77. package/templates/lesson/layouts/agenda.html +13 -0
  78. package/templates/lesson/layouts/bar-chart.html +14 -0
  79. package/templates/lesson/layouts/cards.html +12 -0
  80. package/templates/lesson/layouts/checklist.html +12 -0
  81. package/templates/lesson/layouts/choice-list.html +13 -0
  82. package/templates/lesson/layouts/closing.html +13 -0
  83. package/templates/lesson/layouts/compare.html +12 -0
  84. package/templates/lesson/layouts/cover-dark.html +13 -0
  85. package/templates/lesson/layouts/cover.html +15 -0
  86. package/templates/lesson/layouts/figures.html +12 -0
  87. package/templates/lesson/layouts/flow.html +13 -0
  88. package/templates/lesson/layouts/how-to.html +15 -0
  89. package/templates/lesson/layouts/image-bg.html +12 -0
  90. package/templates/lesson/layouts/image-pair.html +15 -0
  91. package/templates/lesson/layouts/image-split.html +12 -0
  92. package/templates/lesson/layouts/layers.html +12 -0
  93. package/templates/lesson/layouts/objectives.html +12 -0
  94. package/templates/lesson/layouts/ox-card.html +24 -0
  95. package/templates/lesson/layouts/ox-list.html +21 -0
  96. package/templates/lesson/layouts/process.html +14 -0
  97. package/templates/lesson/layouts/profile.html +13 -0
  98. package/templates/lesson/layouts/prompt-builder.html +18 -0
  99. package/templates/lesson/layouts/quiz.html +14 -0
  100. package/templates/lesson/layouts/quote.html +12 -0
  101. package/templates/lesson/layouts/scenario-rows.html +12 -0
  102. package/templates/lesson/layouts/section.html +14 -0
  103. package/templates/lesson/layouts/simulation.html +18 -0
  104. package/templates/lesson/layouts/stat.html +14 -0
  105. package/templates/lesson/layouts/statement.html +13 -0
  106. package/templates/lesson/layouts/stats.html +12 -0
  107. package/templates/lesson/layouts/stepper.html +13 -0
  108. package/templates/lesson/layouts/table.html +12 -0
  109. package/templates/lesson/layouts/tabs.html +13 -0
  110. package/templates/lesson/layouts/text-visual.html +16 -0
  111. package/templates/lesson/layouts/timeline.html +12 -0
  112. package/templates/lesson/layouts/toggle.html +16 -0
  113. package/templates/lesson/layouts/variables.html +14 -0
  114. package/templates/lesson/layouts/venn.html +15 -0
  115. package/templates/lesson/layouts/versus.html +12 -0
  116. package/templates/lesson/metadata.json +9 -0
  117. package/templates/lesson/package.json +15 -0
  118. package/templates/lesson/public/img/sample-chat.svg +21 -0
  119. package/templates/lesson/screens/edit.js +79 -0
  120. package/templates/lesson/screens/learn.js +56 -0
  121. package/templates/lesson/styles.css +27 -0
  122. package/templates/lesson/template.json +7 -0
  123. package/templates/lesson/ui/design.css +1103 -0
  124. package/templates/lesson/ui/fonts/PretendardVariable.woff2 +0 -0
  125. package/templates/lesson/ui/learn.css +64 -0
  126. package/templates/lesson/ui/mobile.css +492 -0
  127. package/templates/lesson/ui/reset.css +6 -0
@@ -0,0 +1,128 @@
1
+ // 아직 저장한 내용이 없을 때 편집 화면이 시작할 견본 (짧은 예시 자료 9장). 학생 화면 기본 내용은 아니다:
2
+ // 편집 화면에서 저장해야 학생 화면에 보인다. 자료를 만들 때는 이 내용을 모두 바꾼다.
3
+ export const SAMPLE_LESSON = {
4
+ meta: {
5
+ title: '생성형 AI에게 질문 잘하기',
6
+ brand: '',
7
+ variables: [
8
+ {
9
+ key: 'topic',
10
+ label: '내가 정리할 주제',
11
+ default: '광합성',
12
+ hint: '수업에서 다룰 주제 하나',
13
+ },
14
+ ],
15
+ },
16
+ slides: [
17
+ {
18
+ layout: 'cover',
19
+ data: {
20
+ title: '생성형 AI에게\n질문 잘하기',
21
+ subtitle: '원하는 답을 얻는 질문의 네 가지 요소',
22
+ meta: '교육팀 / 30분',
23
+ },
24
+ },
25
+ {
26
+ layout: 'objectives',
27
+ data: {
28
+ title: '이 자료의 학습 목표',
29
+ goals: [
30
+ '좋은 질문의 네 가지 요소를 설명할 수 있다',
31
+ '막연한 질문을 구체적인 질문으로 수정할 수 있다',
32
+ '질문 틀에 내 주제를 넣어 직접 질문할 수 있다',
33
+ ],
34
+ note: '예상 학습 시간 30분',
35
+ },
36
+ },
37
+ {
38
+ layout: 'section',
39
+ data: {
40
+ number: '01',
41
+ title: '좋은 질문의 요소',
42
+ subtitle: '역할, 맥락, 할 일, 형식',
43
+ },
44
+ },
45
+ {
46
+ layout: 'cards',
47
+ data: {
48
+ title: '질문에 네 가지를 담으면 답이 구체적',
49
+ cols: '4',
50
+ items: [
51
+ { kicker: 'Role', title: '역할', desc: 'AI가 맡을 입장을 정합니다.' },
52
+ { kicker: 'Context', title: '맥락', desc: '대상과 상황을 알려 줍니다.' },
53
+ { kicker: 'Task', title: '할 일', desc: '원하는 결과를 한 문장으로 씁니다.' },
54
+ {
55
+ kicker: 'Format',
56
+ title: '형식',
57
+ desc: '분량과 모양을 정해 줍니다.',
58
+ hl: true,
59
+ },
60
+ ],
61
+ callout: '네 가지가 모두 있어야 다시 묻는 횟수가 줄어듭니다.',
62
+ },
63
+ },
64
+ {
65
+ layout: 'compare',
66
+ data: {
67
+ title: '막연한 질문을 구체적으로 고치기',
68
+ left: {
69
+ label: 'BEFORE',
70
+ title: '광합성 알려 줘',
71
+ points: ['알 수 없는 대상 수준', '정해지지 않은 분량과 형식'],
72
+ tone: 'bad',
73
+ },
74
+ right: {
75
+ label: 'AFTER',
76
+ title: '중학생용 광합성 설명 세 줄',
77
+ points: ['과학 교사 역할로 답하기', '중학교 1학년 수준, 세 줄 요약'],
78
+ tone: 'good',
79
+ },
80
+ callout: '같은 주제라도 요소를 더하면 바로 쓸 수 있는 답이 나옵니다.',
81
+ },
82
+ },
83
+ {
84
+ layout: 'variables',
85
+ data: {
86
+ title: '내 주제를 입력하기',
87
+ lead: '입력한 주제는 다음 쪽의 질문 틀에 바로 들어갑니다.',
88
+ },
89
+ },
90
+ {
91
+ layout: 'how-to',
92
+ data: {
93
+ title: '질문 틀에 내 주제 넣기',
94
+ steps: [
95
+ { text: '앞 쪽에서 입력한 주제가 질문에 들어갔는지 확인합니다.' },
96
+ {
97
+ text: '완성된 질문을 복사해 AI 도구에 붙여 넣습니다.',
98
+ code: '너는 과학 교사야. 중학교 1학년에게 [[topic]]을 세 줄로 설명해 줘.',
99
+ },
100
+ { text: '답이 세 줄인지, 수준이 맞는지 확인합니다.' },
101
+ ],
102
+ callout: '주제를 바꾸면 복사할 문구도 함께 바뀝니다.',
103
+ image: 'img/sample-chat.svg',
104
+ image_alt: 'AI 도구에 질문을 붙여 넣은 화면 예시',
105
+ caption: '질문을 붙여 넣고 보내기',
106
+ },
107
+ },
108
+ {
109
+ layout: 'quiz',
110
+ data: {
111
+ question: '질문에서 답의 분량과 모양을 정하는 요소는 무엇인가?',
112
+ options: ['역할', '맥락', '할 일', '형식'],
113
+ answer: 4,
114
+ explanation:
115
+ '형식은 세 줄, 표, 목록처럼 답의 분량과 모양을 정합니다. 역할과 맥락은 답의 관점과 수준을 정합니다.',
116
+ label: '확인 1 / 1',
117
+ },
118
+ },
119
+ {
120
+ layout: 'closing',
121
+ data: {
122
+ title: '오늘 배운 질문법 정리',
123
+ recap: ['역할', '맥락', '할 일', '형식'],
124
+ next: '다음 시간에는 AI 답을 검토하고 고쳐 달라고 요청하는 방법을 배웁니다.',
125
+ },
126
+ },
127
+ ],
128
+ };
@@ -0,0 +1,21 @@
1
+ <!doctype html>
2
+ <html lang="ko">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>내용 편집</title>
7
+ <link rel="stylesheet" href="lib/elice-tokens.css" />
8
+ <link rel="stylesheet" href="lib/elice-content.css" />
9
+ <link rel="stylesheet" href="styles.css" />
10
+ <script type="module" src="screens/edit.js"></script>
11
+ </head>
12
+ <body class="ec-edit-page">
13
+ <!-- 불러오는 동안: 키트 skeleton('edit')과 같은 자리 (글은 화면 읽기 프로그램에만) -->
14
+ <main id="app">
15
+ <div class="ec-sk ec-sk-edit" role="status">
16
+ <span class="ec-visually-hidden">불러오는 중…</span>
17
+ <div class="ec-sk-media ec-sk-shimmer"></div>
18
+ </div>
19
+ </main>
20
+ </body>
21
+ </html>
@@ -0,0 +1,4 @@
1
+ dist/
2
+ node_modules/
3
+ .env
4
+ .ecdk/
@@ -0,0 +1,22 @@
1
+ <!doctype html>
2
+ <html lang="ko">
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>학생 화면</title>
7
+ <!-- 키트 스타일 · 원본 디자인(ui/design.css)은 ui/learn.css가 순서대로 불러온다 (키트는 layer kit) -->
8
+ <link rel="stylesheet" href="ui/learn.css" />
9
+ <link rel="stylesheet" href="styles.css" />
10
+ <script type="module" src="screens/learn.js"></script>
11
+ </head>
12
+ <body class="lesson-learn">
13
+ <!-- 슬라이드는 screens/learn.js가 편집 화면이 저장한 내용(app.content)으로 그린다 (core/lesson.js).
14
+ 쪽 넘기기 · n / N · ← → 키는 키트 스테퍼(app.useStepper)가 한다: 직접 만들지 않는다 -->
15
+ <main id="app">
16
+ <!-- 불러오는 동안: 키트 skeleton('learn')과 같은 자리 (글은 화면 읽기 프로그램에만) -->
17
+ <div class="ec-sk ec-sk-learn ec-sk-shimmer" role="status">
18
+ <span class="ec-visually-hidden">불러오는 중…</span>
19
+ </div>
20
+ </main>
21
+ </body>
22
+ </html>
@@ -0,0 +1 @@
1
+ <div class="slide-actions">{{#retry_label}}<button type="button" class="act act--retry" data-act="retry">{{retry_label}}</button>{{/retry_label}}<button type="button" class="act act--primary" data-act="submit" disabled>{{submit_label}}</button></div>
@@ -0,0 +1 @@
1
+ <article class="card cmp tone-{{tone}}">{{#label}}<span class="cmp-label">{{label}}</span>{{/label}}<h3>{{title}}</h3>{{#image|image_hint}}{{>media}}{{/image|image_hint}}<ul class="pts">{{#points}}<li>{{.}}</li>{{/points}}</ul></article>
@@ -0,0 +1 @@
1
+ <svg class="deco-corner" viewBox="0 0 520 420" preserveAspectRatio="xMaxYMin meet" aria-hidden="true"><circle cx="360" cy="150" r="130" fill="#673cda"/><rect x="120" y="120" width="130" height="130" rx="12" transform="rotate(45 185 185)" fill="#9878ed" opacity=".75"/><rect x="330" y="215" width="120" height="120" rx="20" fill="none" stroke="#b7a2f3" stroke-width="3"/></svg>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 480 400" aria-hidden="true"><circle cx="270" cy="190" r="150" fill="#ede6ff"/><circle cx="335" cy="125" r="64" fill="#673cda"/><rect x="95" y="215" width="150" height="150" rx="22" transform="rotate(-12 170 290)" fill="none" stroke="#b7a2f3" stroke-width="3"/><rect x="190" y="95" width="110" height="110" rx="14" transform="rotate(45 245 150)" fill="#d9ccf5" opacity=".85"/><circle cx="380" cy="300" r="22" fill="#e4f5a5"/><path d="M92 120l8 22 22 8-22 8-8 22-8-22-22-8 22-8z" fill="#9878ed"/></svg>
@@ -0,0 +1 @@
1
+ <svg class="deco-section" viewBox="0 0 520 600" preserveAspectRatio="xMaxYMid meet" aria-hidden="true"><circle cx="360" cy="230" r="170" fill="#ede6ff"/><circle cx="400" cy="270" r="80" fill="#673cda"/><circle cx="200" cy="300" r="62" fill="none" stroke="#673cda" stroke-width="2"/></svg>
@@ -0,0 +1 @@
1
+ <footer class="slide-page"><b>{{page}}</b><span>/ {{total}}</span></footer>
@@ -0,0 +1 @@
1
+ <header class="slide-head"><span class="brand">{{head_left}}</span>{{#tag}}<span class="tag">{{tag}}</span>{{/tag}}{{^tag}}<span class="head-right">{{lesson_title}}</span>{{/tag}}</header>
@@ -0,0 +1 @@
1
+ <div class="media frame-{{frame}} ratio-{{ratio_c}} fit-{{fit}}" style="--focus:{{=focus_css}}">{{#is_window}}<div class="chrome"><i></i><i></i><i></i>{{#url}}<span>{{url}}</span>{{/url}}</div>{{/is_window}}<div class="shot">{{#image}}<img src="{{=image}}" alt="{{=image_alt}}">{{/image}}{{^image}}<div class="ph"><b>IMAGE</b><span>{{image_hint}}</span><small>{{ratio}} 비율, {{ratio_px}} 권장</small></div>{{/image}}</div></div>
@@ -0,0 +1,13 @@
1
+ <!--SCHEMA
2
+ {"id": "agenda", "name": "목차와 목표", "use": "오늘 다룰 내용, 전체 구성, 소요 시간을 카드 3~5개로 보여 준다", "avoid": "항목이 6개 이상일 때는 cards나 layers 사용", "slots": {"title": {"req": 1, "max": 24, "style": "title"}, "lead": {"max": 80, "style": "sentence", "hint": "한두 문장 요약. **굵게**로 핵심 강조"}, "items": {"n": [3, 5], "fields": {"title": {"req": 1, "max": 14, "style": "label"}, "meta": {"max": 22, "style": "label", "hint": "소요 시간이나 핵심 내용"}}}, "note": {"max": 30, "style": "label"}}}
3
+ -->
4
+ <section class="slide agenda" data-layout="agenda">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="body">
8
+ {{#lead}}<p class="lead">{{lead}}</p>{{/lead}}
9
+ <div class="grid cols-n" style="--n:{{items_n}}">{{#items}}<article class="card"><span class="idx">{{@nn}}</span><h3>{{title}}</h3>{{#meta}}<p>{{meta}}</p>{{/meta}}</article>{{/items}}</div>
10
+ {{#note}}<p class="note">{{note}}</p>{{/note}}
11
+ </div>
12
+ {{>foot}}
13
+ </section>
@@ -0,0 +1,14 @@
1
+ <!--SCHEMA
2
+ {"id": "bar-chart", "name": "세로 막대 그래프", "use": "항목별 수치 분포를 막대로 보여 주고 오른쪽에 핵심 해석 한 줄을 둔다. 강조할 막대는 hl", "avoid": "항목 12개 초과, 시계열 선 그래프", "slots": {"eyebrow": {"max": 28, "style": "label"}, "title": {"req": 1, "max": 34, "style": "title"}, "bars": {"n": [3, 12], "fields": {"label": {"req": 1, "max": 6, "style": "label"}, "pct": {"req": 1, "hint": "막대 높이 0~100. 가장 큰 값이 100"}, "value": {"max": 8, "style": "label", "hint": "막대 위에 표시할 값(강조 막대에서 보임)"}, "hl": {"t": "bool"}}}, "show_values": {"t": "bool", "hint": "모든 막대에 값 표시"}, "axis": {"max": 40, "style": "label", "hint": "가로축 설명"}, "big": {"req": 1, "max": 4}, "takeaway": {"req": 1, "max": 30, "style": "title"}, "source": {"max": 60, "style": "label"}}}
3
+ -->
4
+ <section class="slide" data-layout="bar-chart">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="body">
8
+ <div class="vchart-wrap">
9
+ <div><div class="vchart {{#show_values}}show-all{{/show_values}}">{{#bars}}<div class="vcol {{#hl}}is-hl{{/hl}}"><span class="val">{{value}}</span><div class="track"><div class="bar" style="--p:{{=pct}}"></div></div></div>{{/bars}}</div><div class="vlabels">{{#bars}}<span>{{label}}</span>{{/bars}}</div>{{#axis}}<p class="axis-title">{{axis}}</p>{{/axis}}</div>
10
+ <div class="takeaway"><div class="big">{{big}}</div><p class="arrowline">{{takeaway}}</p>{{#source}}<p class="source">{{source}}</p>{{/source}}</div>
11
+ </div>
12
+ </div>
13
+ {{>foot}}
14
+ </section>
@@ -0,0 +1,12 @@
1
+ <!--SCHEMA
2
+ {"id": "cards", "name": "카드 나열", "use": "병렬 항목 2~6개를 카드로 보여 준다. 열 수(2, 3, 4)로 밀도 조절. 강조할 카드 하나는 hl로 표시", "avoid": "항목 사이에 순서나 인과가 있으면 process나 flow 사용", "slots": {"eyebrow": {"max": 28, "style": "label"}, "title": {"req": 1, "max": 34, "style": "title"}, "cols": {"t": "enum", "opts": ["2", "3", "4"], "default": "3", "hint": "항목 4개는 2 또는 4, 3개와 6개는 3"}, "items": {"n": [2, 4], "fields": {"kicker": {"max": 22, "style": "label", "hint": "영문 소제목. 생략 가능"}, "title": {"req": 1, "max": 18, "style": "label"}, "desc": {"max": 44, "style": "sentence"}, "foot": {"max": 24, "style": "label", "hint": "카드 아래 보라 한 줄. 핵심 질문이나 결론"}, "hl": {"t": "bool"}}, "hint": "cols와 같은 개수가 가장 안정적(cols 3은 3개, cols 4는 4개, cols 2는 2개 또는 4개). 열 수보다 많으면 두 줄이 되어 넘칠 수 있음"}, "callout": {"max": 40, "style": "sentence"}}}
3
+ -->
4
+ <section class="slide" data-layout="cards">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="body">
8
+ <div class="grid cols-{{cols}} cards-{{cols}}">{{#items}}<article class="card {{#hl}}card--hl{{/hl}}"><span class="idx">{{@nn}}</span>{{#kicker}}<span class="kicker">{{kicker}}</span>{{/kicker}}<h3>{{title}}</h3>{{#desc}}<p>{{desc}}</p>{{/desc}}{{#foot}}<div class="foot">{{foot}}</div>{{/foot}}</article>{{/items}}</div>
9
+ {{#callout}}<div class="callout">{{callout}}</div>{{/callout}}
10
+ </div>
11
+ {{>foot}}
12
+ </section>
@@ -0,0 +1,12 @@
1
+ <!--SCHEMA
2
+ {"id": "checklist", "name": "체크리스트", "use": "시작 전 준비물이나 점검 항목을 체크박스로 보여 준다. 발표 중 클릭해서 체크할 수 있다", "avoid": "항목이 7개를 넘을 때", "slots": {"title": {"req": 1, "max": 20, "style": "title"}, "items": {"n": [3, 6], "item": {"max": 60, "style": "label"}}, "callout": {"max": 60, "style": "sentence"}}}
3
+ -->
4
+ <section class="slide" data-layout="checklist">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="body">
8
+ <div class="checklist">{{#items}}<label><input type="checkbox"><span>{{.}}</span></label>{{/items}}</div>
9
+ {{#callout}}<div class="callout">{{callout}}</div>{{/callout}}
10
+ </div>
11
+ {{>foot}}
12
+ </section>
@@ -0,0 +1,13 @@
1
+ <!--SCHEMA
2
+ {"id": "choice-list", "name": "객관식 퀴즈 목록", "use": "간단한 객관식 퀴즈 여러 개(2~3개)를 한 페이지에 목록으로 보여 준다. 문항마다 보기(2~3개)를 고르고 오른쪽 아래 제출하기를 누르면 정오와 해설이 표시되고, 다시 시도하기로 초기화한다", "avoid": "문항 하나를 크게 보여 줄 때(quiz 사용), 보기가 4개 이상이거나 길 때(quiz 사용)", "slots": {"eyebrow": {"max": 24, "style": "label"}, "title": {"req": 1, "max": 28, "style": "title"}, "tag": {"max": 10}, "lead": {"max": 30, "style": "label", "default": "알맞은 답을 눌러 보세요"}, "items": {"n": [2, 3], "fields": {"text": {"req": 1, "max": 44, "style": "question", "hint": "문항. '~인가?', '~는가?'로 끝냄"}, "options": {"n": [2, 3], "item": {"max": 14, "style": "label", "hint": "보기 14자 이내"}}, "answer": {"req": 1, "hint": "정답 보기 번호(1부터)"}, "explanation": {"max": 56, "style": "explain", "hint": "제출 후 문항 아래에 표시. '정답은'으로 시작하지 않음"}}}, "submit_label": {"max": 8, "style": "label", "default": "제출하기"}, "retry_label": {"max": 8, "style": "label", "default": "다시 시도하기"}}}
3
+ -->
4
+ <section class="slide" data-layout="choice-list">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="oxl" data-oxl>
8
+ <div class="oxl-head"><span>{{lead}}</span><span class="oxl-count">{{items_n}}문항</span></div>
9
+ {{#items}}<div class="oxl-row" data-answer="{{=answer}}"><p class="oxl-q">{{text}}</p><div class="oxl-btns">{{#options}}<button type="button" class="oxb oxb--c" data-v="{{@n}}">{{.}}</button>{{/options}}</div>{{#explanation}}<p class="oxl-exp">{{explanation}}</p>{{/explanation}}</div>{{/items}}
10
+ </div>
11
+ {{>actions}}
12
+ {{>foot}}
13
+ </section>
@@ -0,0 +1,13 @@
1
+ <!--SCHEMA
2
+ {"id": "closing", "name": "정리와 다음 단계", "use": "마지막 장. 오늘 다룬 내용을 흐름으로 요약하고 다음에 할 일을 적는다", "avoid": "자료 중간", "slots": {"title": {"req": 1, "max": 20, "style": "title"}, "recap_label": {"max": 10, "default": "오늘 한 것", "style": "label"}, "recap": {"n": [3, 7], "item": {"max": 10, "style": "label"}}, "next_label": {"max": 10, "default": "다음 단계", "style": "label"}, "next": {"req": 1, "max": 80, "style": "sentence", "hint": "누가 무엇을 언제까지 하는지 명시"}, "contact": {"max": 50, "style": "label"}}}
3
+ -->
4
+ <section class="slide" data-layout="closing">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="body">
8
+ <div class="closing-block"><span class="label">{{recap_label}}</span><div class="flow">{{#recap}}<div class="node"><b>{{.}}</b></div>{{^@last}}<span class="arrow">→</span>{{/@last}}{{/recap}}</div></div>
9
+ <div class="closing-block"><span class="label">{{next_label}}</span><p class="next">{{next}}</p></div>
10
+ {{#contact}}<p class="muted" style="font-size:.8em">{{contact}}</p>{{/contact}}
11
+ </div>
12
+ {{>foot}}
13
+ </section>
@@ -0,0 +1,12 @@
1
+ <!--SCHEMA
2
+ {"id": "compare", "name": "전후, 좋고 나쁨 비교", "use": "두 가지를 나란히 놓고 차이를 보여 준다. 변경 전후, 나쁜 예와 좋은 예, 기존 방식과 새 방식", "avoid": "비교 대상이 3개 이상이면 table 사용", "slots": {"eyebrow": {"max": 24, "style": "label"}, "title": {"req": 1, "max": 34, "style": "title"}, "left": {"req": 1, "fields": {"label": {"max": 10, "style": "label", "hint": "BEFORE, BAD 등 영문 대문자"}, "title": {"req": 1, "max": 24, "style": "label"}, "points": {"n": [0, 3], "item": {"max": 34, "style": "label"}}, "tone": {"t": "enum", "opts": ["bad", "good", "accent", "plain"], "default": "plain"}, "image": {"t": "image"}, "image_hint": {}}}, "right": {"req": 1, "fields": {"label": {"max": 10, "style": "label"}, "title": {"req": 1, "max": 24, "style": "label"}, "points": {"n": [0, 3], "item": {"max": 34, "style": "label"}}, "tone": {"t": "enum", "opts": ["bad", "good", "accent", "plain"], "default": "plain"}, "image": {"t": "image"}, "image_hint": {}}}, "callout": {"max": 44, "style": "sentence"}, "fit": {"t": "enum", "opts": ["cover", "contain"], "default": "cover"}, "frame": {"t": "enum", "opts": ["card", "window", "phone", "tint", "plain", "bleed", "portrait"], "hint": "이미지 틀. window는 브라우저 상단 바가 있어 화면을 조작하는 느낌(웹 화면 캡처), plain은 틀 없이 이미지만, card 둥근 카드, phone 휴대폰, tint 연보라 배경 패널, bleed 가장자리까지, portrait 인물", "default": "card"}, "ratio": {"t": "enum", "opts": ["16:10", "16:9", "2:1", "4:3", "1:1", "3:4", "9:16"], "hint": "이미지 비율. 반쪽 카드 안이라 옆으로 긴 2:1을 기본으로 한다", "default": "2:1"}, "focus": {"t": "enum", "opts": ["center", "top", "bottom", "left", "right"], "default": "center", "hint": "cover로 잘릴 때 남길 부분. 인물 사진은 top"}, "url": {"max": 40, "style": "quote", "hint": "window 틀의 주소 표시줄 문구. 생략 가능"}}}
3
+ -->
4
+ <section class="slide" data-layout="compare">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="body">
8
+ <div class="grid cols-2">{{#left}}{{>cmp}}{{/left}}{{#right}}{{>cmp}}{{/right}}</div>
9
+ {{#callout}}<div class="callout">{{callout}}</div>{{/callout}}
10
+ </div>
11
+ {{>foot}}
12
+ </section>
@@ -0,0 +1,13 @@
1
+ <!--SCHEMA
2
+ {"id": "cover-dark", "name": "어두운 표지", "use": "여러 장으로 이루어진 긴 자료의 표지. 하단에 챕터 목록을 보여 준다", "avoid": "챕터가 없는 짧은 자료", "slots": {"eyebrow": {"max": 24, "style": "label"}, "title": {"req": 1, "max": 20, "style": "title", "hint": "줄바꿈은 \\n"}, "subtitle": {"max": 36, "style": "label"}, "chapters": {"n": [2, 5], "hint": "챕터 이름 목록. 각 12자 이내 체언형", "item": {"max": 14, "style": "label"}}}}
3
+ -->
4
+ <section class="slide slide--dark" data-layout="cover-dark">
5
+ {{>head}}
6
+ {{>deco-corner}}
7
+ <div class="cover-dark">
8
+ {{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}
9
+ <h2 class="title title--xl">{{title}}</h2>
10
+ {{#subtitle}}<p class="subtitle">{{subtitle}}</p>{{/subtitle}}
11
+ <ul class="chapters" style="--n:{{chapters_n}}">{{#chapters}}<li><small>CH.{{@nn}}</small>{{.}}</li>{{/chapters}}</ul>
12
+ </div>
13
+ </section>
@@ -0,0 +1,15 @@
1
+ <!--SCHEMA
2
+ {"id": "cover", "name": "표지", "use": "자료의 첫 장. 제목, 부제, 날짜나 발표자를 담고 오른쪽에 일러스트나 대표 이미지를 둔다", "avoid": "자료에 한 번만 쓴다", "slots": {"eyebrow": {"max": 24, "style": "label", "hint": "영문 대문자 분류 라벨. 생략 가능"}, "title": {"req": 1, "max": 22, "style": "title", "hint": "줄바꿈은 \\n. 2줄 이내, 한 줄 12자 안팎"}, "subtitle": {"max": 40, "style": "label", "hint": "자료가 다루는 범위 한 줄"}, "meta": {"max": 40, "style": "label", "hint": "발표자, 팀, 날짜. 구분은 쉼표나 슬래시"}, "image": {"t": "image", "hint": "오른쪽 대표 이미지. 없으면 기본 도형 장식"}}}
3
+ -->
4
+ <section class="slide slide--cover" data-layout="cover">
5
+ {{>head}}
6
+ <div class="cover-grid">
7
+ <div class="cover-text">
8
+ {{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}
9
+ <h2 class="title title--xl">{{title}}</h2>
10
+ {{#subtitle}}<p class="subtitle">{{subtitle}}</p>{{/subtitle}}
11
+ {{#meta}}<p class="meta">{{meta}}</p>{{/meta}}
12
+ </div>
13
+ <div class="cover-art">{{#image}}<img src="{{=image}}" alt="{{=image_alt}}">{{/image}}{{^image}}{{>deco-cover}}{{/image}}</div>
14
+ </div>
15
+ </section>
@@ -0,0 +1,12 @@
1
+ <!--SCHEMA
2
+ {"id": "figures", "name": "그림 2~3장", "use": "이미지나 다이어그램 2~3장을 같은 크기로 나란히 놓고 각각 라벨과 설명을 붙인다. 사례 비교, 개념 도해", "avoid": "그림 4장 이상", "slots": {"eyebrow": {"max": 28, "style": "label"}, "title": {"req": 1, "max": 34, "style": "title"}, "figures": {"n": [2, 3], "fields": {"image": {"t": "image"}, "image_hint": {}, "label": {"max": 20, "style": "label", "hint": "영문 라벨"}, "caption": {"max": 34, "style": "label"}}}, "callout": {"max": 44, "style": "sentence"}, "fit": {"t": "enum", "opts": ["cover", "contain"], "default": "cover"}, "frame": {"t": "enum", "opts": ["card", "window", "phone", "tint", "plain", "bleed", "portrait"], "hint": "이미지 틀. window는 브라우저 상단 바가 있어 화면을 조작하는 느낌(웹 화면 캡처), plain은 틀 없이 이미지만, card 둥근 카드, phone 휴대폰, tint 연보라 배경 패널, bleed 가장자리까지, portrait 인물", "default": "card"}, "ratio": {"t": "enum", "opts": ["16:10", "16:9", "2:1", "4:3", "1:1", "3:4", "9:16"], "hint": "이미지 비율(phone 틀은 9:19 고정). 권장 픽셀은 이미지 자리에 표시됨", "default": "16:10"}, "focus": {"t": "enum", "opts": ["center", "top", "bottom", "left", "right"], "default": "center", "hint": "cover로 잘릴 때 남길 부분. 인물 사진은 top"}, "url": {"max": 40, "style": "quote", "hint": "window 틀의 주소 표시줄 문구. 생략 가능"}}}
3
+ -->
4
+ <section class="slide" data-layout="figures">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="body">
8
+ <div class="figures" style="--n:{{figures_n}}">{{#figures}}<figure class="figure"><div class="panel">{{>media}}</div>{{#label}}<span class="label">{{label}}</span>{{/label}}{{#caption}}<p>{{caption}}</p>{{/caption}}</figure>{{/figures}}</div>
9
+ {{#callout}}<div class="callout">{{callout}}</div>{{/callout}}
10
+ </div>
11
+ {{>foot}}
12
+ </section>
@@ -0,0 +1,13 @@
1
+ <!--SCHEMA
2
+ {"id": "flow", "name": "한 줄 흐름", "use": "A에서 B, C로 이어지는 3~6개 단계나 구성요소를 화살표로 잇는다. 아키텍처 개요, 작업 순서", "avoid": "각 단계에 설명이 길 때는 process 사용", "slots": {"eyebrow": {"max": 28, "style": "label"}, "title": {"req": 1, "max": 32, "style": "title"}, "lead": {"max": 70, "style": "sentence"}, "nodes": {"n": [3, 6], "fields": {"title": {"req": 1, "max": 12, "style": "label"}, "sub": {"max": 18, "style": "label"}, "tone": {"t": "enum", "opts": ["", "hl", "dark"], "hint": "hl은 보라, dark는 진한색. 마지막 결과물에 dark 사용"}}}, "callout": {"max": 60, "style": "sentence"}}}
3
+ -->
4
+ <section class="slide" data-layout="flow">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="body">
8
+ {{#lead}}<p class="lead">{{lead}}</p>{{/lead}}
9
+ <div class="flow">{{#nodes}}<div class="node node--{{tone}}"><b>{{title}}</b>{{#sub}}<small>{{sub}}</small>{{/sub}}</div>{{^@last}}<span class="arrow">→</span>{{/@last}}{{/nodes}}</div>
10
+ {{#callout}}<div class="callout">{{callout}}</div>{{/callout}}
11
+ </div>
12
+ {{>foot}}
13
+ </section>
@@ -0,0 +1,15 @@
1
+ <!--SCHEMA
2
+ {"id": "how-to", "name": "따라 하기", "use": "실습 절차를 번호 단계로 안내하고, 복사할 프롬프트나 명령어 박스와 결과 화면을 함께 보여 준다. 머리글 우측에 '따라 하기' 라벨 표시", "avoid": "개념 설명용 페이지", "slots": {"title": {"req": 1, "max": 24, "style": "title"}, "tag": {"max": 10, "default": "따라 하기"}, "steps": {"n": [2, 3], "fields": {"text": {"req": 1, "max": 44, "style": "practice", "hint": "합니다체, 단계마다 수행할 행동 명시"}, "code": {"max": 70, "style": "quote", "hint": "복사할 문구. 복사 버튼이 붙고 학습자가 직접 고쳐 쓸 수 있다"}}}, "callout": {"max": 36, "style": "sentence"}, "image": {"t": "image"}, "image_hint": {}, "caption": {"max": 40, "style": "label"}, "fit": {"t": "enum", "opts": ["cover", "contain"], "default": "contain"}, "frame": {"t": "enum", "opts": ["card", "window", "phone", "tint", "plain", "bleed", "portrait"], "hint": "이미지 틀. window는 브라우저 상단 바가 있어 화면을 조작하는 느낌(웹 화면 캡처), plain은 틀 없이 이미지만, card 둥근 카드, phone 휴대폰, tint 연보라 배경 패널, bleed 가장자리까지, portrait 인물", "default": "window"}, "ratio": {"t": "enum", "opts": ["16:10", "16:9", "2:1", "4:3", "1:1", "3:4", "9:16"], "hint": "이미지 비율(phone 틀은 9:19 고정). 권장 픽셀은 이미지 자리에 표시됨", "default": "4:3"}, "focus": {"t": "enum", "opts": ["center", "top", "bottom", "left", "right"], "default": "center", "hint": "cover로 잘릴 때 남길 부분. 인물 사진은 top"}, "url": {"max": 40, "style": "quote", "hint": "window 틀의 주소 표시줄 문구. 생략 가능"}}}
3
+ -->
4
+ <section class="slide" data-layout="how-to">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="howto">
8
+ <div class="split-text">
9
+ <ol class="steps">{{#steps}}<li><span>{{text}}</span>{{#code}}<div class="codebox"><button class="copy" type="button">복사</button><pre contenteditable="true" spellcheck="false" role="textbox" aria-label="복사할 문구, 직접 수정 가능">{{code}}</pre></div>{{/code}}</li>{{/steps}}</ol>
10
+ {{#callout}}<div class="callout">{{callout}}</div>{{/callout}}
11
+ </div>
12
+ <figure class="panel">{{>media}}{{#caption}}<figcaption>{{caption}}</figcaption>{{/caption}}</figure>
13
+ </div>
14
+ {{>foot}}
15
+ </section>
@@ -0,0 +1,12 @@
1
+ <!--SCHEMA
2
+ {"id": "image-bg", "name": "전면 배경 이미지", "use": "화면 전체를 이미지로 채우고 왼쪽에 제목과 카드를 올린다. 제품 화면 여러 개를 배경으로 쓰는 사례 소개. 왼쪽 반쪽은 반투명 막으로 덮여 글이 읽힌다", "avoid": "글이 많을 때, 이미지 해상도가 낮을 때(전체 화면 크기이므로 1920x1080 이상 권장)", "slots": {"eyebrow": {"max": 28, "style": "label"}, "title": {"req": 1, "max": 22, "style": "title", "hint": "\\n 가능"}, "cards": {"n": [0, 2], "fields": {"title": {"req": 1, "max": 14, "style": "label"}, "desc": {"max": 22, "style": "label"}}}, "callout": {"max": 24, "style": "label", "hint": "아래 primary 색 띠 문구"}, "tone": {"t": "enum", "opts": ["dark", "light"], "default": "dark", "hint": "왼쪽 막 색. 배경 이미지가 어두우면 dark"}, "image": {"t": "image"}, "image_hint": {}, "fit": {"t": "enum", "opts": ["cover", "contain"], "default": "cover"}, "focus": {"t": "enum", "opts": ["center", "top", "bottom", "left", "right"], "default": "center"}}}
3
+ -->
4
+ <section class="slide slide--imgbg tone-{{tone}}" data-layout="image-bg">
5
+ <div class="bg-media">{{>media}}</div><div class="scrim"></div>
6
+ <div class="imgbg-text">
7
+ {{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}
8
+ <h2 class="title">{{title}}</h2>
9
+ <div class="imgbg-cards">{{#cards}}<article class="imgbg-card"><h3>{{title}}</h3>{{#desc}}<p>{{desc}}</p>{{/desc}}</article>{{/cards}}</div>
10
+ {{#callout}}<div class="imgbg-bar">{{callout}}</div>{{/callout}}
11
+ </div>
12
+ </section>
@@ -0,0 +1,15 @@
1
+ <!--SCHEMA
2
+ {"id": "image-pair", "name": "이미지 짝 비교", "use": "변경 전과 후, 기존과 신규처럼 이미지 두 장을 같은 틀로 나란히 놓고 위에 라벨, 아래에 캡션을 붙인다. 아래에 한 줄 결론을 둘 수 있다", "avoid": "세 장 이상(figures 사용), 글 설명이 중심일 때(compare 사용)", "slots": {"eyebrow": {"max": 28, "style": "label"}, "title": {"req": 1, "max": 34, "style": "title"}, "left": {"req": 1, "fields": {"label": {"req": 1, "max": 28, "style": "label", "hint": "BEFORE, 기존 방식 등"}, "image": {"t": "image"}, "image_hint": {}, "caption": {"max": 40, "style": "label"}}}, "right": {"req": 1, "fields": {"label": {"req": 1, "max": 28, "style": "label", "hint": "AFTER, 신규 방식 등"}, "image": {"t": "image"}, "image_hint": {}, "caption": {"max": 40, "style": "label"}}}, "conclusion": {"max": 30, "style": "label", "hint": "아래 보라색 한 줄 결론. 결론 문장으로 하단을 강조하므로 별도의 보조 설명은 두지 않는다"}, "fit": {"t": "enum", "opts": ["cover", "contain"], "default": "cover"}, "frame": {"t": "enum", "opts": ["card", "window", "phone", "tint", "plain", "bleed", "portrait"], "default": "card", "hint": "이미지 틀. window는 브라우저 상단 바가 있어 화면을 조작하는 느낌(웹 화면 캡처), plain은 틀 없이 이미지만, card 둥근 카드, phone 휴대폰, tint 연보라 배경 패널, bleed 가장자리까지, portrait 인물"}, "ratio": {"t": "enum", "opts": ["16:10", "16:9", "2:1", "4:3", "1:1", "3:4", "9:16"], "default": "16:9", "hint": "이미지 비율"}, "focus": {"t": "enum", "opts": ["center", "top", "bottom", "left", "right"], "default": "center"}, "url": {"max": 40, "style": "quote", "hint": "window 틀의 주소 표시줄 문구"}}}
3
+ -->
4
+ <section class="slide" data-layout="image-pair">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="body">
8
+ <div class="pair">
9
+ {{#left}}<figure class="panel pair-item"><span class="pair-label">{{label}}</span>{{>media}}{{#caption}}<figcaption>{{caption}}</figcaption>{{/caption}}</figure>{{/left}}
10
+ {{#right}}<figure class="panel pair-item"><span class="pair-label">{{label}}</span>{{>media}}{{#caption}}<figcaption>{{caption}}</figcaption>{{/caption}}</figure>{{/right}}
11
+ </div>
12
+ {{#conclusion}}<div class="pair-foot"><span class="pair-concl">{{conclusion}}</span></div>{{/conclusion}}
13
+ </div>
14
+ {{>foot}}
15
+ </section>
@@ -0,0 +1,12 @@
1
+ <!--SCHEMA
2
+ {"id": "image-split", "name": "전면 이미지 분할", "use": "화면 절반을 꽉 채우는 이미지와 사례 설명을 나란히 둔다. 사례, 제품 소개, 프로젝트 개요", "avoid": "이미지가 없을 때. 캡처 화면이 작아 잘릴 때는 text-visual 사용", "slots": {"eyebrow": {"max": 28, "style": "label", "hint": "CASE, 프로젝트명 등"}, "title": {"req": 1, "max": 30, "style": "title", "hint": "\\n 가능"}, "facts": {"n": [0, 4], "fields": {"title": {"req": 1, "max": 12, "style": "label", "hint": "항목 제목(SCOPE, 기간 등)"}, "desc": {"req": 1, "max": 30, "style": "label", "hint": "제목에 대한 내용"}}}, "text": {"max": 90, "style": "sentence"}, "image": {"t": "image"}, "image_hint": {}, "fit": {"t": "enum", "opts": ["cover", "contain"], "default": "cover"}, "flip": {"t": "bool", "hint": "true면 이미지가 왼쪽"}, "frame": {"t": "enum", "opts": ["card", "window", "phone", "tint", "plain", "bleed", "portrait"], "hint": "이미지 틀. window는 브라우저 상단 바가 있어 화면을 조작하는 느낌(웹 화면 캡처), plain은 틀 없이 이미지만, card 둥근 카드, phone 휴대폰, tint 연보라 배경 패널, bleed 가장자리까지, portrait 인물", "default": "bleed"}, "ratio": {"t": "enum", "opts": ["16:10", "16:9", "2:1", "4:3", "1:1", "3:4", "9:16"], "hint": "이미지 비율(phone 틀은 9:19 고정). 권장 픽셀은 이미지 자리에 표시됨", "default": "16:10"}, "focus": {"t": "enum", "opts": ["center", "top", "bottom", "left", "right"], "default": "center", "hint": "cover로 잘릴 때 남길 부분. 인물 사진은 top"}}}
3
+ -->
4
+ <section class="slide slide--imgsplit {{#flip}}is-left{{/flip}}" data-layout="image-split">
5
+ <div class="imgsplit-text">
6
+ {{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}
7
+ <h2 class="title">{{title}}</h2>
8
+ {{#text}}<p class="body-text">{{text}}</p>{{/text}}
9
+ <dl class="facts" style="margin:0">{{#facts}}<div><dt>{{title}}</dt><dd>{{desc}}</dd></div>{{/facts}}</dl>
10
+ </div>
11
+ <div class="imgsplit-img">{{>media}}</div>
12
+ </section>
@@ -0,0 +1,12 @@
1
+ <!--SCHEMA
2
+ {"id": "layers", "name": "레이어 구조", "use": "층으로 나뉜 구조를 위에서 아래로 쌓아 보여 준다. 사용자, 제품, 사업, 플랫폼처럼 계층 관계", "avoid": "층이 5개를 넘을 때", "slots": {"eyebrow": {"max": 28, "style": "label"}, "title": {"req": 1, "max": 34, "style": "title"}, "rows": {"n": [3, 5], "fields": {"label": {"req": 1, "max": 10, "style": "label", "hint": "영문 대문자 층 이름"}, "tone": {"t": "enum", "opts": ["outline", "chip", "soft", "solid"], "default": "outline", "hint": "위에서 아래로 outline, chip, soft, solid 순서 권장"}, "items": {"n": [1, 6], "item": {"max": 20, "style": "label"}}}}, "callout": {"max": 60, "style": "sentence"}}}
3
+ -->
4
+ <section class="slide" data-layout="layers">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="body">
8
+ <div class="layers">{{#rows}}<div class="layer tone-{{tone}}"><span class="layer-label">{{label}}</span><div class="layer-items" style="--n:{{items_n}}">{{#items}}<div>{{.}}</div>{{/items}}</div></div>{{/rows}}</div>
9
+ {{#callout}}<div class="callout">{{callout}}</div>{{/callout}}
10
+ </div>
11
+ {{>foot}}
12
+ </section>
@@ -0,0 +1,12 @@
1
+ <!--SCHEMA
2
+ {"id": "objectives", "name": "학습 목표", "use": "교육 자료에서 학습자가 마친 뒤 할 수 있는 행동을 제시한다", "avoid": "교육 목적이 아닌 보고서", "slots": {"title": {"req": 1, "max": 20, "style": "title"}, "goals": {"n": [2, 5], "hint": "관찰할 수 있는 행동을 '~할 수 있다'로 끝냄", "item": {"max": 48, "style": "goal"}}, "note": {"max": 40, "style": "label"}}}
3
+ -->
4
+ <section class="slide" data-layout="objectives">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="body">
8
+ <ul class="goals">{{#goals}}<li>{{.}}</li>{{/goals}}</ul>
9
+ {{#note}}<p class="muted" style="font-size:.8em">{{note}}</p>{{/note}}
10
+ </div>
11
+ {{>foot}}
12
+ </section>
@@ -0,0 +1,24 @@
1
+ <!--SCHEMA
2
+ {"id":"ox-card","name":"OX 퀴즈 카드","use":"한 페이지에 OX 퀴즈 하나를 플래시 카드처럼 크게 보여 준다. 진술문 아래에 큰 O, X 카드를 놓고, 고른 뒤 제출하기를 누르면 정오와 해설이 카드 안에 표시된다. 여러 문제는 이 페이지를 반복해서 쓴다","avoid":"한 페이지에 여러 문항을 넣을 때(ox-list 사용)",
3
+ "slots":{
4
+ "eyebrow":{"max":24,"style":"label"},
5
+ "title":{"req":1,"max":20,"style":"title","default":"OX 퀴즈"},
6
+ "tag":{"max":10},
7
+ "label":{"max":16,"style":"label","hint":"카드 위 작은 라벨(선택). 문제 3, 3 / 5 처럼 몇 번째 문제인지 표시"},
8
+ "text":{"req":1,"max":60,"style":"sentence","hint":"참, 거짓을 판단할 진술문. 합니다체로 한두 문장"},
9
+ "answer":{"t":"enum","opts":["O","X"],"default":"O","hint":"정답"},
10
+ "explanation":{"req":1,"max":80,"style":"explain","hint":"제출 후 카드 안에 표시. '정답은'으로 시작하지 않음"},
11
+ "submit_label":{"max":8,"style":"label","default":"제출하기"},
12
+ "retry_label":{"max":8,"style":"label","default":"다시 시도하기"}}}
13
+ -->
14
+ <section class="slide" data-layout="ox-card">
15
+ {{>head}}
16
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
17
+ <div class="oxc" data-oxc data-answer="{{=answer}}">
18
+ <div class="oxc-card">{{#label}}<span class="oxc-label">{{label}}</span>{{/label}}<p class="oxc-q">{{text}}</p>
19
+ <div class="oxc-tiles"><button type="button" class="oxt oxt--o" data-v="O" aria-label="O"><svg viewBox="0 0 100 100" aria-hidden="true"><circle cx="50" cy="50" r="33" fill="none" stroke="currentColor" stroke-width="13"/></svg></button><button type="button" class="oxt oxt--x" data-v="X" aria-label="X"><svg viewBox="0 0 100 100" aria-hidden="true"><path d="M22 22 78 78M78 22 22 78" fill="none" stroke="currentColor" stroke-width="13" stroke-linecap="round"/></svg></button></div>
20
+ <div class="callout oxc-exp">{{explanation}}</div></div>
21
+ </div>
22
+ {{>actions}}
23
+ {{>foot}}
24
+ </section>
@@ -0,0 +1,21 @@
1
+ <!--SCHEMA
2
+ {"id":"ox-list","name":"OX 퀴즈 목록","use":"간단한 OX 퀴즈 여러 개(2~4개)를 한 페이지에 목록으로 보여 준다. 문항마다 O, X 버튼을 누르고 오른쪽 아래 제출하기를 누르면 정오와 해설이 표시되고, 다시 시도하기로 초기화한다","avoid":"문항 하나에 길게 설명할 때(ox-card, quiz 사용), 보기가 셋 이상인 문항(quiz 사용)",
3
+ "slots":{
4
+ "eyebrow":{"max":24,"style":"label"},
5
+ "title":{"req":1,"max":28,"style":"title"},
6
+ "tag":{"max":10},
7
+ "lead":{"max":30,"style":"label","default":"O 또는 X를 눌러 보세요"},
8
+ "items":{"n":[2,4],"fields":{"text":{"req":1,"max":44,"style":"sentence","hint":"참, 거짓을 판단할 진술문. 합니다체로 한 문장"},"answer":{"t":"enum","opts":["O","X"],"default":"O","hint":"정답"},"explanation":{"max":56,"style":"explain","hint":"제출 후 문항 아래에 표시. '정답은'으로 시작하지 않음"}}},
9
+ "submit_label":{"max":8,"style":"label","default":"제출하기"},
10
+ "retry_label":{"max":8,"style":"label","default":"다시 시도하기"}}}
11
+ -->
12
+ <section class="slide" data-layout="ox-list">
13
+ {{>head}}
14
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
15
+ <div class="oxl" data-oxl>
16
+ <div class="oxl-head"><span>{{lead}}</span><span class="oxl-count">{{items_n}}문항</span></div>
17
+ {{#items}}<div class="oxl-row" data-answer="{{=answer}}"><p class="oxl-q">{{text}}</p><div class="oxl-btns"><button type="button" class="oxb" data-v="O" aria-label="O">O</button><button type="button" class="oxb" data-v="X" aria-label="X">X</button></div>{{#explanation}}<p class="oxl-exp">{{explanation}}</p>{{/explanation}}</div>{{/items}}
18
+ </div>
19
+ {{>actions}}
20
+ {{>foot}}
21
+ </section>
@@ -0,0 +1,14 @@
1
+ <!--SCHEMA
2
+ {"id": "process", "name": "단계별 프로세스", "use": "순서가 있는 3~6단계를 카드로 보여 준다. 상단 띠로 단계 묶음(문제, 해결, 실행 등)을 표시할 수 있다", "avoid": "단계가 7개 이상일 때는 둘로 나눈다", "slots": {"eyebrow": {"max": 28, "style": "label"}, "title": {"req": 1, "max": 30, "style": "title"}, "phases": {"n": [0, 3], "hint": "단계 묶음 띠. span의 합은 단계 수와 같아야 함", "fields": {"label": {"req": 1, "max": 14, "style": "label"}, "span": {"req": 1, "hint": "묶음이 차지하는 단계 수"}, "tone": {"t": "enum", "opts": ["light", "mid", "dark"], "default": "light"}}}, "steps": {"n": [3, 6], "fields": {"title": {"req": 1, "max": 16, "style": "label"}, "sub": {"max": 14, "style": "label"}, "desc": {"max": 40, "style": "label"}, "question": {"max": 30, "style": "label", "hint": "카드 아래 보라 질문 또는 산출물"}}}}}
3
+ -->
4
+ <section class="slide" data-layout="process">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="body">
8
+ <div class="process" style="--n:{{steps_n}}">
9
+ {{#phases}}<div class="phase tone-{{tone}}" style="grid-column:span {{span}}">{{label}}</div>{{/phases}}
10
+ {{#steps}}<article class="card step-card"><span class="idx">{{@nn}}</span><h3>{{title}}</h3>{{#sub}}<div class="sub">{{sub}}</div>{{/sub}}{{#desc}}<p>{{desc}}</p>{{/desc}}{{#question}}<div class="foot">{{question}}</div>{{/question}}</article>{{/steps}}
11
+ </div>
12
+ </div>
13
+ {{>foot}}
14
+ </section>
@@ -0,0 +1,13 @@
1
+ <!--SCHEMA
2
+ {"id": "profile", "name": "인물과 인용", "use": "인물 사진, 연도별 이력, 인용문을 3열로 보여 준다. 인물이나 조직의 배경 소개", "avoid": "인물 사진이 없을 때", "slots": {"eyebrow": {"max": 28, "style": "label"}, "title": {"req": 1, "max": 30, "style": "title"}, "image": {"t": "image"}, "image_hint": {}, "rows": {"n": [2, 4], "fields": {"title": {"req": 1, "max": 16, "style": "label", "hint": "연도, 직함, 사건명 등 항목의 제목"}, "desc": {"max": 34, "style": "label", "hint": "제목에 대한 설명"}}}, "quote": {"req": 1, "max": 100, "style": "quote", "hint": "실제 인용문은 원문 그대로"}, "quote_by": {"max": 30, "style": "label"}, "frame": {"t": "enum", "opts": ["card", "window", "phone", "tint", "plain", "bleed", "portrait"], "hint": "이미지 틀. window는 브라우저 상단 바가 있어 화면을 조작하는 느낌(웹 화면 캡처), plain은 틀 없이 이미지만, card 둥근 카드, phone 휴대폰, tint 연보라 배경 패널, bleed 가장자리까지, portrait 인물", "default": "portrait"}, "ratio": {"t": "enum", "opts": ["16:10", "16:9", "2:1", "4:3", "1:1", "3:4", "9:16"], "hint": "이미지 비율(phone 틀은 9:19 고정). 권장 픽셀은 이미지 자리에 표시됨", "default": "1:1"}, "focus": {"t": "enum", "opts": ["center", "top", "bottom", "left", "right"], "default": "center", "hint": "cover로 잘릴 때 남길 부분. 인물 사진은 top"}}}
3
+ -->
4
+ <section class="slide" data-layout="profile">
5
+ {{>head}}
6
+ <div class="titlebox">{{#eyebrow}}<p class="eyebrow">{{eyebrow}}</p>{{/eyebrow}}<h2 class="title">{{title}}</h2></div>
7
+ <div class="profile">
8
+ <div class="portrait">{{>media}}</div>
9
+ <ul class="timeline-rows">{{#rows}}<li><b>{{title}}</b>{{#desc}}<span>{{desc}}</span>{{/desc}}</li>{{/rows}}</ul>
10
+ <div class="quote-card"><span class="mark">“</span><p>{{quote}}</p>{{#quote_by}}<cite>{{quote_by}}</cite>{{/quote_by}}</div>
11
+ </div>
12
+ {{>foot}}
13
+ </section>