Commit edfcd259af

edfcd259af01b34632a0a2beb5a49f1f29ad9337

parent: a57f86bf41

Unsigned

cmc <hello@cleberg.net> · 2026-10-16 17:37 UTC

Add app showcase index and detail pages (!9)

- `/apps/` is a card grid (hero, icon, tagline, platforms) instead of a redirect to `/#apps`; home links to it.
- App pages: hero with overlapping icon, App Store and source buttons, highlights, screenshot strip, then the existing prose.
- New `[extra]` fields: `tagline`, `tint`, `platforms`, `icon`, `header`, `[[highlights]]`, `[[screenshots]]`. Screenshots moved out of inline HTML.
- Without `icon`/`header`, the hero fans the first three screenshots over `tint` and the icon is a monogram.

Layout: unified · split

content/apps/_index.md +2 −3
@@ -2,9 +2,8 @@
2title = "Apps" 2title = "Apps"
3description = "Small, durable apps and privacy-focused frontends from krz." 3description = "Small, durable apps and privacy-focused frontends from krz."
4sort_by = "weight" 4sort_by = "weight"
5redirect_to = "/#apps" 5template = "apps.html"
6template = "section.html" 6page_template = "app.html"
7page_template = "page.html"
8+++ 7+++
9 8
10Native apps and privacy-respecting frontends. Each one is small, focused, and 9Native apps and privacy-respecting frontends. Each one is small, focused, and
content/apps/daybyday.md +36
@@ -8,6 +8,42 @@ link = "https://gitbay.org/krz/daybyday"
8link_label = "Source" 8link_label = "Source"
9appstore = "https://apps.apple.com/us/app/daybyday-learn/id6760321939" 9appstore = "https://apps.apple.com/us/app/daybyday-learn/id6760321939"
10privacy = "/privacy/daybyday/" 10privacy = "/privacy/daybyday/"
11tint = "#c2410c"
12platforms = ["iPhone"]
13icon = "https://i.krz.sh/apps/daybyday/icon.png"
14header = "https://i.krz.sh/apps/daybyday/hero.jpg"
15
16[[extra.highlights]]
17title = "Days to seasons"
18text = "Weeks, months and seasons, one step at a time."
19
20[[extra.highlights]]
21title = "For little hands"
22text = "Large targets and a calm, simple interface."
23
24[[extra.highlights]]
25title = "No data collected"
26text = "No ads, no accounts, nothing leaves the device."
27
28[[extra.screenshots]]
29src = "https://i.krz.sh/apps/daybyday/screenshots/web/01-home.jpg"
30alt = "Home"
31caption = "pick a topic"
32
33[[extra.screenshots]]
34src = "https://i.krz.sh/apps/daybyday/screenshots/web/02-today.jpg"
35alt = "Today"
36caption = "today's day, date, month and season"
37
38[[extra.screenshots]]
39src = "https://i.krz.sh/apps/daybyday/screenshots/web/03-colors.jpg"
40alt = "Colors"
41caption = "learn colors"
42
43[[extra.screenshots]]
44src = "https://i.krz.sh/apps/daybyday/screenshots/web/04-shapes.jpg"
45alt = "Shapes"
46caption = "learn shapes"
11+++ 47+++
12 48
13Day by Day is a gentle, ad-free iOS app that helps children learn days, weeks, 49Day by Day is a gentle, ad-free iOS app that helps children learn days, weeks,
content/apps/domain-dig.md +52 −17
@@ -8,9 +8,59 @@ link = "https://gitbay.org/krz/domain-dig"
8link_label = "Source" 8link_label = "Source"
9appstore = "https://apps.apple.com/us/app/domaindig/id6760368004" 9appstore = "https://apps.apple.com/us/app/domaindig/id6760368004"
10privacy = "/privacy/domain-dig/" 10privacy = "/privacy/domain-dig/"
11+++ 11tagline = "See how any domain is really configured and served."
12tint = "#0f766e"
13platforms = ["iPhone"]
14icon = "https://i.krz.sh/apps/domaindig/icon.png"
15header = "https://i.krz.sh/apps/domaindig/hero.jpg"
16
17[[extra.highlights]]
18title = "Every record"
19text = "A to PTR, DNSSEC, reachability and the redirect chain."
20
21[[extra.highlights]]
22title = "Email security"
23text = "SPF, DMARC, DKIM, MTA-STS and BIMI in one check."
24
25[[extra.highlights]]
26title = "TLS, end to end"
27text = "Certificate, SANs, cipher and the full chain."
28
29[[extra.screenshots]]
30src = "https://i.krz.sh/apps/domaindig/screenshots/web/01.jpg"
31alt = "Lookup and DNS records"
32caption = "run a lookup, see everything"
33
34[[extra.screenshots]]
35src = "https://i.krz.sh/apps/domaindig/screenshots/web/02.jpg"
36alt = "Record types and email security"
37caption = "every record type and email check"
38
39[[extra.screenshots]]
40src = "https://i.krz.sh/apps/domaindig/screenshots/web/03.jpg"
41alt = "SSL certificate and chain"
42caption = "full TLS certificate and chain"
12 43
13See how any domain is really configured and served. 44[[extra.screenshots]]
45src = "https://i.krz.sh/apps/domaindig/screenshots/web/04.jpg"
46alt = "IP location and open ports"
47caption = "IP geolocation and open ports"
48
49[[extra.screenshots]]
50src = "https://i.krz.sh/apps/domaindig/screenshots/web/05.jpg"
51alt = "Saved domains"
52caption = "save the domains you watch"
53
54[[extra.screenshots]]
55src = "https://i.krz.sh/apps/domaindig/screenshots/web/06.jpg"
56alt = "Lookup history"
57caption = "history, kept on device"
58
59[[extra.screenshots]]
60src = "https://i.krz.sh/apps/domaindig/screenshots/web/07.jpg"
61alt = "Resolver settings"
62caption = "choose your DNS resolver"
63+++
14 64
15Domain Dig is a fast, native iOS app for inspecting a domain end to end. enter a 65Domain Dig is a fast, native iOS app for inspecting a domain end to end. enter a
16name and get a full report: DNS records, email-security posture, the live TLS 66name and get a full report: DNS records, email-security posture, the live TLS
@@ -35,21 +85,6 @@ certificates, and headers in a single scrollable report.
35- look up registration and ownership via RDAP 85- look up registration and ownership via RDAP
36- monitor domains and get alerts via webhook or Slack 86- monitor domains and get alerts via webhook or Slack
37 87
38## interface
39
40everything about a domain on one report: tap through the certificate chain,
41email checks, and open ports.
42
43<div class="shots">
44<figure><img loading="lazy" width="640" height="1390" src="https://i.krz.sh/apps/domaindig/screenshots/web/01.jpg" alt="Lookup and DNS records"><figcaption>run a lookup, see everything</figcaption></figure>
45<figure><img loading="lazy" width="640" height="1390" src="https://i.krz.sh/apps/domaindig/screenshots/web/02.jpg" alt="Record types and email security"><figcaption>every record type and email check</figcaption></figure>
46<figure><img loading="lazy" width="640" height="1390" src="https://i.krz.sh/apps/domaindig/screenshots/web/03.jpg" alt="SSL certificate and chain"><figcaption>full TLS certificate and chain</figcaption></figure>
47<figure><img loading="lazy" width="640" height="1390" src="https://i.krz.sh/apps/domaindig/screenshots/web/04.jpg" alt="IP location and open ports"><figcaption>IP geolocation and open ports</figcaption></figure>
48<figure><img loading="lazy" width="640" height="1390" src="https://i.krz.sh/apps/domaindig/screenshots/web/05.jpg" alt="Saved domains"><figcaption>save the domains you watch</figcaption></figure>
49<figure><img loading="lazy" width="640" height="1390" src="https://i.krz.sh/apps/domaindig/screenshots/web/06.jpg" alt="Lookup history"><figcaption>history, kept on device</figcaption></figure>
50<figure><img loading="lazy" width="640" height="1390" src="https://i.krz.sh/apps/domaindig/screenshots/web/07.jpg" alt="Resolver settings"><figcaption>choose your DNS resolver</figcaption></figure>
51</div>
52
53## details that matter 88## details that matter
54 89
55- DNSSEC validation and a live TLS version and cipher-suite readout 90- DNSSEC validation and a live TLS version and cipher-suite readout
content/apps/gitbay.md +42 −12
@@ -8,10 +8,50 @@ link = "https://gitbay.org/krz/gitbay-ios"
8link_label = "Source" 8link_label = "Source"
9privacy = "https://gitbay.org/privacy" 9privacy = "https://gitbay.org/privacy"
10appstore = "https://apps.apple.com/us/app/gitbay/id6806399095" 10appstore = "https://apps.apple.com/us/app/gitbay/id6806399095"
11tagline = "Your forge, from the couch."
12tint = "#4338ca"
13platforms = ["iPhone", "iPad"]
14icon = "https://i.krz.sh/apps/gitbay/icon.png"
15header = "https://i.krz.sh/apps/gitbay/hero.jpg"
16
17[[extra.highlights]]
18title = "Review and merge"
19text = "Unified diffs, inline comments and approvals."
20
21[[extra.highlights]]
22title = "Watch builds"
23text = "Pick a job and read the logs when a build goes red."
24
25[[extra.highlights]]
26title = "No passwords"
27text = "A scoped token minted over SSH, kept in the keychain."
28
29[[extra.screenshots]]
30src = "https://i.krz.sh/apps/gitbay/screenshots/web/01_dashboard.jpg"
31alt = "Dashboard"
32caption = "what is waiting on you"
33
34[[extra.screenshots]]
35src = "https://i.krz.sh/apps/gitbay/screenshots/web/02_repo.jpg"
36alt = "Repository"
37caption = "every repository surface in one list"
38
39[[extra.screenshots]]
40src = "https://i.krz.sh/apps/gitbay/screenshots/web/03_mr_list.jpg"
41alt = "Merge requests"
42caption = "merge requests, open through merged"
43
44[[extra.screenshots]]
45src = "https://i.krz.sh/apps/gitbay/screenshots/web/04_mr_detail.jpg"
46alt = "Merge request detail"
47caption = "description, checks, reviews, commits"
48
49[[extra.screenshots]]
50src = "https://i.krz.sh/apps/gitbay/screenshots/web/05_diff.jpg"
51alt = "Unified diff"
52caption = "read the diff, then decide"
11+++ 53+++
12 54
13your forge, from the couch.
14
15gitbay is a native iOS app for [gitbay](https://gitbay.org), a CLI-first git 55gitbay is a native iOS app for [gitbay](https://gitbay.org), a CLI-first git
16forge where SSH is the API and the command line is the product. the app is the 56forge where SSH is the API and the command line is the product. the app is the
17other half of that: a reading, reviewing and responding surface for the times 57other half of that: a reading, reviewing and responding surface for the times
@@ -36,16 +76,6 @@ that without pretending a phone is a workstation.
36- read releases and the wiki 76- read releases and the wiki
37- explore repositories, follow activity, and read profiles 77- explore repositories, follow activity, and read profiles
38 78
39## interface
40
41<div class="shots">
42<figure><img loading="lazy" width="640" height="1390" src="https://i.krz.sh/apps/gitbay/screenshots/web/01_dashboard.jpg" alt="Dashboard"><figcaption>what is waiting on you</figcaption></figure>
43<figure><img loading="lazy" width="640" height="1390" src="https://i.krz.sh/apps/gitbay/screenshots/web/02_repo.jpg" alt="Repository"><figcaption>every repository surface in one list</figcaption></figure>
44<figure><img loading="lazy" width="640" height="1390" src="https://i.krz.sh/apps/gitbay/screenshots/web/03_mr_list.jpg" alt="Merge requests"><figcaption>merge requests, open through merged</figcaption></figure>
45<figure><img loading="lazy" width="640" height="1390" src="https://i.krz.sh/apps/gitbay/screenshots/web/04_mr_detail.jpg" alt="Merge request detail"><figcaption>description, checks, reviews, commits</figcaption></figure>
46<figure><img loading="lazy" width="640" height="1390" src="https://i.krz.sh/apps/gitbay/screenshots/web/05_diff.jpg" alt="Unified diff"><figcaption>read the diff, then decide</figcaption></figure>
47</div>
48
49## READMEs that render properly 79## READMEs that render properly
50 80
51Markdown and Org both render. Org is not converted to HTML and shown in a web 81Markdown and Org both render. Org is not converted to HTML and shown in a web
content/apps/hutch.md +52 −17
@@ -8,9 +8,59 @@ link = "https://gitbay.org/krz/hutch"
8link_label = "Source" 8link_label = "Source"
9appstore = "https://apps.apple.com/us/app/hutch-for-sourcehut/id6760742299" 9appstore = "https://apps.apple.com/us/app/hutch-for-sourcehut/id6760742299"
10privacy = "/privacy/hutch/" 10privacy = "/privacy/hutch/"
11+++ 11tagline = "SourceHut workflows, built for mobile."
12tint = "#3d5a80"
13platforms = ["iPhone"]
14icon = "https://i.krz.sh/apps/hutch/icon.png"
15header = "https://i.krz.sh/apps/hutch/hero.jpg"
16
17[[extra.highlights]]
18title = "Review patches"
19text = "Threaded mail with rendered diffs, replies through Apple Mail."
20
21[[extra.highlights]]
22title = "Watch builds"
23text = "Submit, monitor, retry and read logs from builds.sr.ht."
24
25[[extra.highlights]]
26title = "Triage tickets"
27text = "Assignees, labels, resolutions and comments across trackers."
28
29[[extra.screenshots]]
30src = "https://i.krz.sh/apps/hutch/screenshots/web/01_patch.jpg"
31alt = "Patch review"
32caption = "review patches anywhere"
33
34[[extra.screenshots]]
35src = "https://i.krz.sh/apps/hutch/screenshots/web/02_thread.jpg"
36alt = "Threaded inbox"
37caption = "stay on top of discussions"
38
39[[extra.screenshots]]
40src = "https://i.krz.sh/apps/hutch/screenshots/web/03_builds.jpg"
41alt = "Builds"
42caption = "monitor builds in real time"
12 43
13SourceHut workflows, built for mobile. 44[[extra.screenshots]]
45src = "https://i.krz.sh/apps/hutch/screenshots/web/04_tickets.jpg"
46alt = "Tickets"
47caption = "manage issues on the go"
48
49[[extra.screenshots]]
50src = "https://i.krz.sh/apps/hutch/screenshots/web/05_repo.jpg"
51alt = "Repository diff"
52caption = "explore your code"
53
54[[extra.screenshots]]
55src = "https://i.krz.sh/apps/hutch/screenshots/web/06_projects.jpg"
56alt = "Projects"
57caption = "everything in one place"
58
59[[extra.screenshots]]
60src = "https://i.krz.sh/apps/hutch/screenshots/web/07_actions.jpg"
61alt = "Build submission"
62caption = "take action instantly"
63+++
14 64
15Hutch is a fast, native iOS app for working with [SourceHut](https://sr.ht) when 65Hutch is a fast, native iOS app for working with [SourceHut](https://sr.ht) when
16you're away from your desk. it focuses on what matters on mobile: triaging work, 66you're away from your desk. it focuses on what matters on mobile: triaging work,
@@ -34,21 +84,6 @@ and manage work across the SourceHut ecosystem.
34- follow projects linking repositories, trackers, and lists 84- follow projects linking repositories, trackers, and lists
35- manage profile settings, SSH keys, PGP keys, and access tokens 85- manage profile settings, SSH keys, PGP keys, and access tokens
36 86
37## interface
38
39from patch review to trackers, builds, and repositories, Hutch is built to make
40SourceHut feel at home on iOS.
41
42<div class="shots">
43<figure><img loading="lazy" width="640" height="1387" src="https://i.krz.sh/apps/hutch/screenshots/web/01_patch.jpg" alt="Patch review"><figcaption>review patches anywhere</figcaption></figure>
44<figure><img loading="lazy" width="640" height="1387" src="https://i.krz.sh/apps/hutch/screenshots/web/02_thread.jpg" alt="Threaded inbox"><figcaption>stay on top of discussions</figcaption></figure>
45<figure><img loading="lazy" width="640" height="1387" src="https://i.krz.sh/apps/hutch/screenshots/web/03_builds.jpg" alt="Builds"><figcaption>monitor builds in real time</figcaption></figure>
46<figure><img loading="lazy" width="640" height="1387" src="https://i.krz.sh/apps/hutch/screenshots/web/04_tickets.jpg" alt="Tickets"><figcaption>manage issues on the go</figcaption></figure>
47<figure><img loading="lazy" width="640" height="1387" src="https://i.krz.sh/apps/hutch/screenshots/web/05_repo.jpg" alt="Repository diff"><figcaption>explore your code</figcaption></figure>
48<figure><img loading="lazy" width="640" height="1387" src="https://i.krz.sh/apps/hutch/screenshots/web/06_projects.jpg" alt="Projects"><figcaption>everything in one place</figcaption></figure>
49<figure><img loading="lazy" width="640" height="1387" src="https://i.krz.sh/apps/hutch/screenshots/web/07_actions.jpg" alt="Build submission"><figcaption>take action instantly</figcaption></figure>
50</div>
51
52## major features 87## major features
53 88
54- home dashboard with projects, assigned tickets, recent builds, and inbox shortcuts 89- home dashboard with projects, assigned tickets, recent builds, and inbox shortcuts
content/apps/orgstar.md +48 −13
@@ -6,11 +6,57 @@ weight = 4
6[extra] 6[extra]
7link = "https://gitbay.org/krz/orgstar" 7link = "https://gitbay.org/krz/orgstar"
8link_label = "Source" 8link_label = "Source"
9appstore = "https://apps.apple.com/us/app/orgstar-org-mode-agenda/id6821552018"
9privacy = "/privacy/orgstar/" 10privacy = "/privacy/orgstar/"
11tagline = "Your org files, wherever you are."
12tint = "#5b7a2e"
13platforms = ["Mac", "iPhone", "iPad"]
14icon = "https://i.krz.sh/apps/orgstar/icon.png"
15header = "https://i.krz.sh/apps/orgstar/hero.jpg"
16
17[[extra.highlights]]
18title = "Plain text"
19text = "Reads and writes the same files Emacs does, byte for byte."
20
21[[extra.highlights]]
22title = "Agenda"
23text = "Scheduled items, deadlines, habits and calendar events."
24
25[[extra.highlights]]
26title = "Capture anywhere"
27text = "Templates from the app, share sheet, Shortcuts and widgets."
28
29[[extra.screenshots]]
30src = "https://i.krz.sh/apps/orgstar/screenshots/web/01-agenda.jpg"
31alt = "Agenda"
32caption = "the agenda across your files"
33
34[[extra.screenshots]]
35src = "https://i.krz.sh/apps/orgstar/screenshots/web/02-reader.jpg"
36alt = "Reader"
37caption = "read with folding"
38
39[[extra.screenshots]]
40src = "https://i.krz.sh/apps/orgstar/screenshots/web/03-editor.jpg"
41alt = "Editor"
42caption = "edit with Org's commands"
43
44[[extra.screenshots]]
45src = "https://i.krz.sh/apps/orgstar/screenshots/web/04-tables.jpg"
46alt = "Tables"
47caption = "tables and formulas"
48
49[[extra.screenshots]]
50src = "https://i.krz.sh/apps/orgstar/screenshots/web/05-capture.jpg"
51alt = "Capture"
52caption = "capture with templates"
53
54[[extra.screenshots]]
55src = "https://i.krz.sh/apps/orgstar/screenshots/web/06-search.jpg"
56alt = "Search"
57caption = "search everything"
10+++ 58+++
11 59
12your org files, wherever you are.
13
14orgstar is a native editor for [Org mode](https://orgmode.org) files on the Mac, 60orgstar is a native editor for [Org mode](https://orgmode.org) files on the Mac,
15with an app for iPhone and iPad. it reads and writes the same plain-text files 61with an app for iPhone and iPad. it reads and writes the same plain-text files
16Emacs does, behaves the way Org does where the two overlap, and leaves every 62Emacs does, behaves the way Org does where the two overlap, and leaves every
@@ -37,17 +83,6 @@ agenda, rebuilt from the files whenever they change.
37- export to HTML and Markdown 83- export to HTML and Markdown
38- search across file names, headings and text 84- search across file names, headings and text
39 85
40## interface
41
42<div class="shots">
43<figure><img loading="lazy" width="640" height="1391" src="https://i.krz.sh/apps/orgstar/screenshots/web/01-agenda.jpg" alt="Agenda"><figcaption>the agenda across your files</figcaption></figure>
44<figure><img loading="lazy" width="640" height="1391" src="https://i.krz.sh/apps/orgstar/screenshots/web/02-reader.jpg" alt="Reader"><figcaption>read with folding</figcaption></figure>
45<figure><img loading="lazy" width="640" height="1391" src="https://i.krz.sh/apps/orgstar/screenshots/web/03-editor.jpg" alt="Editor"><figcaption>edit with Org's commands</figcaption></figure>
46<figure><img loading="lazy" width="640" height="1391" src="https://i.krz.sh/apps/orgstar/screenshots/web/04-tables.jpg" alt="Tables"><figcaption>tables and formulas</figcaption></figure>
47<figure><img loading="lazy" width="640" height="1391" src="https://i.krz.sh/apps/orgstar/screenshots/web/05-capture.jpg" alt="Capture"><figcaption>capture with templates</figcaption></figure>
48<figure><img loading="lazy" width="640" height="1391" src="https://i.krz.sh/apps/orgstar/screenshots/web/06-search.jpg" alt="Search"><figcaption>search everything</figcaption></figure>
49</div>
50
51## on the Mac 86## on the Mac
52 87
53the Mac app adds Emacs, Mac and Doom (Vim) keys, a board view, Babel for more 88the Mac app adds Emacs, Mac and Doom (Vim) keys, a board view, Babel for more
content/privacy/daybyday.md +3
@@ -2,6 +2,9 @@
2title = "Day by Day Privacy Policy" 2title = "Day by Day Privacy Policy"
3description = "Privacy policy for Day by Day, the calendar-learning app for children." 3description = "Privacy policy for Day by Day, the calendar-learning app for children."
4weight = 3 4weight = 3
5
6[extra]
7app = "apps/daybyday.md"
5+++ 8+++
6 9
7_last updated: 2 august 2026_ 10_last updated: 2 august 2026_
content/privacy/domain-dig.md +3
@@ -2,6 +2,9 @@
2title = "Domain Dig Privacy Policy" 2title = "Domain Dig Privacy Policy"
3description = "Privacy policy for Domain Dig, the DNS and SSL inspector for iOS." 3description = "Privacy policy for Domain Dig, the DNS and SSL inspector for iOS."
4weight = 2 4weight = 2
5
6[extra]
7app = "apps/domain-dig.md"
5+++ 8+++
6 9
7_last updated: 2 august 2026_ 10_last updated: 2 august 2026_
content/privacy/hutch.md +3
@@ -2,6 +2,9 @@
2title = "Hutch Privacy Policy" 2title = "Hutch Privacy Policy"
3description = "Privacy policy for Hutch, the Sourcehut client for iOS." 3description = "Privacy policy for Hutch, the Sourcehut client for iOS."
4weight = 1 4weight = 1
5
6[extra]
7app = "apps/hutch.md"
5+++ 8+++
6 9
7_last updated: 12 september 2026_ 10_last updated: 12 september 2026_
content/privacy/orgstar.md +3
@@ -2,6 +2,9 @@
2title = "orgstar Privacy Policy" 2title = "orgstar Privacy Policy"
3description = "Privacy policy for orgstar, the Org mode editor for iPhone and iPad." 3description = "Privacy policy for orgstar, the Org mode editor for iPhone and iPad."
4weight = 4 4weight = 4
5
6[extra]
7app = "apps/orgstar.md"
5+++ 8+++
6 9
7_last updated: 11 october 2026_ 10_last updated: 11 october 2026_
content/services/_index.md +3 −1
@@ -1,5 +1,7 @@
1+++ 1+++
2title = "Services" 2title = "Services"
3description = "Public self-hosted services from krz." 3description = "Public self-hosted services from krz."
4redirect_to = "/#services" 4template = "services.html"
5+++ 5+++
6
7Public front-ends and tools, self-hosted by krz.
sass/main.scss +308 −59
@@ -102,12 +102,13 @@ a { color: inherit; text-decoration: none; }
102} 102}
103 103
104.tagline { 104.tagline {
105 font-size: 28px; 105 font-size: clamp(34px, 5.2vw, 60px);
106 line-height: 1.25; 106 line-height: 1.05;
107 letter-spacing: -0.025em; 107 letter-spacing: -0.045em;
108 font-weight: 500; 108 font-weight: 700;
109 max-width: 19ch; 109 max-width: 17ch;
110 margin: 0 0 72px; 110 margin: 8px 0 80px;
111 text-wrap: balance;
111} 112}
112 113
113// ---- Numbered sections ----------------------------------------------------- 114// ---- Numbered sections -----------------------------------------------------
@@ -135,55 +136,58 @@ a { color: inherit; text-decoration: none; }
135 text-transform: uppercase; 136 text-transform: uppercase;
136 letter-spacing: 0.14em; 137 letter-spacing: 0.14em;
137 color: var(--dim); 138 color: var(--dim);
138 margin: 32px 0 2px; 139 margin: 32px 0 10px;
139} 140}
140.dir-group:first-of-type .sec-sub { margin-top: 20px; } 141.svc-group:first-of-type .sec-sub { margin-top: 20px; }
141
142// ---- Directory rows --------------------------------------------------------
143// The name column is fixed so names align down the page; long descriptions
144// wrap inside their own cell rather than pushing the grid out of true.
145.dir { list-style: none; margin: 0; padding: 0; }
146.dir-grid { display: grid; grid-template-columns: 1fr; column-gap: 48px; }
147.dir-item { border-bottom: 1px solid var(--line); }
148 142
149.dir-row { 143// ---- Home: app rows -------------------------------------------------------
144.app-rows { list-style: none; margin: 0; padding: 0; }
145.app-rows li { border-bottom: 1px solid var(--line); }
146.app-row {
150 display: grid; 147 display: grid;
151 grid-template-columns: 150px 1fr auto; 148 grid-template-columns: 44px 160px 1fr auto;
152 align-items: baseline; 149 align-items: center;
153 gap: 4px 20px; 150 gap: 4px 20px;
154 padding: 11px 8px 11px 0; 151 padding: 12px 0;
155} 152}
156.dir-name { font-weight: 600; letter-spacing: -0.01em; } 153.app-row-name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
157.dir-desc { color: var(--mut); font-size: 14px; } 154.app-row-desc { color: var(--mut); }
158.dir-host { font-family: var(--mono); font-size: 11.5px; color: var(--dim); } 155.app-row-go { color: var(--dim); }
159.dir-item:hover { background: var(--hov); } 156.app-row:hover .app-row-name, .app-row:hover .app-row-go { color: var(--ac); }
160.dir-item:hover .dir-name { color: var(--ac); } 157@media (prefers-reduced-motion: no-preference) {
161 158 .app-row-go { transition: transform 0.2s; }
162.dir-item-app { display: flex; align-items: baseline; gap: 24px; } 159 .app-row:hover .app-row-go { transform: translateX(4px); }
163.dir-item-app .dir-row { flex: 1; grid-template-columns: 150px 1fr; min-width: 0; }
164.dir-actions {
165 display: flex;
166 gap: 20px;
167 font-size: 12px;
168 font-weight: 600;
169 text-transform: uppercase;
170 letter-spacing: 0.08em;
171 white-space: nowrap;
172} 160}
173.dir-actions a { color: var(--ac); }
174.dir-actions a:hover { text-decoration: underline; text-underline-offset: 3px; }
175 161
176@media (min-width: 1000px) { 162// ---- Services: cards -------------------------------------------------------
177 .dir-grid { grid-template-columns: 1fr 1fr; } 163.svc-group + .svc-group { margin-top: 8px; }
164.svc-cards {
165 list-style: none;
166 margin: 0;
167 padding: 0;
168 display: grid;
169 grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
170 gap: 0 32px;
171}
172.svc-card {
173 display: flex;
174 flex-direction: column;
175 height: 100%;
176 padding: 14px 0 16px;
177 border-top: 1px solid var(--line);
178} 178}
179.svc-name { font-size: 16px; font-weight: 700; letter-spacing: -0.015em; }
180.svc-desc { color: var(--mut); font-size: 14px; margin: 2px 0 10px; }
181.svc-host { margin-top: auto; font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
182.svc-card:hover { border-top-color: var(--ac); }
183.svc-card:hover .svc-name, .svc-card:hover .svc-host { color: var(--ac); }
179 184
180@media (max-width: 760px) { 185@media (max-width: 760px) {
181 :root { --gut: 20px; } 186 :root { --gut: 20px; }
182 .tagline { font-size: 22px; max-width: none; margin-bottom: 48px; } 187 .app-row { grid-template-columns: 44px 1fr auto; gap: 0 14px; }
183 .dir-row { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; } 188 .app-row .app-icon { grid-row: span 2; }
184 .dir-item-app { display: block; } 189 .app-row-go { grid-row: span 2; grid-column: 3; }
185 .dir-item-app .dir-row { grid-template-columns: 1fr; } 190 .app-row-desc { grid-column: 2; font-size: 14px; line-height: 1.35; }
186 .dir-actions { padding: 0 0 12px; }
187} 191}
188 192
189// ---- Prose (app detail, privacy, home about) ------------------------------- 193// ---- Prose (app detail, privacy, home about) -------------------------------
@@ -198,6 +202,7 @@ a { color: inherit; text-decoration: none; }
198 width: 8px; height: 1px; background: var(--ac); 202 width: 8px; height: 1px; background: var(--ac);
199} 203}
200.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; } 204.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
205.prose pre { overflow-x: auto; }
201 206
202.page-label { 207.page-label {
203 font-size: 11px; 208 font-size: 11px;
@@ -231,8 +236,7 @@ a { color: inherit; text-decoration: none; }
231.back a { color: var(--mut); } 236.back a { color: var(--mut); }
232.back a:hover { color: var(--ac); } 237.back a:hover { color: var(--ac); }
233 238
234// ---- App page: actions + screenshots --------------------------------------- 239// ---- Buttons ---------------------------------------------------------------
235.app-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 8px; }
236.btn { 240.btn {
237 display: inline-block; 241 display: inline-block;
238 font-family: var(--sans); 242 font-family: var(--sans);
@@ -245,32 +249,277 @@ a { color: inherit; text-decoration: none; }
245 color: var(--fg); 249 color: var(--fg);
246} 250}
247.btn:hover { border-color: var(--fg); } 251.btn:hover { border-color: var(--fg); }
248.btn-primary { background: var(--ac); border-color: var(--ac); color: #fff; } 252
249.btn-primary:hover { opacity: 0.88; border-color: var(--ac); } 253// Black-on-light / white-on-dark, after Apple's badge proportions.
250.prose a.btn { color: var(--fg); text-decoration: none; } 254.btn-store {
251.prose a.btn-primary { color: #fff; } 255 display: inline-flex;
252.privacy-link { font-size: 13px; margin: 12px 0 0; } 256 align-items: center;
257 gap: 8px;
258 height: 44px;
259 padding: 0 16px 0 12px;
260 border-radius: 9px;
261 background: var(--fg);
262 color: var(--bg);
263 font-size: 19px;
264 font-weight: 600;
265 letter-spacing: -0.02em;
266 line-height: 1;
267}
268.btn-store svg { width: 20px; height: 24px; flex: none; }
269.btn-store small { display: block; font-size: 10px; font-weight: 500; letter-spacing: 0; margin-bottom: 2px; }
270.btn-store:hover { opacity: 0.85; }
271
272// ---- App: shared pieces ----------------------------------------------------
273// --tint is per app (front matter). It only colors art and fallback icons;
274// text keeps the site tokens so contrast holds.
275.app, .app-card { --tint: var(--fg); }
276
277.app-icon {
278 flex: none;
279 display: block;
280 width: 112px;
281 height: 112px;
282 border-radius: 22.5%;
283 object-fit: cover;
284 box-shadow: 0 0 0 1px rgb(0 0 0 / 0.06), 0 8px 24px -8px rgb(0 0 0 / 0.35);
285 background: var(--bg);
286}
287.app-icon-sm { width: 64px; height: 64px; }
288.app-icon-xs { width: 44px; height: 44px; }
289.app-icon-mono {
290 display: grid;
291 place-items: center;
292 color: #fff;
293 font-weight: 700;
294 font-size: 0.48em;
295 letter-spacing: -0.04em;
296 background: linear-gradient(150deg, color-mix(in srgb, var(--tint) 70%, #fff), var(--tint) 60%);
297}
298.app-icon.app-icon-mono { font-size: 62px; }
299.app-icon-sm.app-icon-mono { font-size: 36px; }
300.app-icon-xs.app-icon-mono { font-size: 24px; }
301
302.app-art {
303 position: relative;
304 overflow: hidden;
305 aspect-ratio: 12 / 5;
306 background: var(--tint);
307}
308.app-art > img:only-child { width: 100%; height: 100%; object-fit: cover; display: block; }
309.app-art-composed {
310 background:
311 radial-gradient(120% 90% at 50% 0%, color-mix(in srgb, var(--tint) 55%, #fff) 0%, transparent 60%),
312 linear-gradient(160deg, var(--tint), color-mix(in srgb, var(--tint) 60%, #000));
313}
314// Sized by height so each screenshot's top (where marketing shots carry
315// their headline) stays in frame; the bottom runs off the edge.
316.app-art .fan {
317 position: absolute;
318 left: 50%;
319 top: 22%;
320 height: 120%;
321 width: auto;
322 border-radius: 18px;
323 box-shadow: 0 20px 40px -12px rgb(0 0 0 / 0.5), 0 0 0 1px rgb(255 255 255 / 0.12);
324}
325.app-art .fan-1 { transform: translateX(-50%); z-index: 2; top: 12%; }
326.app-art .fan-2 { transform: translateX(-112%) rotate(-6deg); }
327.app-art .fan-3 { transform: translateX(12%) rotate(6deg); }
328.app-art-mark {
329 position: absolute;
330 inset: auto 0 -0.18em 0.04em;
331 color: rgb(255 255 255 / 0.16);
332 font-size: clamp(64px, 14vw, 180px);
333 font-weight: 700;
334 letter-spacing: -0.05em;
335 line-height: 1;
336 white-space: nowrap;
337}
338
339.app-id { min-width: 0; }
340.app-name { font-size: 32px; font-weight: 700; letter-spacing: -0.035em; line-height: 1.1; margin: 0; }
341.app-tagline { font-size: 17px; line-height: 1.35; color: var(--mut); margin: 6px 0 0; letter-spacing: -0.01em; }
342.app-meta {
343 font-size: 11px;
344 font-weight: 600;
345 text-transform: uppercase;
346 letter-spacing: 0.12em;
347 color: var(--dim);
348 margin: 10px 0 0;
349}
350
351// ---- App: detail page ------------------------------------------------------
352.app-hero { aspect-ratio: 12 / 4.2; }
353
354.app-head {
355 display: flex;
356 align-items: flex-end;
357 gap: 24px;
358 padding: 20px 0 28px;
359 border-bottom: 2px solid var(--fg);
360}
361.app-head .app-icon {
362 margin: -76px 0 0 28px;
363 position: relative;
364 box-shadow: 0 0 0 4px var(--bg), 0 12px 32px -10px rgb(0 0 0 / 0.45);
365}
366.app-head .app-id { flex: 1; padding-bottom: 2px; }
367.app-cta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
368
369.app-highlights {
370 list-style: none;
371 margin: 0;
372 padding: 0;
373 display: grid;
374 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
375 border-bottom: 1px solid var(--line);
376}
377.app-highlights li { padding: 22px 24px 24px 0; }
378.app-highlights li + li { padding-left: 24px; border-left: 1px solid var(--line); }
379.app-highlights h2 {
380 font-size: 15px;
381 font-weight: 700;
382 letter-spacing: -0.01em;
383 margin: 0 0 4px;
384 padding-top: 12px;
385 border-top: 2px solid var(--ac);
386 display: inline-block;
387}
388.app-highlights p { margin: 0; color: var(--mut); font-size: 14px; }
253 389
254.shots { 390.shots {
255 display: flex; 391 display: flex;
256 gap: 14px; 392 gap: 20px;
257 overflow-x: auto; 393 overflow-x: auto;
258 margin: 20px 0 8px; 394 margin: 0 calc(var(--gut) * -1);
259 padding-bottom: 12px; 395 padding: 32px var(--gut) 20px;
260 scroll-snap-type: x mandatory; 396 scroll-snap-type: x mandatory;
397 scroll-padding: 0 var(--gut);
261 -webkit-overflow-scrolling: touch; 398 -webkit-overflow-scrolling: touch;
399 scrollbar-width: thin;
400}
401.shots figure { flex: 0 0 auto; width: 220px; margin: 0; scroll-snap-align: start; }
402.shots img {
403 display: block;
404 width: 100%;
405 aspect-ratio: 640 / 1390;
406 object-fit: cover;
407 border-radius: 24px;
408 box-shadow: 0 0 0 1px var(--line), 0 16px 32px -20px rgb(0 0 0 / 0.5);
409 background: var(--hov);
410}
411.shots figcaption { color: var(--mut); font-size: 13px; margin-top: 12px; line-height: 1.4; }
412
413.app-body { margin-top: 24px; }
414.app-foot {
415 display: flex;
416 gap: 24px;
417 flex-wrap: wrap;
418 margin: 48px 0 0;
419 padding-top: 14px;
420 border-top: 1px solid var(--line);
421 font-size: 12px;
422 font-weight: 600;
423 text-transform: uppercase;
424 letter-spacing: 0.08em;
425}
426.app-foot a { color: var(--ac); }
427.app-foot a:hover { text-decoration: underline; text-underline-offset: 3px; }
428
429// ---- App: index cards ------------------------------------------------------
430.apps-intro { margin-bottom: 32px; }
431.app-cards {
432 list-style: none;
433 margin: 0;
434 padding: 0;
435 display: grid;
436 grid-template-columns: repeat(auto-fill, minmax(min(100%, 400px), 1fr));
437 gap: 40px 32px;
438}
439.app-card {
440 position: relative;
441 display: flex;
442 flex-direction: column;
443 border-bottom: 1px solid var(--line);
444}
445.app-card .app-art { aspect-ratio: 16 / 9; }
446.app-card-body { display: flex; gap: 16px; align-items: flex-start; padding: 20px 0 0; }
447.app-card .app-name { font-size: 22px; }
448.app-card .app-tagline { font-size: 15px; margin-top: 2px; }
449.app-card .app-meta { margin-top: 8px; }
450.app-card-link::after { content: ""; position: absolute; inset: 0; z-index: 1; }
451.app-card-actions {
452 display: flex;
453 justify-content: space-between;
454 margin: 16px 0 0;
455 padding: 12px 0 14px;
456 font-size: 12px;
457 font-weight: 600;
458 text-transform: uppercase;
459 letter-spacing: 0.08em;
460 color: var(--mut);
461}
462.app-card-actions a { position: relative; z-index: 2; color: var(--ac); }
463.app-card-actions a:hover { text-decoration: underline; text-underline-offset: 3px; }
464.app-card .app-art .fan { transition: transform 0.4s cubic-bezier(.2,.8,.2,1); }
465.app-card:hover .app-name { color: var(--ac); }
466.app-card-more { margin-left: auto; }
467.app-card:hover .app-card-more { color: var(--ac); }
468@media (prefers-reduced-motion: no-preference) {
469 .app-card:hover .fan-1 { transform: translateX(-50%) translateY(-4%); }
470 .app-card:hover .fan-2 { transform: translateX(-122%) rotate(-9deg); }
471 .app-card:hover .fan-3 { transform: translateX(22%) rotate(9deg); }
472}
473
474.dir-more { margin: 14px 0 0; font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; }
475.dir-more a { color: var(--ac); }
476.dir-more a:hover { text-decoration: underline; text-underline-offset: 3px; }
477
478@media (max-width: 760px) {
479 .app-hero { aspect-ratio: 4 / 3; margin: 0 calc(var(--gut) * -1); }
480 .app-head { flex-wrap: wrap; align-items: flex-start; gap: 16px; }
481 .app-head .app-icon { width: 96px; height: 96px; margin: -64px 0 0 0; }
482 .app-head .app-icon-mono { font-size: 54px; }
483 .app-head .app-id { flex-basis: 100%; }
484 .app-name { font-size: 28px; }
485 .app-highlights li, .app-highlights li + li { padding: 18px 0; border-left: 0; }
486 .app-highlights li + li { border-top: 1px solid var(--line); }
487 .shots figure { width: 62vw; }
262} 488}
263.shots figure { flex: 0 0 auto; width: 176px; margin: 0; scroll-snap-align: start; }
264.shots img { display: block; width: 100%; height: auto; border: 1px solid var(--line); }
265.shots figcaption { color: var(--dim); font-size: 12px; margin-top: 8px; line-height: 1.4; }
266 489
267// ---- Plain list (privacy index) -------------------------------------------- 490// ---- Plain list (privacy index) --------------------------------------------
268.plainlist { list-style: none; padding: 0; margin: 20px 0 0; } 491.plainlist { list-style: none; padding: 0; margin: 20px 0 0; }
269.plainlist li { padding: 11px 0; border-bottom: 1px solid var(--line); } 492.plainlist li {
493 position: relative;
494 display: flex;
495 align-items: center;
496 gap: 16px;
497 padding: 12px 0;
498 border-bottom: 1px solid var(--line);
499}
270.plainlist li:last-child { border-bottom: 0; } 500.plainlist li:last-child { border-bottom: 0; }
271.pl-name { font-weight: 600; } 501.pl-name { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; }
502.pl-name::after { content: ""; position: absolute; inset: 0; }
503.plainlist li:hover .pl-name { color: var(--ac); }
272.pl-desc { display: block; color: var(--mut); font-size: 14px; } 504.pl-desc { display: block; color: var(--mut); font-size: 14px; }
273 505
506// ---- App reference strip (privacy policy pages) -----------------------------
507.app-ref {
508 display: grid;
509 grid-template-columns: 44px 1fr;
510 align-items: center;
511 gap: 0 14px;
512 max-width: 64ch;
513 margin: 0 0 32px;
514 padding: 14px 16px;
515 border-left: 3px solid var(--tint, var(--ac));
516 background: var(--hov);
517}
518.app-ref .app-icon { grid-row: span 2; }
519.app-ref-name { font-weight: 700; letter-spacing: -0.015em; }
520.app-ref-desc { color: var(--mut); font-size: 14px; }
521.app-ref:hover .app-ref-name { color: var(--ac); }
522
274// ---- Footer ---------------------------------------------------------------- 523// ---- Footer ----------------------------------------------------------------
275.site-footer { 524.site-footer {
276 max-width: var(--max); 525 max-width: var(--max);
templates/app.html added +54
@@ -0,0 +1,54 @@
1{% extends "base.html" %}
2
3{% block title %}{{ page.title | lower }} &middot; {{ config.title }}{% endblock title %}
4{% block description %}{{ page.description | default(value=config.description) }}{% endblock description %}
5
6{% block content %}
7<p class="back"><a href="{{ get_url(path="@/apps/_index.md") | safe }}">&larr; all apps</a></p>
8<article class="app"{% if page.extra.tint %} style="--tint: {{ page.extra.tint }}"{% endif %}>
9 {% set art_class = "app-art app-hero" %}{% include "partials/app-art.html" %}
10
11 <header class="app-head">
12 {% include "partials/app-icon.html" %}
13 <div class="app-id">
14 <h1 class="app-name">{{ page.title }}</h1>
15 <p class="app-tagline">{{ page.extra.tagline | default(value=page.description) }}</p>
16 {% if page.extra.platforms %}<p class="app-meta">{{ page.extra.platforms | join(sep=" · ") }}</p>{% endif %}
17 </div>
18 <div class="app-cta">
19 {% include "partials/app-store.html" %}
20 {% if page.extra.link %}<a class="btn" href="{{ page.extra.link }}">{{ page.extra.link_label | default(value="source") | lower }} &rarr;</a>{% endif %}
21 </div>
22 </header>
23
24 {% if page.extra.highlights %}
25 <ul class="app-highlights">
26 {% for h in page.extra.highlights %}
27 <li><h2>{{ h.title }}</h2><p>{{ h.text }}</p></li>
28 {% endfor %}
29 </ul>
30 {% endif %}
31
32 {% if page.extra.screenshots %}
33 <div class="shots" tabindex="0" aria-label="Screenshots">
34 {% for s in page.extra.screenshots %}
35 <figure><img loading="lazy" src="{{ s.src }}" alt="{{ s.alt }}"><figcaption>{{ s.caption }}</figcaption></figure>
36 {% endfor %}
37 </div>
38 {% endif %}
39
40 <div class="prose app-body">
41 {% if page.description %}<p class="lede">{{ page.description }}</p>{% endif %}
42 {{ page.content | safe }}
43 </div>
44
45 <p class="app-foot">
46 {% if page.extra.appstore %}<a href="{{ page.extra.appstore }}">app store</a>{% endif %}
47 {% if page.extra.link %}<a href="{{ page.extra.link }}">{{ page.extra.link_label | default(value="source") | lower }}</a>{% endif %}
48 {% if page.extra.privacy %}
49 {% if "://" in page.extra.privacy %}{% set privacy_url = page.extra.privacy %}{% else %}{% set privacy_url = get_url(path=page.extra.privacy) %}{% endif %}
50 <a href="{{ privacy_url | safe }}">privacy policy</a>
51 {% endif %}
52 </p>
53</article>
54{% endblock content %}
templates/apps.html added +29
@@ -0,0 +1,29 @@
1{% extends "base.html" %}
2
3{% block title %}{{ section.title | lower }} &middot; {{ config.title }}{% endblock title %}
4{% block description %}{{ section.description | default(value=config.description) }}{% endblock description %}
5
6{% block content %}
7<h1 class="page-label">{{ section.title }}</h1>
8<div class="prose apps-intro">{{ section.content | safe }}</div>
9
10<ul class="app-cards">
11 {% for page in section.pages %}
12 <li class="app-card"{% if page.extra.tint %} style="--tint: {{ page.extra.tint }}"{% endif %}>
13 {% include "partials/app-art.html" %}
14 <div class="app-card-body">
15 {% set icon_class = "app-icon app-icon-sm" %}{% include "partials/app-icon.html" %}
16 <div class="app-id">
17 <h2 class="app-name"><a class="app-card-link" href="{{ page.permalink | safe }}">{{ page.title }}</a></h2>
18 <p class="app-tagline">{{ page.extra.tagline | default(value=page.description) }}</p>
19 {% if page.extra.platforms %}<p class="app-meta">{{ page.extra.platforms | join(sep=" · ") }}</p>{% endif %}
20 </div>
21 </div>
22 <p class="app-card-actions">
23 {% if page.extra.appstore %}<a href="{{ page.extra.appstore }}">app store</a>{% endif %}
24 <span class="app-card-more" aria-hidden="true">details &rarr;</span>
25 </p>
26 </li>
27 {% endfor %}
28</ul>
29{% endblock content %}
templates/base.html +2 −2
@@ -21,8 +21,8 @@
21 <header class="site-header"> 21 <header class="site-header">
22 <a class="brand" href="{{ get_url(path="/") | safe }}">krz</a> 22 <a class="brand" href="{{ get_url(path="/") | safe }}">krz</a>
23 <nav class="site-nav"> 23 <nav class="site-nav">
24 <a href="/#apps">apps</a> 24 <a href="{{ get_url(path="@/apps/_index.md") | safe }}">apps</a>
25 <a href="/#services">services</a> 25 <a href="{{ get_url(path="@/services/_index.md") | safe }}">services</a>
26 <a href="/#about">about</a> 26 <a href="/#about">about</a>
27 </nav> 27 </nav>
28 </header> 28 </header>
templates/page.html +6 −14
@@ -4,26 +4,18 @@
4{% block description %}{{ page.description | default(value=config.description) }}{% endblock description %} 4{% block description %}{{ page.description | default(value=config.description) }}{% endblock description %}
5 5
6{% block content %} 6{% block content %}
7{% set parent_path = page.ancestors | last %}
8{% if parent_path == "apps/_index.md" %}
9<p class="back"><a href="/#apps">&larr; all apps</a></p>
10{% else %}
11{% set parent = get_section(path=page.ancestors | last, metadata_only=true) %} 7{% set parent = get_section(path=page.ancestors | last, metadata_only=true) %}
12<p class="back"><a href="{{ parent.permalink | safe }}">&larr; back</a></p> 8<p class="back"><a href="{{ parent.permalink | safe }}">&larr; back</a></p>
9{% if page.extra.app %}{% set icon_page = get_page(path=page.extra.app) %}
10<a class="app-ref"{% if icon_page.extra.tint %} style="--tint: {{ icon_page.extra.tint }}"{% endif %} href="{{ icon_page.permalink | safe }}">
11 {% set icon_class = "app-icon app-icon-xs" %}{% include "partials/app-icon.html" %}
12 <span class="app-ref-name">{{ icon_page.title }}</span>
13 <span class="app-ref-desc">{{ icon_page.extra.tagline | default(value=icon_page.description) }}</span>
14</a>
13{% endif %} 15{% endif %}
14<article class="prose"> 16<article class="prose">
15 <h1 class="page-label">{{ page.title }}</h1> 17 <h1 class="page-label">{{ page.title }}</h1>
16 {% if page.description %}<p class="lede">{{ page.description }}</p>{% endif %} 18 {% if page.description %}<p class="lede">{{ page.description }}</p>{% endif %}
17 {{ page.content | safe }} 19 {{ page.content | safe }}
18 {% if page.extra.appstore or page.extra.link %}
19 <p class="app-actions">
20 {% if page.extra.appstore %}<a class="btn btn-primary" href="{{ page.extra.appstore }}">app store &rarr;</a>{% endif %}
21 {% if page.extra.link %}<a class="btn" href="{{ page.extra.link }}">{{ page.extra.link_label | default(value="source") | lower }} &rarr;</a>{% endif %}
22 </p>
23 {% endif %}
24 {% if page.extra.privacy %}
25 {% if "://" in page.extra.privacy %}{% set privacy_url = page.extra.privacy %}{% else %}{% set privacy_url = get_url(path=page.extra.privacy) %}{% endif %}
26 <p class="privacy-link"><a href="{{ privacy_url | safe }}">privacy policy &rarr;</a></p>
27 {% endif %}
28</article> 20</article>
29{% endblock content %} 21{% endblock content %}
templates/partials/app-art.html added +12
@@ -0,0 +1,12 @@
1{# Header image when supplied, otherwise up to three screenshots fanned over the tint. #}
2<div class="{{ art_class | default(value="app-art") }}{% if not page.extra.header %} app-art-composed{% endif %}">
3 {% if page.extra.header %}
4 <img src="{{ page.extra.header }}" alt="">
5 {% elif page.extra.screenshots %}
6 {% for s in page.extra.screenshots %}{% if loop.index <= 3 %}
7 <img class="fan fan-{{ loop.index }}" src="{{ s.src }}" alt="" loading="lazy">
8 {% endif %}{% endfor %}
9 {% else %}
10 <span class="app-art-mark" aria-hidden="true">{{ page.title }}</span>
11 {% endif %}
12</div>
templates/partials/app-icon.html added +6
@@ -0,0 +1,6 @@
1{% set p = icon_page | default(value=page) %}
2{% if p.extra.icon %}
3<img class="{{ icon_class | default(value="app-icon") }}" src="{{ p.extra.icon }}" alt="" width="1024" height="1024">
4{% else %}
5<span class="{{ icon_class | default(value="app-icon") }} app-icon-mono" aria-hidden="true">{{ p.title | truncate(length=1, end="") | upper }}</span>
6{% endif %}
templates/partials/app-store.html added +6
@@ -0,0 +1,6 @@
1{% if page.extra.appstore %}
2<a class="btn-store" href="{{ page.extra.appstore }}">
3 <svg viewBox="0 0 814 1000" aria-hidden="true"><path fill="currentColor" d="M788 341c-6 4-108 62-108 190 0 148 130 200 134 202-1 3-21 72-69 142-43 62-88 124-156 124s-86-40-165-40c-77 0-104 41-166 41s-106-57-156-127C44 791 0 666 0 548c0-190 124-291 246-291 65 0 119 43 160 43 39 0 100-45 174-45 28 0 129 3 196 99zM554 157c31-37 53-88 53-139 0-7-1-14-2-20-50 2-110 34-146 76-28 32-55 83-55 135 0 8 1 16 2 18 3 1 9 2 14 2 45 0 102-30 134-72z"/></svg>
4 <span><small>Download on the</small>App Store</span>
5</a>
6{% endif %}
templates/partials/apps.html +8 −9
@@ -1,15 +1,14 @@
1{% set apps = get_section(path="apps/_index.md") %} 1{% set apps = get_section(path="apps/_index.md") %}
2<ul class="dir"> 2<ul class="app-rows">
3 {% for page in apps.pages %} 3 {% for page in apps.pages %}
4 <li class="dir-item dir-item-app"> 4 <li{% if page.extra.tint %} style="--tint: {{ page.extra.tint }}"{% endif %}>
5 <a class="dir-row" href="{{ page.permalink | safe }}"> 5 <a class="app-row" href="{{ page.permalink | safe }}">
6 <span class="dir-name">{{ page.title }}</span> 6 {% set icon_class = "app-icon app-icon-xs" %}{% include "partials/app-icon.html" %}
7 <span class="dir-desc">{{ page.description }}</span> 7 <span class="app-row-name">{{ page.title }}</span>
8 <span class="app-row-desc">{{ page.extra.tagline | default(value=page.description) }}</span>
9 <span class="app-row-go" aria-hidden="true">&rarr;</span>
8 </a> 10 </a>
9 <span class="dir-actions">
10 {% if page.extra.appstore %}<a href="{{ page.extra.appstore }}">app store</a>{% endif %}
11 {% if page.extra.link %}<a href="{{ page.extra.link }}">{{ page.extra.link_label | default(value="source") | lower }}</a>{% endif %}
12 </span>
13 </li> 11 </li>
14 {% endfor %} 12 {% endfor %}
15</ul> 13</ul>
14<p class="dir-more"><a href="{{ apps.permalink | safe }}">all apps &rarr;</a></p>
templates/partials/services.html +7 −7
@@ -1,14 +1,14 @@
1{% set services = load_data(path="data/services.toml") %} 1{% set services = load_data(path="data/services.toml") %}
2{% for group in services.groups %} 2{% for group in services.groups %}
3<div class="dir-group"> 3<div class="svc-group">
4 <h3 class="sec-sub">{{ group.name }}</h3> 4 <h3 class="sec-sub">{{ group.name }}</h3>
5 <ul class="dir dir-grid"> 5 <ul class="svc-cards">
6 {% for item in group.items %} 6 {% for item in group.items %}
7 <li class="dir-item"> 7 <li>
8 <a class="dir-row" href="{{ item.url }}"> 8 <a class="svc-card" href="{{ item.url }}">
9 <span class="dir-name">{{ item.name }}</span> 9 <span class="svc-name">{{ item.name }}</span>
10 <span class="dir-desc">{{ item.description }}</span> 10 <span class="svc-desc">{{ item.description }}</span>
11 <span class="dir-host">{{ item.url | replace(from="https://", to="") }}</span> 11 <span class="svc-host">{{ item.url | replace(from="https://", to="") }}</span>
12 </a> 12 </a>
13 </li> 13 </li>
14 {% endfor %} 14 {% endfor %}
templates/section.html +1
@@ -13,6 +13,7 @@
13<ul class="plainlist"> 13<ul class="plainlist">
14 {% for page in section.pages %} 14 {% for page in section.pages %}
15 <li> 15 <li>
16 {% if page.extra.app %}{% set icon_page = get_page(path=page.extra.app) %}{% set icon_class = "app-icon app-icon-xs" %}{% include "partials/app-icon.html" %}{% endif %}
16 <span class="pl-main"> 17 <span class="pl-main">
17 <a class="pl-name" href="{{ page.permalink | safe }}">{{ page.title }}</a> 18 <a class="pl-name" href="{{ page.permalink | safe }}">{{ page.title }}</a>
18 {% if page.description %}<span class="pl-desc">{{ page.description }}</span>{% endif %} 19 {% if page.description %}<span class="pl-desc">{{ page.description }}</span>{% endif %}
templates/services.html added +10
@@ -0,0 +1,10 @@
1{% extends "base.html" %}
2
3{% block title %}{{ section.title | lower }} &middot; {{ config.title }}{% endblock title %}
4{% block description %}{{ section.description | default(value=config.description) }}{% endblock description %}
5
6{% block content %}
7<h1 class="page-label">{{ section.title }}</h1>
8<div class="prose apps-intro">{{ section.content | safe }}</div>
9{% include "partials/services.html" %}
10{% endblock content %}