-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathshowcase.html
More file actions
147 lines (135 loc) · 6.82 KB
/
showcase.html
File metadata and controls
147 lines (135 loc) · 6.82 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
<!--
Copyright 2026 ABSA Group Limited
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
{#- Jinja2 template — rendered by pack.py with data from data/showcase.yml -#}
{%- set icons = {
'book': '<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/><path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/>',
'clock': '<circle cx="12" cy="12" r="10"/><polyline points="12 6 12 12 16 14"/>',
'code': '<polyline points="16 18 22 12 16 6"/><polyline points="8 6 2 12 8 18"/>',
'shield': '<path d="M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z"/>',
'broadcast': '<circle cx="12" cy="12" r="3"/><path d="M19.07 4.93a10 10 0 0 1 0 14.14M4.93 4.93a10 10 0 0 0 0 14.14"/>',
'file-text': '<path d="M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"/><polyline points="14 2 14 8 20 8"/><line x1="16" y1="13" x2="8" y2="13"/><line x1="16" y1="17" x2="8" y2="17"/><polyline points="10 9 9 9 8 9"/>',
'layers': '<polygon points="12 2 2 7 12 12 22 7 12 2"/><polyline points="2 17 12 22 22 17"/><polyline points="2 12 12 17 22 12"/>',
'settings': '<circle cx="12" cy="12" r="3"/><path d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1-2.83 2.83l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-4 0v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83-2.83l.06-.06A1.65 1.65 0 0 0 4.68 15a1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1 0-4h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 2.83-2.83l.06.06A1.65 1.65 0 0 0 9 4.68a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 4 0v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 2.83l-.06.06A1.65 1.65 0 0 0 19.4 9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 0 4h-.09a1.65 1.65 0 0 0-1.51 1z"/>',
'zap': '<polygon points="13 2 3 14 12 14 11 22 21 10 12 10 13 2"/>',
'globe': '<circle cx="12" cy="12" r="10"/><line x1="2" y1="12" x2="22" y2="12"/><path d="M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z"/>',
'check-circle': '<path d="M22 11.08V12a10 10 0 1 1-5.93-9.14"/><polyline points="22 4 12 14.01 9 11.01"/>',
'lock': '<rect x="3" y="11" width="18" height="11" rx="2" ry="2"/><path d="M7 11V7a5 5 0 0 1 10 0v4"/>'
} -%}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{{ data.site_title }} — Showcase</title>
<meta name="description" content="{{ data.hero.subtitle }}" />
<link rel="stylesheet" href="docs/style.css" />
<link rel="stylesheet" href="showcase.css" />
</head>
<body>
<div id="showcase-root">
<!-- ── Navigation ── -->
<nav class="sc-nav" aria-label="Site navigation">
<a href="index.html" class="sc-nav__logo" aria-label="Go to home">
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" style="height:28px;width:28px;" aria-hidden="true">
<path d="M4 19.5A2.5 2.5 0 0 1 6.5 17H20"/>
<path d="M6.5 2H20v20H6.5A2.5 2.5 0 0 1 4 19.5v-15A2.5 2.5 0 0 1 6.5 2z"/>
</svg>
<span class="sc-nav__title">{{ data.site_title }}</span>
</a>
<div class="sc-nav__links">
{%- for link in data.nav.links %}
<a href="{{ link.url }}" class="sc-nav__link">{{ link.label }}</a>
{%- endfor %}
<a href="{{ data.nav.cta.url }}" class="sc-nav__cta">{{ data.nav.cta.label }}</a>
</div>
</nav>
<!-- ── /Navigation ── -->
<!-- ── Hero ── -->
<section class="sc-hero" aria-label="Hero">
<div class="sc-hero__bg" role="presentation"></div>
<div class="sc-hero__content">
<span class="sc-hero__eyebrow">{{ data.hero.eyebrow }}</span>
<h1 class="sc-hero__title">
{{ data.hero.title }}<br>
<span>{{ data.hero.title_highlight }}</span>
</h1>
<p class="sc-hero__sub">{{ data.hero.subtitle }}</p>
<div class="sc-hero__actions">
{%- for action in data.hero.actions %}
<a href="{{ action.url }}" class="sc-btn sc-btn--{{ action.style }}">{{ action.label }}</a>
{%- endfor %}
</div>
</div>
</section>
<!-- ── Features ── -->
<section aria-label="{{ data.features.label }}">
<div class="sc-section">
<p class="sc-section__label">{{ data.features.label }}</p>
<h2 class="sc-section__title">{{ data.features.title }}</h2>
<p class="sc-section__sub">{{ data.features.subtitle }}</p>
<div class="sc-features">
{%- for card in data.features.cards %}
<div class="sc-feature-card">
<div class="sc-feature-card__icon">
<svg viewBox="0 0 24 24" aria-hidden="true">{{ icons[card.icon] }}</svg>
</div>
<h3 class="sc-feature-card__title">{{ card.title }}</h3>
<p class="sc-feature-card__text">{{ card.text }}</p>
</div>
{%- endfor %}
</div>
</div>
</section>
<!-- ── Steps ── -->
<div class="sc-steps-bg">
<section aria-label="{{ data.steps.label }}">
<div class="sc-section">
<p class="sc-section__label">{{ data.steps.label }}</p>
<h2 class="sc-section__title">{{ data.steps.title }}</h2>
<p class="sc-section__sub">{{ data.steps.subtitle }}</p>
<div class="sc-steps">
{%- for step in data.steps.entries %}
<div class="sc-step">
<div class="sc-step__num">{{ loop.index }}</div>
<div>
<p class="sc-step__title">{{ step.title }}</p>
<p class="sc-step__text">{{ step.text }}</p>
</div>
</div>
{%- endfor %}
</div>
</div>
</section>
</div>
<!-- ── CTA banner ── -->
<section class="sc-cta" aria-label="Call to action">
<h2 class="sc-cta__title">{{ data.cta.title }}</h2>
<p class="sc-cta__sub">{{ data.cta.subtitle }}</p>
<div class="sc-cta__actions">
{%- for action in data.cta.actions %}
<a href="{{ action.url }}" class="sc-btn sc-btn--{{ action.style }}">{{ action.label }}</a>
{%- endfor %}
</div>
</section>
<!-- ── Footer ── -->
<footer class="sc-footer">
<span>{{ data.footer.text }}</span>
<span>
{%- for link in data.footer.links %}
{% if not loop.first %} · {% endif %}<a href="{{ link.url }}">{{ link.label }}</a>
{%- endfor %}
</span>
</footer>
</div><!-- /#showcase-root -->
</body>
</html>