@gemboss/website-ui 0.0.0-stage → 0.2.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.
- package/AGENTS.md +191 -0
- package/CHANGELOG.md +47 -0
- package/README.md +118 -2
- package/bin/gemboss-website.mjs +78 -0
- package/bin/lib/check.mjs +695 -0
- package/bin/lib/gap.mjs +189 -0
- package/bin/lib/init.mjs +99 -0
- package/bin/lib/upgrade.mjs +155 -0
- package/bin/lib/util.mjs +147 -0
- package/css/base.css +107 -0
- package/css/components.css +324 -0
- package/css/footer.css +53 -0
- package/css/header.css +231 -0
- package/css/layout.css +59 -0
- package/css/prose.css +119 -0
- package/css/sections.css +173 -0
- package/css/tokens.css +200 -0
- package/demo/index.html +703 -0
- package/demo/theme-example.html +133 -0
- package/docs/components.md +407 -0
- package/docs/markup-contract.md +148 -0
- package/docs/philosophy.md +69 -0
- package/docs/theming.md +96 -0
- package/js/website.js +186 -0
- package/package.json +50 -4
- package/skill/SKILL.md +49 -0
- package/system.json +122 -0
- package/templates/footer.html +40 -0
- package/templates/header.html +60 -0
- package/templates/page.html +134 -0
- package/templates/sections/cta.html +15 -0
- package/templates/sections/faq.html +24 -0
- package/templates/sections/features.html +32 -0
- package/templates/sections/hero.html +27 -0
- package/templates/sections/logos.html +15 -0
- package/templates/sections/pricing.html +51 -0
- package/templates/sections/prose.html +36 -0
- package/templates/sections/quote.html +13 -0
- package/templates/sections/showcase.html +25 -0
- package/templates/sections/split.html +27 -0
- package/templates/sections/stats.html +26 -0
- package/templates/sections/steps.html +17 -0
- package/website.css +1274 -0
- package/website.min.css +1 -0
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Split: one idea told in words beside a figure (a real screen, or a drawn mock-up of the product).
|
|
3
|
+
.gw-split--reverse puts the figure on the left on wide screens; on phones the words always come first.
|
|
4
|
+
Alternate --reverse between consecutive splits. Limits: label, h2, at most two lines, a check list of three to
|
|
5
|
+
five items, one action (a link or one button). The figure is a .gw-window or a <figure> with alt text; numbers in
|
|
6
|
+
a window that are not real get the caption "Illustrative data.", real ones their source.
|
|
7
|
+
-->
|
|
8
|
+
<section class="gw-section">
|
|
9
|
+
<div class="gw-wrap gw-split">
|
|
10
|
+
<div>
|
|
11
|
+
<p class="gw-label">[Short label]</p>
|
|
12
|
+
<h2>[Headline: the outcome for the reader]</h2>
|
|
13
|
+
<p class="gw-lead">[One or two lines on how.]</p>
|
|
14
|
+
<ul class="gw-list--check">
|
|
15
|
+
<li>[What it does, in one line]</li>
|
|
16
|
+
<li>[What it does, in one line]</li>
|
|
17
|
+
<li>[What it does, in one line]</li>
|
|
18
|
+
</ul>
|
|
19
|
+
<div class="gw-actions"><a class="gw-link gw-link--arrow" href="[link]">[Where the link goes]</a></div>
|
|
20
|
+
</div>
|
|
21
|
+
<div class="gw-window">
|
|
22
|
+
<div class="gw-window__bar">[Where this screen lives]</div>
|
|
23
|
+
<div class="gw-window__body"><img src="[/img/screen.webp]" alt="[What the screen shows]" width="[1200]" height="[900]" loading="lazy"></div>
|
|
24
|
+
<p class="gw-window__caption">[Illustrative data. Or the source of the numbers. Delete when the screen shows no numbers.]</p>
|
|
25
|
+
</div>
|
|
26
|
+
</div>
|
|
27
|
+
</section>
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Stats: three or four facts in a row. Every number needs a source the reader can check (a page, a report, a date),
|
|
3
|
+
written in .gw-stats__source under it. No rounded-up guesses, no "up to", no number you cannot point to:
|
|
4
|
+
without a source, write [NUMBER] and ask. Units go in the value ("2.1 s"), the meaning in the label.
|
|
5
|
+
-->
|
|
6
|
+
<section class="gw-section gw-section--tight">
|
|
7
|
+
<div class="gw-wrap">
|
|
8
|
+
<ul class="gw-stats">
|
|
9
|
+
<li class="gw-stats__item">
|
|
10
|
+
<p class="gw-stats__value">[NUMBER]</p>
|
|
11
|
+
<p class="gw-stats__label">[What it measures, in a few words]</p>
|
|
12
|
+
<p class="gw-stats__source">[Source: where and when it was measured]</p>
|
|
13
|
+
</li>
|
|
14
|
+
<li class="gw-stats__item">
|
|
15
|
+
<p class="gw-stats__value">[NUMBER]</p>
|
|
16
|
+
<p class="gw-stats__label">[What it measures]</p>
|
|
17
|
+
<p class="gw-stats__source">[Source]</p>
|
|
18
|
+
</li>
|
|
19
|
+
<li class="gw-stats__item">
|
|
20
|
+
<p class="gw-stats__value">[NUMBER]</p>
|
|
21
|
+
<p class="gw-stats__label">[What it measures]</p>
|
|
22
|
+
<p class="gw-stats__source">[Source]</p>
|
|
23
|
+
</li>
|
|
24
|
+
</ul>
|
|
25
|
+
</div>
|
|
26
|
+
</section>
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
<!--
|
|
2
|
+
Steps: how it works, three or four numbered steps in order (the numbers come from the <ol>, do not type them).
|
|
3
|
+
Each step: a title of one to three words, one line. Limits: no more than four, no buttons inside the steps.
|
|
4
|
+
-->
|
|
5
|
+
<section class="gw-section">
|
|
6
|
+
<div class="gw-wrap">
|
|
7
|
+
<div class="gw-section__head">
|
|
8
|
+
<p class="gw-label">How it works</p>
|
|
9
|
+
<h2><span class="gw-dim">[Muted first sentence.]</span> [Ink second sentence.]</h2>
|
|
10
|
+
</div>
|
|
11
|
+
<ol class="gw-steps">
|
|
12
|
+
<li><h3>[Step]</h3><p>[One line on what happens.]</p></li>
|
|
13
|
+
<li><h3>[Step]</h3><p>[One line on what happens.]</p></li>
|
|
14
|
+
<li><h3>[Step]</h3><p>[One line on what happens.]</p></li>
|
|
15
|
+
</ol>
|
|
16
|
+
</div>
|
|
17
|
+
</section>
|