Commit 71ed6f61c2

71ed6f61c26e4ebf1dcee9c96bf916368b947e36

parent: bd5e0a9da5

Verified · cmc

cmc <hello@cleberg.net> · 2026-09-16 05:22 UTC

Replace the terminal theme with a Swiss design system

Drops the monospace/dark terminal styling for a systematic light-first
theme: system sans stack, numbered section rules, one red accent, a
fixed name column so directory rows align down the page.

Palette is tuned for WCAG AA at the small sizes this design uses. The
accent carries 11-12px uppercase text, so it sits at #d9291f (4.9:1)
rather than a lighter poster red; the previous candidate red was
4.35:1. --dim was also below 4.5 and moved to #6b6b72.

Structure: the site is now one page. /apps/ and /services/ redirect to
the matching home section rather than 404ing, since App Store listings
reference URLs under /apps/. App detail pages and /privacy/ are
unchanged and still generate. About moves onto the home page and
/about/ is dropped.

Mark recolored to the accent; icons and og.png regenerated.
Smooth scrolling is gated on prefers-reduced-motion.

Layout: unified · split

assets/og.svg +6 −6
@@ -1,21 +1,21 @@
11<svg xmlns="http://www.w3.org/2000/svg" width="1200" height="1200" viewBox="0 0 1200 1200">
2 <rect width="1200" height="1200" fill="#fbfbf9"/>
2 <rect width="1200" height="1200" fill="#ffffff"/>
33 <!-- content band: 1200x630, centered vertically for a post-render crop -->
44 <g transform="translate(0,285)">
5 <rect x="48" y="48" width="1104" height="534" fill="none" stroke="#d9d8d2" stroke-width="2"/>
5 <rect x="48" y="48" width="1104" height="534" fill="none" stroke="#e3e3e0" stroke-width="2"/>
66
77 <!-- mark, 120x120 at (112,225) -->
88 <g transform="translate(112,225) scale(3.75)">
9 <g fill="#17171a">
9 <g fill="#111113">
1010 <rect x="4" y="4" width="24" height="4"/>
1111 <rect x="4" y="24" width="24" height="4"/>
1212 <rect x="4" y="8" width="4" height="16"/>
1313 <rect x="24" y="8" width="4" height="16"/>
1414 </g>
15 <rect x="12" y="12" width="8" height="8" fill="#2f6bd6"/>
15 <rect x="12" y="12" width="8" height="8" fill="#d9291f"/>
1616 </g>
1717
18 <text x="272" y="314" font-family="SF Mono, Menlo, monospace" font-size="84" font-weight="700" fill="#17171a" letter-spacing="-2">krz.sh</text>
19 <text x="112" y="403" font-family="SF Mono, Menlo, monospace" font-size="24" fill="#5c5c5f">Small, durable software focused on utility, privacy, and control.</text>
18 <text x="272" y="314" font-family="-apple-system, Helvetica Neue, Arial, sans-serif" font-size="84" font-weight="700" fill="#111113" letter-spacing="-2">krz.sh</text>
19 <text x="112" y="403" font-family="-apple-system, Helvetica Neue, Arial, sans-serif" font-size="24" fill="#5a5a60">Small, durable software focused on utility, privacy, and control.</text>
2020 </g>
2121</svg>
assets/touch.svg +3 −3
@@ -1,12 +1,12 @@
11<svg xmlns="http://www.w3.org/2000/svg" width="180" height="180" viewBox="0 0 32 32">
2 <rect width="32" height="32" fill="#fbfbf9"/>
2 <rect width="32" height="32" fill="#ffffff"/>
33 <g transform="translate(3.2,3.2) scale(0.8)">
4 <g fill="#17171a">
4 <g fill="#111113">
55 <rect x="4" y="4" width="24" height="4"/>
66 <rect x="4" y="24" width="24" height="4"/>
77 <rect x="4" y="8" width="4" height="16"/>
88 <rect x="24" y="8" width="4" height="16"/>
99 </g>
10 <rect x="12" y="12" width="8" height="8" fill="#2f6bd6"/>
10 <rect x="12" y="12" width="8" height="8" fill="#d9291f"/>
1111 </g>
1212</svg>
content/_index.md +9 −2
@@ -2,5 +2,12 @@
22title = "krz"
33+++
44
5krz builds native apps and self-hosted, privacy-respecting frontends. no
6accounts, no ads, no tracking. [about krz &rarr;](@/about.md)
5krz builds native apps and self-hosted, privacy-respecting frontends. Two
6people, a few servers, no investors. Local-first data, few dependencies, no
7ads, no tracking.
8
9Fixed scope — a tool that's done stays done. Local-first — your data stays on
10your device, not our servers. Fewer dependencies — less to break, less to
11trust. Maintenance over features — we'd rather fix than pad.
12
13Active. Slow. Not recruiting.
content/about.md deleted −21
@@ -1,21 +0,0 @@
1+++
2title = "About"
3description = "Small, durable software focused on utility, privacy, and control."
4+++
5
6krz builds native apps and self-hosted, privacy-respecting frontends. two people, a few servers, no investors. local-first data, few dependencies, no ads, no tracking.
7
8## principles
9
10- fixed scope. a tool that's done stays done.
11- local-first. your data stays on your device, not our servers.
12- fewer dependencies. less to break, less to trust.
13- maintenance over features. we'd rather fix than pad.
14
15## status
16
17active. slow. not recruiting.
18
19## greetz
20
21everyone still writing plain text on purpose.
content/apps/_index.md +1
@@ -2,6 +2,7 @@
22title = "Apps"
33description = "Small, durable apps and privacy-focused frontends from krz."
44sort_by = "weight"
5redirect_to = "/#apps"
56template = "section.html"
67page_template = "page.html"
78+++
content/services/_index.md +1 −4
@@ -1,8 +1,5 @@
11+++
22title = "Services"
33description = "Public self-hosted services from krz."
4template = "services.html"
4redirect_to = "/#services"
55+++
6
7Public services hosted by krz. Maintained on a best-effort basis; logging and
8retention are kept minimal where practical.
sass/main.scss +194 −169
@@ -1,84 +1,96 @@
1// krz — plain-text-on-purpose. ascii frames, uppercase labels,
2// mono, near-black/white, mostly monochrome with one link accent.
1// krz — Swiss/systematic. System sans, light-first, one red accent.
2//
3// Tokens. Contrast against the matching --bg, WCAG AA needs 4.5:1 for the
4// small text this design uses throughout:
5// light fg 18.9 mut 6.9 dim 5.3 ac 4.9
6// dark fg 17.2 mut 7.4 dim 5.6 ac 6.3
7// The accent carries 11-12px uppercase text, so it cannot be lightened
8// toward poster red without dropping below 4.5.
39
4@mixin dark {
5 --bg: #0a0a0b;
6 --surface: #101012;
7 --border: #2a2a2e;
8 --text: #f1f1ef;
9 --muted: #9b9b9e;
10 --dim: #6a6a6e;
11 --blue: #6f9dff;
12 --btn-bg: #f1f1ef;
13 --btn-fg: #0a0a0b;
14 --sel-bg: #6f9dff;
15 --sel-fg: #0a0a0b;
10@mixin light {
11 --bg: #ffffff;
12 --fg: #111113;
13 --mut: #5a5a60;
14 --dim: #6b6b72;
15 --line: #e3e3e0;
16 --hair: #cfcfca;
17 --ac: #d9291f;
18 --hov: #f6f6f4;
1619}
1720
18@mixin light {
19 --bg: #fbfbf9;
20 --surface: #ffffff;
21 --border: #d9d8d2;
22 --text: #17171a;
23 --muted: #5c5c5f;
24 --dim: #8a8a8d;
25 --blue: #2f6bd6;
26 --btn-bg: #17171a;
27 --btn-fg: #fbfbf9;
28 --sel-bg: #2f6bd6;
29 --sel-fg: #ffffff;
21@mixin dark {
22 --bg: #0e0e10;
23 --fg: #f2f2f0;
24 --mut: #a0a0a6;
25 --dim: #8a8a92;
26 --line: #26262a;
27 --hair: #3a3a40;
28 --ac: #ff5a4d;
29 --hov: #17171a;
3030}
3131
32:root { @include dark; }
33@media (prefers-color-scheme: light) { :root { @include light; } }
32:root { @include light; }
33@media (prefers-color-scheme: dark) { :root { @include dark; } }
3434
3535:root {
36 --mono: "SF Mono", "JetBrains Mono", "Fira Code", ui-monospace, Menlo, Consolas, monospace;
37 --max: 60rem;
36 --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
37 "Helvetica Neue", Arial, sans-serif;
38 --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
39 --max: 1200px;
40 --gut: 40px;
3841}
3942
4043* { box-sizing: border-box; }
4144html { -webkit-text-size-adjust: 100%; }
45@media (prefers-reduced-motion: no-preference) {
46 html { scroll-behavior: smooth; }
47}
4248
4349body {
4450 margin: 0;
4551 background: var(--bg);
46 color: var(--muted);
47 font-family: var(--mono);
48 font-size: 15.5px;
49 line-height: 1.7;
52 color: var(--fg);
53 font-family: var(--sans);
54 font-size: 15px;
55 line-height: 1.55;
5056 min-height: 100vh;
5157 display: flex;
5258 flex-direction: column;
59 counter-reset: sec;
5360 -webkit-font-smoothing: antialiased;
5461}
5562
56a { color: var(--blue); text-decoration: none; }
57a:hover { text-decoration: underline; text-underline-offset: 3px; }
63a { color: inherit; text-decoration: none; }
64::selection { background: var(--ac); color: #fff; }
65:focus-visible { outline: 2px solid var(--ac); outline-offset: 2px; }
5866
59::selection { background: var(--sel-bg); color: var(--sel-fg); }
60:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
67// Anchored sections must clear the sticky-free header on jump.
68:target { scroll-margin-top: 24px; }
6169
6270// ---- Header ----------------------------------------------------------------
6371.site-header {
6472 display: flex;
65 align-items: center;
73 align-items: baseline;
6674 justify-content: space-between;
6775 gap: 1rem;
6876 flex-wrap: wrap;
6977 max-width: var(--max);
7078 width: 100%;
7179 margin: 0 auto;
72 padding: 1.5rem 1.25rem;
73 border-bottom: 1px solid var(--border);
80 padding: 28px var(--gut) 20px;
81 border-bottom: 2px solid var(--fg);
7482}
75.brand { color: var(--text); font-weight: 700; letter-spacing: -0.01em; }
76.brand:hover { text-decoration: none; }
77
78.site-nav { display: flex; align-items: center; gap: 0.7rem; font-size: 0.92rem; }
79.site-nav a { color: var(--muted); }
80.site-nav a:hover { color: var(--text); text-decoration: none; }
81.sep { color: var(--dim); }
83.brand { font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
84.site-nav {
85 display: flex;
86 gap: 26px;
87 font-size: 12px;
88 font-weight: 600;
89 text-transform: uppercase;
90 letter-spacing: 0.12em;
91}
92.site-nav a { color: var(--mut); }
93.site-nav a:hover { color: var(--ac); }
8294
8395// ---- Main ------------------------------------------------------------------
8496.site-main {
@@ -86,174 +98,187 @@ a:hover { text-decoration: underline; text-underline-offset: 3px; }
8698 max-width: var(--max);
8799 width: 100%;
88100 margin: 0 auto;
89 padding: 3rem 1.25rem 4rem;
101 padding: 56px var(--gut) 72px;
90102}
91103
92// ---- Hero ------------------------------------------------------------------
93.tagline { color: var(--muted); font-size: 1rem; margin: 0 0 2rem; }
94
95.btn {
96 display: inline-block;
97 font-family: var(--mono);
98 font-size: 0.92rem;
99 padding: 0.6rem 1.1rem;
100 border: 1px solid var(--border);
101 color: var(--text);
102 background: transparent;
104.tagline {
105 font-size: 28px;
106 line-height: 1.25;
107 letter-spacing: -0.025em;
108 font-weight: 500;
109 max-width: 19ch;
110 margin: 0 0 72px;
103111}
104.btn:hover { text-decoration: none; border-color: var(--dim); }
105.btn-primary { background: var(--btn-bg); color: var(--btn-fg); border-color: var(--btn-bg); }
106.btn-primary:hover { opacity: 0.88; border-color: var(--btn-bg); }
107112
108// ---- Directory (home + services) -------------------------------------------
109.dir { margin: 2.5rem 0 0; }
113// ---- Numbered sections -----------------------------------------------------
114.sec { counter-increment: sec; margin: 0 0 64px; }
115.sec:last-child { margin-bottom: 0; }
110116
111.dir-label {
112 color: var(--muted);
113 font-size: 0.8rem;
117.sec-label {
118 display: flex;
119 align-items: baseline;
120 gap: 14px;
121 font-size: 11px;
114122 font-weight: 700;
115123 text-transform: uppercase;
116 letter-spacing: 0.18em;
117 margin: 0;
118 padding-bottom: 0.6rem;
119 border-bottom: 1px solid var(--border);
124 letter-spacing: 0.16em;
125 color: var(--fg);
126 margin: 0 0 16px;
127 padding-bottom: 10px;
128 border-bottom: 1px solid var(--fg);
120129}
130.sec-label::before { content: counter(sec, decimal-leading-zero); color: var(--ac); }
121131
122.dir-list { list-style: none; padding: 0; margin: 0; }
123.dir-grid { display: grid; grid-template-columns: 1fr; column-gap: 2rem; }
124.dir-item { border-bottom: 1px solid var(--border); }
125
126.dir-row {
127 display: block;
128 padding: 0.7rem 0.6rem;
129 margin: 0 -0.6rem;
130 color: var(--muted);
132.sec-sub {
133 font-size: 11px;
134 font-weight: 600;
135 text-transform: uppercase;
136 letter-spacing: 0.14em;
137 color: var(--dim);
138 margin: 32px 0 2px;
131139}
132.dir-row:hover { background: var(--surface); text-decoration: none; }
133.dir-row:hover .dir-name { color: var(--blue); }
140.dir-group:first-of-type .sec-sub { margin-top: 20px; }
134141
135.dir-head { display: flex; align-items: baseline; gap: 0.75rem; }
136.dir-name { color: var(--text); font-weight: 700; }
137.dir-host { color: var(--dim); font-size: 0.78rem; margin-left: auto; }
138.dir-desc {
139 display: block;
140 color: var(--muted);
141 font-size: 0.86rem;
142 line-height: 1.5;
143 margin-top: 0.1rem;
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
149.dir-row {
150 display: grid;
151 grid-template-columns: 150px 1fr auto;
152 align-items: baseline;
153 gap: 4px 20px;
154 padding: 11px 8px 11px 0;
144155}
156.dir-name { font-weight: 600; letter-spacing: -0.01em; }
157.dir-desc { color: var(--mut); font-size: 14px; }
158.dir-host { font-family: var(--mono); font-size: 11.5px; color: var(--dim); }
159.dir-item:hover { background: var(--hov); }
160.dir-item:hover .dir-name { color: var(--ac); }
145161
146.dir-item-app { display: flex; flex-direction: column; align-items: flex-start; }
147.dir-item-app .dir-row { width: 100%; }
162.dir-item-app { display: flex; align-items: baseline; gap: 24px; }
163.dir-item-app .dir-row { flex: 1; grid-template-columns: 150px 1fr; min-width: 0; }
148164.dir-actions {
149165 display: flex;
150 gap: 1.1rem;
151 font-size: 0.84rem;
152 padding: 0 0 0.75rem;
166 gap: 20px;
167 font-size: 12px;
168 font-weight: 600;
169 text-transform: uppercase;
170 letter-spacing: 0.08em;
171 white-space: nowrap;
153172}
173.dir-actions a { color: var(--ac); }
174.dir-actions a:hover { text-decoration: underline; text-underline-offset: 3px; }
154175
155@media (min-width: 44rem) {
156 .dir-item-app { flex-direction: row; align-items: center; gap: 1.5rem; }
157 .dir-item-app .dir-row { flex: 1; min-width: 0; }
158 .dir-actions { white-space: nowrap; padding: 0; }
176@media (min-width: 1000px) {
177 .dir-grid { grid-template-columns: 1fr 1fr; }
159178}
160179
161@media (min-width: 48rem) {
162 .dir-grid { grid-template-columns: 1fr 1fr; }
180@media (max-width: 760px) {
181 :root { --gut: 20px; }
182 .tagline { font-size: 22px; max-width: none; margin-bottom: 48px; }
183 .dir-row { grid-template-columns: 1fr; gap: 2px; padding: 12px 0; }
184 .dir-item-app { display: block; }
185 .dir-item-app .dir-row { grid-template-columns: 1fr; }
186 .dir-actions { padding: 0 0 12px; }
163187}
164188
165.home-note {
166 margin: 3.5rem 0 0;
167 padding-top: 1.5rem;
168 border-top: 1px solid var(--border);
169 font-size: 0.88rem;
189// ---- Prose (app detail, privacy, home about) -------------------------------
190.prose { max-width: 64ch; }
191.prose p { margin: 0 0 14px; }
192.prose a { color: var(--ac); text-decoration: underline; text-underline-offset: 3px; }
193.prose strong { font-weight: 600; }
194.prose ul { list-style: none; padding-left: 0; margin: 14px 0; }
195.prose li { margin: 6px 0; padding-left: 20px; position: relative; color: var(--mut); }
196.prose li::before {
197 content: ""; position: absolute; left: 0; top: 0.62em;
198 width: 8px; height: 1px; background: var(--ac);
170199}
171.home-note p { margin: 0; }
200.prose hr { border: 0; border-top: 1px solid var(--line); margin: 32px 0; }
172201
173// ---- Prose -----------------------------------------------------------------
174.prose { max-width: 44rem; }
175202.page-label {
176 color: var(--text);
177 font-size: 1rem;
203 font-size: 11px;
178204 font-weight: 700;
179205 text-transform: uppercase;
180 letter-spacing: 0.2em;
181 margin: 0 0 1.75rem;
206 letter-spacing: 0.16em;
207 margin: 0 0 16px;
208 padding-bottom: 10px;
209 border-bottom: 1px solid var(--fg);
182210}
183211.prose h2 {
184 color: var(--muted);
185 font-size: 0.82rem;
212 font-size: 11px;
186213 font-weight: 700;
187214 text-transform: uppercase;
188 letter-spacing: 0.18em;
189 margin: 2.5rem 0 0.85rem;
215 letter-spacing: 0.14em;
216 color: var(--dim);
217 margin: 40px 0 10px;
218}
219.lede {
220 font-size: 22px;
221 line-height: 1.3;
222 letter-spacing: -0.02em;
223 font-weight: 500;
224 color: var(--fg);
225 margin: 0 0 24px;
226 max-width: 34ch;
190227}
191.prose p { margin: 0 0 1rem; }
192.prose a { color: var(--blue); }
193.prose strong { color: var(--text); font-weight: 700; }
194.prose ul { list-style: none; padding-left: 0; margin: 1rem 0; }
195.prose li { margin: 0.4rem 0; padding-left: 1.3rem; position: relative; }
196.prose li::before { content: "-"; position: absolute; left: 0; color: var(--dim); }
197.prose hr { border: 0; border-top: 1px solid var(--border); margin: 2rem 0; }
198.prose .lede { color: var(--muted); margin: -0.5rem 0 1.25rem; }
199228
200.back { font-size: 0.9rem; margin: 0 0 1.5rem; }
201.back a { color: var(--muted); }
229.back { font-size: 12px; font-weight: 600; text-transform: uppercase;
230 letter-spacing: 0.1em; margin: 0 0 28px; }
231.back a { color: var(--mut); }
232.back a:hover { color: var(--ac); }
202233
203234// ---- App page: actions + screenshots ---------------------------------------
204.app-actions { display: flex; gap: 0.75rem; flex-wrap: wrap; margin: 2rem 0 1rem; }
205.prose a.btn { color: var(--text); }
206.prose a.btn-primary { color: var(--btn-fg); }
207.privacy-link { font-size: 0.9rem; margin: 0.25rem 0 0; }
235.app-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 32px 0 8px; }
236.btn {
237 display: inline-block;
238 font-family: var(--sans);
239 font-size: 12px;
240 font-weight: 600;
241 text-transform: uppercase;
242 letter-spacing: 0.08em;
243 padding: 10px 18px;
244 border: 1px solid var(--hair);
245 color: var(--fg);
246}
247.btn:hover { border-color: var(--fg); }
248.btn-primary { background: var(--ac); border-color: var(--ac); color: #fff; }
249.btn-primary:hover { opacity: 0.88; border-color: var(--ac); }
250.prose a.btn { color: var(--fg); text-decoration: none; }
251.prose a.btn-primary { color: #fff; }
252.privacy-link { font-size: 13px; margin: 12px 0 0; }
208253
209254.shots {
210255 display: flex;
211 gap: 0.85rem;
256 gap: 14px;
212257 overflow-x: auto;
213 margin: 1.5rem 0 0.5rem;
214 padding-bottom: 0.75rem;
258 margin: 20px 0 8px;
259 padding-bottom: 12px;
215260 scroll-snap-type: x mandatory;
216261 -webkit-overflow-scrolling: touch;
217262}
218.shots figure { flex: 0 0 auto; width: 11rem; margin: 0; scroll-snap-align: start; }
219.shots img {
220 display: block;
221 width: 100%;
222 height: auto;
223 border: 1px solid var(--border);
224 background: var(--surface);
225}
226.shots figcaption { color: var(--dim); font-size: 0.8rem; margin-top: 0.55rem; line-height: 1.4; }
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; }
227266
228// ---- Plain list (services / apps) ------------------------------------------
229.plainlist { list-style: none; padding: 0; margin: 1.5rem 0 0; }
230.plainlist li {
231 padding: 0.85rem 0;
232 border-bottom: 1px solid var(--border);
233 display: flex;
234 flex-direction: column;
235 gap: 0.4rem;
236}
267// ---- Plain list (privacy index) --------------------------------------------
268.plainlist { list-style: none; padding: 0; margin: 20px 0 0; }
269.plainlist li { padding: 11px 0; border-bottom: 1px solid var(--line); }
237270.plainlist li:last-child { border-bottom: 0; }
238.pl-main { color: var(--muted); }
239.pl-name { color: var(--text); font-weight: 700; }
240.pl-desc { color: var(--muted); }
241.pl-links { display: flex; gap: 1.1rem; font-size: 0.88rem; }
242.pl-link { color: var(--blue); }
243
244@media (min-width: 40rem) {
245 .plainlist li { flex-direction: row; align-items: baseline; gap: 1rem; }
246 .pl-links { margin-left: auto; white-space: nowrap; }
247}
271.pl-name { font-weight: 600; }
272.pl-desc { color: var(--mut); font-size: 14px; }
248273
249274// ---- Footer ----------------------------------------------------------------
250275.site-footer {
251276 max-width: var(--max);
252277 width: 100%;
253278 margin: 0 auto;
254 padding: 1.5rem 1.25rem 2.5rem;
255 border-top: 1px solid var(--border);
279 padding: 20px var(--gut) 40px;
280 border-top: 1px solid var(--line);
256281}
257.foot-links { color: var(--dim); font-size: 0.85rem; margin: 0; }
258.foot-links a { color: var(--muted); }
259.foot-links a:hover { color: var(--text); }
282.foot-links { font-size: 12px; color: var(--dim); margin: 0; }
283.foot-links a { color: var(--mut); }
284.foot-links a:hover { color: var(--ac); }
static/apple-touch-icon.png

Binary file not shown.

static/favicon.svg +4 −4
@@ -1,10 +1,10 @@
11<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 32 32">
22 <style>
3 .fg { fill: #17171a; }
4 .ac { fill: #2f6bd6; }
3 .fg { fill: #111113; }
4 .ac { fill: #d9291f; }
55 @media (prefers-color-scheme: dark) {
6 .fg { fill: #f1f1ef; }
7 .ac { fill: #6f9dff; }
6 .fg { fill: #f2f2f0; }
7 .ac { fill: #ff5a4d; }
88 }
99 </style>
1010 <rect class="fg" x="4" y="4" width="24" height="4"/>
static/og.png

Binary file not shown.

templates/base.html +3 −5
@@ -21,11 +21,9 @@
2121 <header class="site-header">
2222 <a class="brand" href="{{ get_url(path="/") | safe }}">krz</a>
2323 <nav class="site-nav">
24 <a href="{{ get_url(path="/apps/") | safe }}">apps</a>
25 <span class="sep">·</span>
26 <a href="{{ get_url(path="/services/") | safe }}">services</a>
27 <span class="sep">·</span>
28 <a href="{{ get_url(path="/about/") | safe }}">about</a>
24 <a href="/#apps">apps</a>
25 <a href="/#services">services</a>
26 <a href="/#about">about</a>
2927 </nav>
3028 </header>
3129
templates/index.html +14 −6
@@ -1,12 +1,20 @@
11{% extends "base.html" %}
22
33{% block content %}
4<p class="tagline">{{ config.extra.tagline | lower }}</p>
4<p class="tagline">{{ config.extra.tagline }}</p>
55
6{% include "partials/apps.html" %}
7{% include "partials/services.html" %}
6<section class="sec" id="apps">
7 <h2 class="sec-label">Apps</h2>
8 {% include "partials/apps.html" %}
9</section>
810
9<div class="home-note prose">
10 {{ section.content | safe }}
11</div>
11<section class="sec" id="services">
12 <h2 class="sec-label">Services</h2>
13 {% include "partials/services.html" %}
14</section>
15
16<section class="sec" id="about">
17 <h2 class="sec-label">About</h2>
18 <div class="prose">{{ section.content | safe }}</div>
19</section>
1220{% endblock content %}
templates/page.html +5
@@ -4,8 +4,13 @@
44{% block description %}{{ page.description | default(value=config.description) }}{% endblock description %}
55
66{% 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 %}
711{% set parent = get_section(path=page.ancestors | last, metadata_only=true) %}
812<p class="back"><a href="{{ parent.permalink | safe }}">&larr; back</a></p>
13{% endif %}
914<article class="prose">
1015 <h1 class="page-label">{{ page.title }}</h1>
1116 {% if page.description %}<p class="lede">{{ page.description }}</p>{% endif %}
templates/partials/apps.html +15 −19
@@ -1,19 +1,15 @@
1<section class="dir">
2 <h2 class="dir-label">apps</h2>
3 <ul class="dir-list">
4 {% set apps = get_section(path="apps/_index.md") %}{% for page in apps.pages %}
5 <li class="dir-item dir-item-app">
6 <a class="dir-row" href="{{ page.permalink | safe }}">
7 <span class="dir-head">
8 <span class="dir-name">{{ page.title }}</span>
9 </span>
10 <span class="dir-desc">{{ page.description }}</span>
11 </a>
12 <span class="dir-actions">
13 {% if page.extra.appstore %}<a href="{{ page.extra.appstore }}">app store &rarr;</a>{% endif %}
14 {% if page.extra.link %}<a href="{{ page.extra.link }}">{{ page.extra.link_label | default(value="source") | lower }} &rarr;</a>{% endif %}
15 </span>
16 </li>
17 {% endfor %}
18 </ul>
19</section>
1{% set apps = get_section(path="apps/_index.md") %}
2<ul class="dir">
3 {% for page in apps.pages %}
4 <li class="dir-item dir-item-app">
5 <a class="dir-row" href="{{ page.permalink | safe }}">
6 <span class="dir-name">{{ page.title }}</span>
7 <span class="dir-desc">{{ page.description }}</span>
8 </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>
14 {% endfor %}
15</ul>
templates/partials/services.html +8 −9
@@ -1,18 +1,17 @@
1{% set services = load_data(path="data/services.toml") %}{% for group in services.groups %}
2<section class="dir">
3 <h2 class="dir-label">{{ group.name }}</h2>
4 <ul class="dir-list dir-grid">
1{% set services = load_data(path="data/services.toml") %}
2{% for group in services.groups %}
3<div class="dir-group">
4 <h3 class="sec-sub">{{ group.name }}</h3>
5 <ul class="dir dir-grid">
56 {% for item in group.items %}
67 <li class="dir-item">
78 <a class="dir-row" href="{{ item.url }}">
8 <span class="dir-head">
9 <span class="dir-name">{{ item.name }}</span>
10 <span class="dir-host">{{ item.url | replace(from="https://", to="") }}</span>
11 </span>
9 <span class="dir-name">{{ item.name }}</span>
1210 <span class="dir-desc">{{ item.description }}</span>
11 <span class="dir-host">{{ item.url | replace(from="https://", to="") }}</span>
1312 </a>
1413 </li>
1514 {% endfor %}
1615 </ul>
17</section>
16</div>
1817{% endfor %}
templates/services.html deleted −13
@@ -1,13 +0,0 @@
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<article class="prose">
8 <h1 class="page-label">{{ section.title }}</h1>
9 {{ section.content | safe }}
10</article>
11
12{% include "partials/services.html" %}
13{% endblock content %}