-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
265 lines (245 loc) · 12.2 KB
/
Copy pathindex.html
File metadata and controls
265 lines (245 loc) · 12.2 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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
{{ define "main" }}
{{ $c := hugo.Data.content }}
{{/* ───────────────────────── HERO ───────────────────────── */}}
<section class="hero">
<div class="hero-bg" aria-hidden="true">
<div class="grid-lines"></div>
<div class="glow"></div>
<div class="headframe">{{ partial "icon.html" "pithead" }}</div>
</div>
<div class="wrap hero-inner">
<p class="eyebrow rise"><span class="dot"></span>{{ $c.hero.eyebrow }}</p>
<h1 class="hero-title rise">{{ $c.hero.title_lead }} <span class="accent glow-text">{{ $c.hero.title_accent }}</span> {{ $c.hero.title_tail }}</h1>
<p class="hero-sub rise">{{ $c.hero.sub | safeHTML }}</p>
<div class="terminal rise" aria-label="One-command setup">
<div class="term-bar"><span class="term-dot"></span><span class="term-dot"></span><span class="term-dot"></span><span class="term-title mono">{{ $c.hero.command.title }}</span></div>
<pre class="term-body mono"><code>{{- range $c.hero.command.lines -}}
{{ if .p }}<span class="term-prompt">$</span> <span class="term-cmd">{{ .text }}</span>{{ else }}<span class="term-ok">{{ .text }}</span>{{ end }}
{{ end -}}
<span class="cursor">█</span></code></pre>
</div>
<div class="hero-cta rise">
<a class="btn btn-primary" href="{{ $c.hero.cta_primary.href }}" target="_blank" rel="noopener">{{ $c.hero.cta_primary.label }} <span aria-hidden="true">→</span></a>
<a class="btn btn-ghost" href="{{ $c.hero.cta_secondary.href }}" target="_blank" rel="noopener">{{ $c.hero.cta_secondary.label }}</a>
</div>
<p class="hero-meta mono rise">{{ $c.hero.meta }}</p>
</div>
</section>
{{/* ───────────────────────── WHY / BELIEFS ───────────────────────── */}}
<section class="section section-alt" id="why">
<div class="wrap">
<p class="eyebrow mono reveal">{{ $c.beliefs.eyebrow }}</p>
<h2 class="section-title reveal">{{ $c.beliefs.title }}</h2>
{{ with $c.beliefs.sub }}<p class="section-sub reveal">{{ . }}</p>{{ end }}
<div class="beliefs-grid">
{{ range $c.beliefs.items }}
<article class="belief reveal">
<h3 class="belief-title">{{ .belief }}</h3>
<p class="belief-text">{{ .text }}</p>
</article>
{{ end }}
</div>
</div>
</section>
{{/* ───────────────────────── ETHOS (the "how") ───────────────────────── */}}
<section class="section" id="ethos">
<div class="wrap">
<p class="eyebrow mono reveal">{{ $c.ethos.eyebrow }}</p>
<h2 class="section-title reveal">{{ $c.ethos.title }}</h2>
<div class="cards-3 ethos-grid">
{{ range $i, $e := $c.ethos.items }}
<article class="card ethos-card reveal">
<span class="ethos-num mono">{{ printf "%02d" (add $i 1) }}</span>
<h3 class="card-title">{{ $e.title }}</h3>
<p class="card-text">{{ $e.text }}</p>
</article>
{{ end }}
</div>
</div>
</section>
{{/* ───────────────────────── STATS ───────────────────────── */}}
<section class="stats-band">
<div class="wrap stats-grid">
{{ range $c.stats }}
<div class="stat reveal">
<span class="stat-val mono">{{ .value }}</span>
<span class="stat-label">{{ .label }}</span>
</div>
{{ end }}
</div>
</section>
{{/* ───────────────────────── FLOW ───────────────────────── */}}
<section class="section" id="flow">
<div class="wrap">
<p class="eyebrow mono reveal">{{ $c.flow.eyebrow }}</p>
<h2 class="section-title reveal">{{ $c.flow.title }}</h2>
<p class="section-sub reveal">{{ $c.flow.sub }}</p>
<div class="flow reveal">
<div class="flow-node node-miners">
<span class="flow-mark ember">{{ partial "icon.html" "rigforge" }}</span>
<span class="flow-kicker mono">{{ $c.flow.nodes.miners.kicker }}</span>
<span class="flow-title">{{ $c.flow.nodes.miners.title }}</span>
<span class="flow-note">{{ $c.flow.nodes.miners.note }}</span>
</div>
<div class="flow-arrow"><span class="flow-arrow-label mono">hashrate · :3333</span></div>
<div class="flow-node node-orch is-hub">
<span class="flow-mark orange">{{ partial "icon.html" "pithead" }}</span>
<span class="flow-kicker mono">{{ $c.flow.nodes.orch.kicker }}</span>
<span class="flow-title">{{ $c.flow.nodes.orch.title }}</span>
<span class="flow-note">{{ $c.flow.nodes.orch.note }}</span>
<span class="flow-branch mono">↘ {{ $c.flow.side.kicker }} · {{ $c.flow.side.note }}</span>
</div>
<div class="flow-arrow"><span class="flow-arrow-label mono">merge-mine · over Tor</span></div>
<div class="flow-node node-chains">
<span class="flow-mark"><span class="chain-pair">{{ partial "icon.html" "monero" }}{{ partial "icon.html" "tari" }}</span></span>
<span class="flow-kicker mono">{{ $c.flow.nodes.chains.kicker }}</span>
<span class="flow-title">{{ $c.flow.nodes.chains.title }}</span>
<span class="flow-note">{{ $c.flow.nodes.chains.note }}</span>
</div>
</div>
</div>
</section>
{{/* ───────────────────────── PROJECTS ───────────────────────── */}}
<section class="section section-alt" id="projects">
<div class="wrap">
<p class="eyebrow mono reveal">{{ $c.projects.eyebrow }}</p>
<h2 class="section-title reveal">{{ $c.projects.title }}</h2>
<p class="section-sub reveal">{{ $c.projects.sub }}</p>
{{ range $c.projects.items }}
{{ $ver := index hugo.Data.releases .id }}
<article class="project reveal accent-{{ .accent }}{{ if .featured }} project-featured{{ end }}" id="{{ .id }}">
<div class="project-head">
<span class="project-mark">{{ partial "icon.html" .mark }}</span>
<div class="project-id">
<h3 class="project-name">{{ .name }}</h3>
<span class="project-role mono">{{ .role }}</span>
</div>
<div class="project-tags">
{{ if $ver }}<a class="project-ver mono" href="https://github.com/p2pool-starter-stack/{{ .id }}/releases/latest" target="_blank" rel="noopener" aria-label="{{ .name }} latest release {{ $ver }}">{{ $ver }}</a>{{ end }}
{{ if .featured }}<span class="project-flag mono">★ the star</span>{{ end }}
</div>
</div>
<p class="project-tagline">{{ .tagline }}</p>
<p class="project-blurb">{{ .blurb }}</p>
<ul class="feat-grid">
{{ range .features }}
<li class="feat">
<span class="feat-ico">{{ partial "icon.html" .icon }}</span>
<span class="feat-text"><strong>{{ .title }}</strong> {{ .text }}</span>
</li>
{{ end }}
</ul>
{{ if .image }}
<figure class="project-shot">
<img src="{{ .image | relURL }}" alt="{{ .image_alt }}" loading="lazy" decoding="async">
<figcaption class="mono">live dashboard · {{ .name }}</figcaption>
</figure>
{{ end }}
<div class="project-links">
{{ range .links }}
<a class="btn {{ if .primary }}btn-primary{{ else }}btn-ghost{{ end }} btn-sm" href="{{ .href }}" target="_blank" rel="noopener">{{ .label }} <span aria-hidden="true">↗</span></a>
{{ end }}
</div>
</article>
{{ end }}
</div>
</section>
{{/* ───────────────────────── ROADMAP ───────────────────────── */}}
<section class="section" id="roadmap">
<div class="wrap">
<p class="eyebrow mono reveal">{{ $c.roadmap.eyebrow }}</p>
<h2 class="section-title reveal">{{ $c.roadmap.title }}</h2>
<p class="section-sub reveal">{{ $c.roadmap.sub }}</p>
<p class="waves-label mono reveal">{{ $c.roadmap.waves_label }}</p>
<div class="waves">
<span class="waves-rail" aria-hidden="true"></span>
{{ range $c.roadmap.waves }}
<div class="wave reveal">
<div class="wave-node"><span class="mono">{{ .n }}</span></div>
<div class="wave-body">
<div class="wave-head">
<h3 class="wave-name">{{ .name }}</h3>
<span class="status-pill mono">{{ .status }}</span>
</div>
<p class="wave-text">{{ .text }}</p>
</div>
</div>
{{ end }}
<div class="wave wave-ship reveal">
<div class="wave-node ship">{{ partial "icon.html" "stack" }}</div>
<div class="wave-body">
<div class="wave-head"><h3 class="wave-name">{{ $c.roadmap.ship.title }}</h3><span class="status-pill ship-pill mono">LIVE</span></div>
<p class="wave-text">{{ $c.roadmap.ship.text }}</p>
</div>
</div>
</div>
<p class="waves-label mono reveal beyond-label">{{ $c.roadmap.beyond_label }}</p>
<div class="waves">
<span class="waves-rail" aria-hidden="true"></span>
{{ range $c.roadmap.releases }}
<div class="wave reveal">
<div class="wave-node"><span class="mono">{{ .n }}</span></div>
<div class="wave-body">
<div class="wave-head">
<h3 class="wave-name">{{ .name }}</h3>
<span class="status-pill mono">{{ .status }}</span>
</div>
<p class="wave-text">{{ .text }}</p>
</div>
</div>
{{ end }}
{{ with $c.roadmap.ship_beyond }}
<div class="wave wave-ship reveal">
<div class="wave-node ship">{{ partial "icon.html" "spark" }}</div>
<div class="wave-body">
<div class="wave-head"><h3 class="wave-name">{{ .name }}</h3><span class="status-pill ship-pill mono">{{ .tag }}</span></div>
<p class="wave-text">{{ .text }}</p>
</div>
</div>
{{ end }}
</div>
{{ with $c.roadmap.donate }}
<div class="donate-band reveal">
<p class="eyebrow mono">{{ .eyebrow }}</p>
<h3 class="donate-title">{{ .title }}</h3>
<p class="donate-text">{{ .text }}</p>
<button class="copy-btn copy-btn-lg" type="button" data-copy="{{ $.Site.Params.donateXMR }}" aria-label="Copy Pithead's Monero donation address">
<code class="mono donate-addr-full">{{ $.Site.Params.donateXMR }}</code>
<span class="copy-state">copy</span>
</button>
<p class="donate-note mono">{{ .note }}</p>
</div>
{{ end }}
</div>
</section>
{{/* ───────────────────────── FAQ ───────────────────────── */}}
<section class="section section-alt" id="faq">
<div class="wrap">
<p class="eyebrow mono reveal">{{ $c.faq.eyebrow }}</p>
<h2 class="section-title reveal">{{ $c.faq.title }}</h2>
<p class="section-sub reveal">{{ $c.faq.sub }}</p>
<div class="faq-grid">
{{ range $c.faq.items }}
<article class="faq-item reveal">
<h3 class="faq-q">{{ .q }}</h3>
<p class="faq-a">{{ .a }}</p>
{{ if .link }}<a class="faq-link mono" href="{{ .link }}" target="_blank" rel="noopener">{{ .link_label }} <span aria-hidden="true">↗</span></a>{{ end }}
</article>
{{ end }}
</div>
</div>
</section>
{{/* ───────────────────────── CTA ───────────────────────── */}}
<section class="section cta-section">
<div class="cta-bg" aria-hidden="true"><div class="glow"></div></div>
<div class="wrap cta-inner reveal">
<p class="eyebrow mono">{{ $c.cta.eyebrow }}</p>
<h2 class="cta-title">{{ $c.cta.title }}</h2>
<p class="cta-sub">{{ $c.cta.sub }}</p>
<div class="hero-cta">
<a class="btn btn-primary" href="{{ $c.cta.primary.href }}" target="_blank" rel="noopener">{{ $c.cta.primary.label }} <span aria-hidden="true">→</span></a>
<a class="btn btn-ghost" href="{{ $c.cta.secondary.href }}" target="_blank" rel="noopener">{{ $c.cta.secondary.label }}</a>
</div>
</div>
</section>
{{ end }}