Commit 8c83078043

8c830780439cce5fe2053a56782f625a0de6f30a

parent: d250ea16e3

Verified · cmc

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

Bring home, services and privacy pages in line with apps

- Home: larger intro; apps as icon rows linking to their pages.
- Services: cards grouped by kind; /services/ is a page, not a redirect.
- Privacy: app icon on index rows and an app strip on each policy,
  via a new `app` front matter field.
- Nav links to /apps/ and /services/.

Layout: unified · split

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 +78 −46
@@ -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
142// ---- Directory rows -------------------------------------------------------- 143// ---- Home: app rows -------------------------------------------------------
143// The name column is fixed so names align down the page; long descriptions 144.app-rows { list-style: none; margin: 0; padding: 0; }
144// wrap inside their own cell rather than pushing the grid out of true. 145.app-rows li { border-bottom: 1px solid var(--line); }
145.dir { list-style: none; margin: 0; padding: 0; } 146.app-row {
146.dir-grid { display: grid; grid-template-columns: 1fr; column-gap: 48px; }
147.dir-item { border-bottom: 1px solid var(--line); }
148
149.dir-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) -------------------------------
@@ -281,6 +285,7 @@ a { color: inherit; text-decoration: none; }
281 background: var(--bg); 285 background: var(--bg);
282} 286}
283.app-icon-sm { width: 64px; height: 64px; } 287.app-icon-sm { width: 64px; height: 64px; }
288.app-icon-xs { width: 44px; height: 44px; }
284.app-icon-mono { 289.app-icon-mono {
285 display: grid; 290 display: grid;
286 place-items: center; 291 place-items: center;
@@ -292,6 +297,7 @@ a { color: inherit; text-decoration: none; }
292} 297}
293.app-icon.app-icon-mono { font-size: 62px; } 298.app-icon.app-icon-mono { font-size: 62px; }
294.app-icon-sm.app-icon-mono { font-size: 36px; } 299.app-icon-sm.app-icon-mono { font-size: 36px; }
300.app-icon-xs.app-icon-mono { font-size: 24px; }
295 301
296.app-art { 302.app-art {
297 position: relative; 303 position: relative;
@@ -483,11 +489,37 @@ a { color: inherit; text-decoration: none; }
483 489
484// ---- Plain list (privacy index) -------------------------------------------- 490// ---- Plain list (privacy index) --------------------------------------------
485.plainlist { list-style: none; padding: 0; margin: 20px 0 0; } 491.plainlist { list-style: none; padding: 0; margin: 20px 0 0; }
486.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}
487.plainlist li:last-child { border-bottom: 0; } 500.plainlist li:last-child { border-bottom: 0; }
488.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); }
489.pl-desc { display: block; color: var(--mut); font-size: 14px; } 504.pl-desc { display: block; color: var(--mut); font-size: 14px; }
490 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
491// ---- Footer ---------------------------------------------------------------- 523// ---- Footer ----------------------------------------------------------------
492.site-footer { 524.site-footer {
493 max-width: var(--max); 525 max-width: var(--max);
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 +7
@@ -6,6 +6,13 @@
6{% block content %} 6{% block content %}
7{% set parent = get_section(path=page.ancestors | last, metadata_only=true) %} 7{% set parent = get_section(path=page.ancestors | last, metadata_only=true) %}
8<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>
15{% endif %}
9<article class="prose"> 16<article class="prose">
10 <h1 class="page-label">{{ page.title }}</h1> 17 <h1 class="page-label">{{ page.title }}</h1>
11 {% if page.description %}<p class="lede">{{ page.description }}</p>{% endif %} 18 {% if page.description %}<p class="lede">{{ page.description }}</p>{% endif %}
templates/partials/app-icon.html +4 −3
@@ -1,5 +1,6 @@
1{% if page.extra.icon %} 1{% set p = icon_page | default(value=page) %}
2<img class="{{ icon_class | default(value="app-icon") }}" src="{{ page.extra.icon }}" alt="" width="1024" height="1024"> 2{% if p.extra.icon %}
3<img class="{{ icon_class | default(value="app-icon") }}" src="{{ p.extra.icon }}" alt="" width="1024" height="1024">
3{% else %} 4{% else %}
4<span class="{{ icon_class | default(value="app-icon") }} app-icon-mono" aria-hidden="true">{{ page.title | truncate(length=1, end="") | upper }}</span> 5<span class="{{ icon_class | default(value="app-icon") }} app-icon-mono" aria-hidden="true">{{ p.title | truncate(length=1, end="") | upper }}</span>
5{% endif %} 6{% endif %}
templates/partials/apps.html +8 −10
@@ -1,16 +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>
16<p class="dir-more"><a href="{{ apps.permalink | safe }}">browse all apps &rarr;</a></p> 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 %}