Commit eb7fa66
committed
feat(website): kolu.dev, light/dark toggle, author link + PR #625 review
Domain
* astro.config.mjs: site=https://kolu.dev, no base prefix (project-
site /kolu is gone); public/CNAME ships alongside the build.
* README references updated.
Light/dark toggle
* data-theme on <html> with FOUC-safe inline bootstrap script
(reads localStorage, falls back to prefers-color-scheme).
* Toggle button in Header with sun/moon SVGs that cross-fade.
* Light palette (warm paper + dark amber) overrides the dark tokens
via [data-theme="light"].
* shikiConfig uses themes:{light,dark} + defaultColor:false; global.css
routes CSS variables via data-theme so code blocks track the toggle.
Author link
* content.config.ts: new authorUrl field (default https://srid.ca/).
* blog post page renders the author as a link.
PR #625 review feedback
* pubDate: apr 17 -> apr 18.
* docs/perf-investigations/the-leak-that-wasnt-in-any-context.md is
deleted — blog post now lives only in website/src/content/blog/.
* favicon duplication: packages/client/favicon.svg is the single
canonical copy; packages/client/public/favicon.svg and
website/public/favicon.svg are symlinks to it. The root flake
builds website by synthesizing src = website/ + resolved favicon,
so the Nix sandbox sees real bytes even though the working tree
has a cross-directory symlink.
* Pages workflow: nixbuild/nix-quick-install-action (drop the
Determinate installer + magic-nix-cache combo).
* website/README.md slimmed to essentials.1 parent 17a112b commit eb7fa66
16 files changed
Lines changed: 195 additions & 387 deletions
File tree
- .github/workflows
- docs/perf-investigations
- packages/client/public
- website
- public
- src
- components
- content/blog
- layouts
- pages/blog
- styles
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
6 | 5 | | |
7 | 6 | | |
8 | 7 | | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
12 | 11 | | |
13 | | - | |
| 12 | + | |
14 | 13 | | |
15 | 14 | | |
16 | 15 | | |
| |||
29 | 28 | | |
30 | 29 | | |
31 | 30 | | |
32 | | - | |
| 31 | + | |
33 | 32 | | |
34 | | - | |
| 33 | + | |
35 | 34 | | |
36 | 35 | | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| |||
Lines changed: 0 additions & 266 deletions
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
35 | 45 | | |
36 | 46 | | |
37 | 47 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
0 commit comments