Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
90 commits
Select commit Hold shift + click to select a range
faffad5
🚀 perf(ui): the hover pixels drawn by the GPU in one call
kbrdn1 Nov 17, 2026
b3f39e2
📝 docs(changelog): lighter hover pixels on large cards
kbrdn1 Nov 17, 2026
4912838
🐛 fix(ui): no hover-pixel frame on a card laid out at size 0
kbrdn1 Nov 17, 2026
88c153e
🐛 fix(ui): the 2D path back as the fallback without WebGL2
kbrdn1 Nov 17, 2026
fb4e612
📝 docs(changelog): the 2D fallback without WebGL2
kbrdn1 Nov 17, 2026
762ac61
🐛 fix(analytics): send page views once the page is rendered
kbrdn1 Nov 17, 2026
26fcd0a
🐛 fix(analytics): space the words of a clicked row's label
kbrdn1 Nov 17, 2026
7314845
📝 docs(analytics): page views on navigation, and the tag's settings i…
kbrdn1 Nov 17, 2026
324607d
🐛 fix(navigation): a slow page no longer freezes the screen
kbrdn1 Nov 17, 2026
6f2cc6e
🚀 perf(content): serve the database dumps immutable
kbrdn1 Nov 17, 2026
0894977
📝 docs(cloudflare): the cache rule for Nuxt Content's database
kbrdn1 Nov 17, 2026
d691ac4
Merge pull request #159 from kbrdn1/fix/#158-ga-page-view-titles
kbrdn1 Nov 17, 2026
11f5f23
Merge remote-tracking branch 'origin/dev' into perf/#160-cold-content…
kbrdn1 Nov 17, 2026
f860dff
Merge pull request #161 from kbrdn1/perf/#160-cold-content-navigation
kbrdn1 Nov 17, 2026
8000bfc
Merge remote-tracking branch 'origin/dev' into perf/#153-pixel-hover-lag
kbrdn1 Nov 17, 2026
3fd539a
Merge pull request #157 from kbrdn1/perf/#153-pixel-hover-lag
kbrdn1 Nov 17, 2026
324cc02
🐛 fix(ci): ssh-keyscan errors visible in the deploy logs (#42)
kbrdn1 Nov 17, 2026
7a42d76
📝 docs(changelog): ssh-keyscan errors in the deploy logs (#42)
kbrdn1 Nov 17, 2026
9749d9b
🔒 fix(ci): mask VPS_HOST's resolved addresses before ssh-keyscan (#42)
kbrdn1 Nov 17, 2026
8a43c7e
🔒 fix(ci): mask the resolved addresses before each ssh-keyscan attemp…
kbrdn1 Nov 18, 2026
aa1eb1a
Merge pull request #162 from kbrdn1/fix/#42-ssh-keyscan-stderr
kbrdn1 Nov 18, 2026
07e606c
🐛 fix(ci): pin the VPS host key instead of ssh-keyscan at deploy time
kbrdn1 Nov 18, 2026
c0da0b6
📝 docs(config): the VPS_HOST_KEY secret, how to read it and rotate it
kbrdn1 Nov 18, 2026
73576ea
📝 docs(changelog): the deploy no longer depends on ssh-keyscan
kbrdn1 Nov 18, 2026
c1a106a
🔒 fix(ci): keep the host key's fingerprint out of the public deploy log
kbrdn1 Nov 18, 2026
3728d01
📝 docs(changelog): the host key's fingerprint masked in the deploy log
kbrdn1 Nov 18, 2026
1eeb1dc
Merge pull request #164 from kbrdn1/fix/#163-pin-vps-host-key
kbrdn1 Nov 18, 2026
982e2c2
✨ feat(ui): vendor the dither charts' core, its MIT notice kept in th…
kbrdn1 Nov 18, 2026
939aac4
✨ feat(ui): UiDitherChart, the dither charts in the theme's colours
kbrdn1 Nov 18, 2026
843d577
✨ feat(home): the GitHub calendar as a dithered heatmap, with a spark…
kbrdn1 Nov 18, 2026
e7bafd9
✨ feat(activity): the open source figures as dithered rings
kbrdn1 Nov 18, 2026
0af571b
✅ test(charts): the core's copy and the calendar grid, in CI
kbrdn1 Nov 18, 2026
ffeb0ab
📝 docs(claude): the dither charts, their copy and its formatter excep…
kbrdn1 Nov 18, 2026
ebc5a6c
📝 docs(changelog): Monocode's dither charts
kbrdn1 Nov 18, 2026
6d4bae7
✨ feat(ui): the dither band of Herdr's modal heads, as a CSS mask
kbrdn1 Nov 18, 2026
78230ee
🐛 fix(a11y): reduced motion stills a modal's veil too
kbrdn1 Nov 18, 2026
f1dfbb5
✨ feat(lightbox): the card of Herdr's modals
kbrdn1 Nov 18, 2026
dce8cae
✨ feat(cookies): the preferences and the banner in Herdr's modal head
kbrdn1 Nov 18, 2026
d530670
🎨 style(nav): the brand menu opens as the site's popups now do
kbrdn1 Nov 18, 2026
47e7345
🐛 fix(a11y): Escape gives the focus back in the mobile menu and contents
kbrdn1 Nov 18, 2026
26ef4b4
🎨 style(home): the profile cards take the Herdr modal head
kbrdn1 Nov 18, 2026
1e8ac26
🐛 fix(cookies): the dither band reaches the library's DOM
kbrdn1 Nov 18, 2026
e06a8a3
🐛 fix(lightbox): a picture opened again keeps its size in the head
kbrdn1 Nov 18, 2026
026ce6e
📝 docs(changelog): modals and popups in the look of the Herdr modals
kbrdn1 Nov 18, 2026
2d41ff5
🐛 fix(ui): a heatmap's day in the site's tooltip, on a tap too, in vi…
kbrdn1 Nov 18, 2026
782e08f
✨ feat(home): the GitHub figures as UiDitherStat, the last 12 months'…
kbrdn1 Nov 18, 2026
764466f
📝 docs: UiDitherStat, the heatmap's tooltip, a tap in the changelog
kbrdn1 Nov 18, 2026
45f26c1
🐛 fix(ui): a heatmap's cells follow the browser's zoom
kbrdn1 Nov 18, 2026
32f1b0a
🐛 fix(i18n): "1 contribution" in a day's tooltip
kbrdn1 Nov 18, 2026
01f0293
📝 docs: the calendar's UTC dates in the changelog, the core's source …
kbrdn1 Nov 18, 2026
7af42c5
🐛 fix(lightbox): a new picture never shows the last one's pixels
kbrdn1 Nov 18, 2026
9763868
🐛 fix(a11y): the lightbox shows its focus when it opens
kbrdn1 Nov 18, 2026
ddf565c
🐛 fix(a11y): the focus goes back to the button that opened the lightbox
kbrdn1 Nov 18, 2026
a87bc8a
🐛 fix(a11y): Escape from the brand menu's link focuses its button
kbrdn1 Nov 18, 2026
024ae23
🐛 fix(a11y): the grey over the dither band holds 4.5:1 in dark
kbrdn1 Nov 18, 2026
daa2bd2
🐛 fix(lightbox): no landmarks inside the dialog, no throw on a stray %
kbrdn1 Nov 18, 2026
9af94fb
🐛 fix(a11y): the grey over the dither band holds 4.5:1 in light too
kbrdn1 Nov 18, 2026
c425d03
🐛 fix(lightbox): a late load never lands on the next picture
kbrdn1 Nov 18, 2026
4591dcc
🐛 fix(lightbox): close at once where the veil cannot wait for the card
kbrdn1 Nov 18, 2026
4be8585
🐛 fix(lightbox): a picture that failed is tried again when reopened
kbrdn1 Nov 18, 2026
53015a2
🐛 fix(a11y): the lightbox's focus ring sits on the card, not on the veil
kbrdn1 Nov 18, 2026
2f29040
🐛 fix(a11y): the lightbox opens on its close button again
kbrdn1 Nov 18, 2026
f251bb1
📝 docs(changelog): the focus fixes found by the review
kbrdn1 Nov 18, 2026
9225453
🍱 feat(brand): le favicon pose le K sur une tuile tramée
kbrdn1 Nov 19, 2026
537b64e
✨ feat(brand): icône d'app apple-touch-icon sur la tuile tramée
kbrdn1 Nov 19, 2026
8688978
🍱 docs(readme): la bannière reprend le logo en tuile tramée
kbrdn1 Nov 19, 2026
9b2161c
📝 docs(changelog): l'icône d'app et le favicon en tuile tramée
kbrdn1 Nov 19, 2026
465658d
Merge pull request #170 from kbrdn1/feat/#169-app-icon-dither-tile
kbrdn1 Nov 19, 2026
9018864
🍱 feat(brand): les tuiles tramées des logos de projets
kbrdn1 Nov 19, 2026
81fa96c
✨ feat(home): les logos des dépôts épinglés sur leur tuile tramée
kbrdn1 Nov 19, 2026
e896d58
✨ feat(apps): le logo de gwm sur sa tuile tramée
kbrdn1 Nov 19, 2026
5c50899
✨ feat(apps): le poster de gwm dans le héros de /apps prend sa tuile …
kbrdn1 Nov 19, 2026
e62175f
🍱 feat(blog): la bannière de l'article gwm reprend le logo sur sa tuile
kbrdn1 Nov 19, 2026
95bbf30
✅ test(og): la référence og-smoke de /blog/gwm suit sa nouvelle bannière
kbrdn1 Nov 19, 2026
9bed4e2
📝 docs(changelog): les logos de projets sur leur tuile tramée
kbrdn1 Nov 19, 2026
d29bf7d
Merge pull request #172 from kbrdn1/feat/#171-project-logo-tiles
kbrdn1 Nov 20, 2026
1927f59
🔀 merge: origin/dev into feat/#165, ahead of the 2.3.0 release
kbrdn1 Nov 25, 2026
6d241ca
🔀 chore(merge): origin/dev into feat/#167-herdr-modals
kbrdn1 Nov 25, 2026
cbde8ca
🐛 fix(a11y): the first picture opened focuses the close button, not t…
kbrdn1 Nov 25, 2026
9f62a61
🏷️ types(ui): the dither charts' core typed in a .d.ts beside its copy
kbrdn1 Nov 25, 2026
08bc8ed
🐛 fix(a11y): the cookie preferences give the focus back to their butt…
kbrdn1 Nov 25, 2026
fc8ce32
💡 docs(a11y): only the native dialog has a ::backdrop
kbrdn1 Nov 25, 2026
64df911
🐛 fix(home): the GitHub figures keep their comma and point as before
kbrdn1 Nov 25, 2026
9a55645
📝 docs(changelog): the cookie preferences' focus in Safari
kbrdn1 Nov 25, 2026
8dddac5
Merge pull request #168 from kbrdn1/feat/#167-herdr-modals
kbrdn1 Nov 25, 2026
f3e652f
🔀 merge: origin/dev into feat/#165, with #168 (Herdr modals)
kbrdn1 Nov 25, 2026
fab415e
Merge pull request #166 from kbrdn1/feat/#165-feature-graphes-dither-…
kbrdn1 Nov 25, 2026
5951881
🍱 docs(readme): la bannière passe en v2.3.0
kbrdn1 Nov 25, 2026
5bfd147
🔖 chore(release): v2.3.0
kbrdn1 Nov 25, 2026
a30ac6e
Merge pull request #174 from kbrdn1/chore/#173-release-v2-3-0
kbrdn1 Nov 25, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,14 @@ jobs:
- name: Typecheck
run: bun run typecheck

# The checks of the logic no build exercises: the dither field, the hero scenes and their
# The checks of the logic no build exercises: the dither field and charts, the hero scenes and their
# OG colours (kept in step with theme.css), the panels' cameos, the activity feed, the
# gitfut card the hero's easter egg reads, the article reader's voice and utterances, the
# release tag routing, and which pushes to main deploy production
- name: Script checks
run: |
bun scripts/dither.test.ts
bun scripts/dither-charts.test.ts
bun scripts/pixel-scenes.test.ts
bun scripts/cameos.test.ts
bun scripts/github-activity.test.ts
Expand Down
47 changes: 28 additions & 19 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,7 @@ jobs:
env:
SSH_KEY: ${{ secrets.VPS_SSH_PRIVATE_KEY }}
VPS_HOST: ${{ secrets.VPS_HOST }}
VPS_HOST_KEY: ${{ secrets.VPS_HOST_KEY }}
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
Expand All @@ -176,24 +177,23 @@ jobs:
chmod 600 ~/.ssh/id_ed25519
# sanity check sans dévoiler la clé
ssh-keygen -y -f ~/.ssh/id_ed25519 >/dev/null && echo "ssh key OK"
# ssh-keyscan expire au bout de 5 s par defaut, et son echec en
# derniere commande d'un step lance sous `bash -e` faisait tomber tout
# le deploiement, avec `2>/dev/null` pour masquer la raison. Vecu sur
# le premier deploiement prod de v1.0.0. Timeout explicite, retry, et
# verification qu'on a vraiment une cle avant de continuer.
for i in 1 2 3 4 5; do
if ssh-keyscan -T 10 -H "$VPS_HOST" >> ~/.ssh/known_hosts 2>/dev/null \
&& [ -s ~/.ssh/known_hosts ]; then
echo "known_hosts ok (tentative $i)"
break
fi
echo "ssh-keyscan sans reponse (tentative $i/5)"
if [ "$i" -eq 5 ]; then
echo "::error::ssh-keyscan n'a pas recupere la cle hote apres 5 tentatives"
exit 1
fi
sleep 5
done
# La clé hôte vient du secret VPS_HOST_KEY (`ssh-ed25519 AAAA…`, lue
# sur le VPS) : plus de scan au déploiement, ses timeouts muets ont
# fait tomber v1.0.0 et v1.0.1 (#42, #163). Pas de repli sur un scan,
# sinon la dépendance reste. Le sed retire un CRLF collé avec la
# valeur ; ssh-keygen -l refuse une ligne mal formée. Son empreinte ne
# va pas au log public : elle se cherche dans les index de scan
# Internet et y rend l'IP d'origine.
if [ -z "$VPS_HOST_KEY" ]; then
echo "::error::VPS_HOST_KEY manquant, voir docs/CONFIGURATION.md (The deploy key)"
exit 1
fi
printf '%s %s\n' "$VPS_HOST" "$VPS_HOST_KEY" > ~/.ssh/known_hosts
sed -i 's/\r$//' ~/.ssh/known_hosts
if ! ssh-keygen -l -f ~/.ssh/known_hosts >/dev/null; then
echo "::error::VPS_HOST_KEY illisible : une ligne \`ssh-ed25519 AAAA…\`, sans nom d'hôte devant"
exit 1
fi

- name: Compute image ref
id: img
Expand All @@ -215,8 +215,17 @@ jobs:
NUXT_APP_SECRET: ${{ secrets.NUXT_APP_SECRET }}
TURNSTILE_SECRET_KEY: ${{ secrets.TURNSTILE_SECRET_KEY }}
run: |
# ssh cite l'adresse résolue sur certaines erreurs (`Connection closed
# by <ip> port 22`), que le masque du secret ne couvre pas quand
# VPS_HOST est un nom d'hôte : masquée avant la connexion (#162).
# Sur une clé hôte qui ne correspond pas, il imprime l'empreinte que
# le serveur a envoyée, qui rend l'IP d'origine comme celle de Setup
# ssh : le sed la masque, pipefail garde le code de sortie de ssh.
getent ahosts "$VPS_HOST" | awk '!s[$1]++ {print "::add-mask::" $1}' || true
REMOTE_CMD="ENV=$ENV IMAGE=$IMAGE GITHUB_TOKEN=$GH_TOKEN RESEND_API_KEY=$RESEND_API_KEY NUXT_STUDIO_TOKEN=$NUXT_STUDIO_TOKEN NUXT_APP_SECRET=$NUXT_APP_SECRET TURNSTILE_SECRET_KEY=$TURNSTILE_SECRET_KEY $ACTION"
ssh -o BatchMode=yes -o ConnectTimeout=20 "$VPS_USER@$VPS_HOST" "$REMOTE_CMD"
set -o pipefail
ssh -o BatchMode=yes -o ConnectTimeout=20 -o StrictHostKeyChecking=yes "$VPS_USER@$VPS_HOST" "$REMOTE_CMD" 2>&1 \
| sed -u -E 's/SHA256:[A-Za-z0-9+/]+/SHA256:***/g'

- name: Summary
if: always()
Expand Down
47 changes: 28 additions & 19 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -248,31 +248,31 @@ jobs:
env:
SSH_KEY: ${{ secrets.VPS_SSH_PRIVATE_KEY }}
VPS_HOST: ${{ secrets.VPS_HOST }}
VPS_HOST_KEY: ${{ secrets.VPS_HOST_KEY }}
run: |
mkdir -p ~/.ssh
chmod 700 ~/.ssh
printf '%s\n' "$SSH_KEY" > ~/.ssh/id_ed25519
sed -i 's/\r$//' ~/.ssh/id_ed25519
chmod 600 ~/.ssh/id_ed25519
ssh-keygen -y -f ~/.ssh/id_ed25519 >/dev/null && echo "ssh key OK"
# ssh-keyscan expire au bout de 5 s par defaut, et son echec en
# derniere commande d'un step lance sous `bash -e` faisait tomber tout
# le deploiement, avec `2>/dev/null` pour masquer la raison. Vecu sur
# le premier deploiement prod de v1.0.0. Timeout explicite, retry, et
# verification qu'on a vraiment une cle avant de continuer.
for i in 1 2 3 4 5; do
if ssh-keyscan -T 10 -H "$VPS_HOST" >> ~/.ssh/known_hosts 2>/dev/null \
&& [ -s ~/.ssh/known_hosts ]; then
echo "known_hosts ok (tentative $i)"
break
fi
echo "ssh-keyscan sans reponse (tentative $i/5)"
if [ "$i" -eq 5 ]; then
echo "::error::ssh-keyscan n'a pas recupere la cle hote apres 5 tentatives"
exit 1
fi
sleep 5
done
# La clé hôte vient du secret VPS_HOST_KEY (`ssh-ed25519 AAAA…`, lue
# sur le VPS) : plus de scan au déploiement, ses timeouts muets ont
# fait tomber v1.0.0 et v1.0.1 (#42, #163). Pas de repli sur un scan,
# sinon la dépendance reste. Le sed retire un CRLF collé avec la
# valeur ; ssh-keygen -l refuse une ligne mal formée. Son empreinte ne
# va pas au log public : elle se cherche dans les index de scan
# Internet et y rend l'IP d'origine.
if [ -z "$VPS_HOST_KEY" ]; then
echo "::error::VPS_HOST_KEY manquant, voir docs/CONFIGURATION.md (The deploy key)"
exit 1
fi
printf '%s %s\n' "$VPS_HOST" "$VPS_HOST_KEY" > ~/.ssh/known_hosts
sed -i 's/\r$//' ~/.ssh/known_hosts
if ! ssh-keygen -l -f ~/.ssh/known_hosts >/dev/null; then
echo "::error::VPS_HOST_KEY illisible : une ligne \`ssh-ed25519 AAAA…\`, sans nom d'hôte devant"
exit 1
fi

- name: Deploy via ssh wrapper
env:
Expand All @@ -286,8 +286,17 @@ jobs:
NUXT_APP_SECRET: ${{ secrets.NUXT_APP_SECRET }}
TURNSTILE_SECRET_KEY: ${{ secrets.TURNSTILE_SECRET_KEY }}
run: |
# ssh cite l'adresse résolue sur certaines erreurs (`Connection closed
# by <ip> port 22`), que le masque du secret ne couvre pas quand
# VPS_HOST est un nom d'hôte : masquée avant la connexion (#162).
# Sur une clé hôte qui ne correspond pas, il imprime l'empreinte que
# le serveur a envoyée, qui rend l'IP d'origine comme celle de Setup
# ssh : le sed la masque, pipefail garde le code de sortie de ssh.
getent ahosts "$VPS_HOST" | awk '!s[$1]++ {print "::add-mask::" $1}' || true
REMOTE_CMD="ENV=$ENV IMAGE=$IMAGE GITHUB_TOKEN=$GH_TOKEN RESEND_API_KEY=$RESEND_API_KEY NUXT_STUDIO_TOKEN=$NUXT_STUDIO_TOKEN NUXT_APP_SECRET=$NUXT_APP_SECRET TURNSTILE_SECRET_KEY=$TURNSTILE_SECRET_KEY deploy"
ssh -o BatchMode=yes -o ConnectTimeout=20 "$VPS_USER@$VPS_HOST" "$REMOTE_CMD"
set -o pipefail
ssh -o BatchMode=yes -o ConnectTimeout=20 -o StrictHostKeyChecking=yes "$VPS_USER@$VPS_HOST" "$REMOTE_CMD" 2>&1 \
| sed -u -E 's/SHA256:[A-Za-z0-9+/]+/SHA256:***/g'

# Vérifie depuis l'extérieur que c'est bien cette version qui sert le
# trafic, pas seulement que le conteneur a démarré. deploy.sh attend
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ migrates `[Unreleased]` into that file and empties this one, see

## Past releases

- [2.3.0](changelogs/2.3.0.md) · 2026-11-25
- [2.2.0](changelogs/2.2.0.md) · 2026-11-17
- [2.1.0](changelogs/2.1.0.md) · 2026-11-02
- [2.0.0](changelogs/2.0.0.md) · 2026-10-29
Expand Down
9 changes: 7 additions & 2 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,17 @@ These modules are in dependencies but not yet integrated into `nuxt.config.ts`,

`bunfig.toml` (`[fmt]`) carries over the former `.oxfmtrc.json` and prints byte for byte what oxfmt 0.74 printed. `flavor = "oxfmt"` is load-bearing: without oxfmt installed, `bun fmt` falls back to Prettier's flavor, which breaks union types differently. There is no `fmt` script on purpose: before Bun 1.4.4, `bun fmt` means `bun run fmt`, so a `"fmt": "bun fmt"` script would call itself forever; without one, an older Bun fails on "Script not found". Leave `sortTailwindcss` off: it skips every file of a @nuxt/ui project (oven-sh/bun#47229). The Bun version is pinned in three places that move together: `bun-version` in `ci.yml`, the `Dockerfile` base image, the `bun` override in `flake.nix` (drop it once nixpkgs ships 1.4.4, with its line in the check below). Dependabot only bumps the Dockerfile: the CI step `Bun version pins` fails until the other two follow. `fmt:check` passes `--no-script`, so a `fmt` script added later cannot stand in for the formatter.

It formats code only, with three deliberate exceptions; the last two break at request time, where lint, typecheck and build cannot see them:
It formats code only, with four deliberate exceptions; the last two break at request time, where lint, typecheck and build cannot see them:
- Markdown and MDX (blog articles, changelogs, docs) are prose, never reformatted;
- `app/utils/dither-charts.js` is a verbatim copy of a shared file (see Dither charts below): reformatted, it no longer matches its source;
- `app/components/OgImage/**` is rendered by satori, whose gradient parser fails on a `style` value split across lines (`/_og/*` returns 500);
- CSS keeps double quotes (`[[fmt.overrides]]`): nuxt-og-image (6.1, still true in 7) only recognises the Tailwind entry through `@theme` or a double-quoted `@import "tailwindcss"` (`dist/chunks/tw4.mjs`). `main.css` has no `@theme`, so `@import 'tailwindcss'` turns that resolver off and the OG images fall back to the mono font. `theme.css` quotes alone change nothing.

CI catches both: `scripts/og-smoke.sh` serves the build and compares the OG images of `/`, `/blog`, `/blog/gwm` (French, at the root) and `/en` byte for byte against `scripts/og-smoke/*.png` (rendering is deterministic across platforms). That determinism rests on the `Inter OG` family (`public/fonts/inter`, static TTF, root `font-family` of both templates): Google serves Inter as a variable font, satori cannot read it, and nuxt-og-image's fallback download differs per machine (Inter on a Mac with Inter installed, Fenix on the CI runner and so in prod). A weight the templates start using needs its static TTF there. It also checks those pages' `<head>` (`<html lang>`, exactly one canonical, JSON-LD that parses with an `@type` on every node) and that `/sitemap.xml` lists the article: no other step renders these tags. When og-smoke fails in CI, the actual renders are uploaded as the `og-smoke` artifact. An intended change to an OG image (hero copy, that article, a satori component) needs `scripts/og-smoke.sh --update` after `bun run build`, and the new PNGs committed. The repo-wide reformat commit is listed in `.git-blame-ignore-revs`.

### Dither charts
`UiDitherChart` draws Monocode's dither charts (heatmap, donut, sparkline, bar/line/area, gauge, progress), `UiDitherStat` a figure with its sparkline, with `app/utils/dither-charts.js`, a verbatim copy of the shared core kept with the `me:report` skill (`~/.claude/skills/me/report/shell/dither-charts.js` in the dotfiles; MIT, the notice at its top). Never edit the copy: fix the source, copy it again, `bun scripts/dither-charts.test.ts`. Its API is typed by hand in `app/utils/dither-charts.d.ts`, which the component and the test both read: a new copy that changes the API changes it too, nothing detects the drift. Colours are the core's tokens (`accent`, `positive`, `muted`, `series1` to `series6`…), mapped to the theme's variables in the component (`--series-*` live in `theme.css`), so a theme switch repaints them. The core only reads `prefers-reduced-motion`: the component settles the entrance itself for the site's pause button (`useReducedMotion`), through the controller's `settled` flag, which the core does not document. A heatmap's cell reads in the site's tooltip (`TOOLTIP_CLASS`, teleported, so no scroller clips it), driven by the core's `onHover`; the core's own card is hidden. The minifier drops the copy's MIT header, legal comments included: `nuxt.config.ts` reads it (`MIT License` to `SOFTWARE.`) and puts it back on the chunk that carries the core (`postBanner`). A new copy that changes either of them fails the build (notice) or lets the charts animate under the pause button (`settled`).

### Content System
The project uses Nuxt Content v3's collection-based API (not the legacy document-driven mode). Always use `queryCollection()` instead of deprecated content APIs.

Expand Down Expand Up @@ -164,6 +168,7 @@ The routing logic lives in a script rather than inline YAML because getting it w
### Required Secrets
Repo-level GitHub Actions secrets (see `docs/CONFIGURATION.md`):
- `VPS_HOST` / `VPS_USER` / `VPS_SSH_PRIVATE_KEY` - SSH deploy target + key
- `VPS_HOST_KEY` - the VPS's host key (`ssh-ed25519 AAAA…`, no host name), pinned in `known_hosts` instead of an `ssh-keyscan` at deploy time (#163). Missing or malformed, `Setup ssh` fails; a reinstalled VPS fails every deploy on `Host key verification failed` until it is updated
- `GH_TOKEN` - GitHub API access (threaded to the VPS at deploy time)
- `RESEND_API_KEY` - Email sending (contact form), **source of truth for prod**, injected into the VPS by `deploy.yml`
- `NUXT_STUDIO_TOKEN` - **not defined**: passed by `deploy.yml` and `release.yml`, but unused while `nuxt-studio` is disabled
Expand All @@ -173,7 +178,7 @@ Repo-level GitHub Actions secrets (see `docs/CONFIGURATION.md`):
Repo-level **variables** (not secrets), passed as build-args by both workflows:
- `CV_URL_FR` / `CV_URL_EN` - addresses of the CV PDFs, hosted outside this public repo (on the VPS). Empty: the CV sections on `/experience` and `/contact` stay hidden
- `TURNSTILE_SITE_KEY` - site key of the contact form's Turnstile widget (hostnames `kbrdn.dev` + `pre-prod.kbrdn.dev`). Empty: no widget, so no message can be sent. Locally, `.env.example` has Cloudflare's always-pass test keys
- `GA_ID` - Google Analytics 4 measurement ID, passed to **prod builds only**. Empty: no cookie banner, no gtag. Consent is CookieConsent (`app/plugins/cookie-consent.client.ts`, basic consent mode: gtag.js loads only after "accept"); events go through `trackEvent()` (`app/utils/analytics.ts`), a no-op before consent. The terms page (`/cgu`, `/en/terms`) lists the cookies: keep it in step
- `GA_ID` - Google Analytics 4 measurement ID, passed to **prod builds only**. Empty: no cookie banner, no gtag. Consent is CookieConsent (`app/plugins/cookie-consent.client.ts`, basic consent mode: gtag.js loads only after "accept"); events go through `trackEvent()` (`app/utils/analytics.ts`), a no-op before consent. The terms page (`/cgu`, `/en/terms`) lists the cookies: keep it in step. The Google tag ignores an on-page `gtag('config')` that repeats its own, parameters included: the cookie duration (13 months from the first visit), Google signals (off) and history-based page views (off, the plugin sends them once the page is rendered) are set in GA, in the stream's tag settings, not in code

**Email**: the form sends from `contact@email.kbrdn.dev` (Resend, subdomain verified) to `hello@kbrdn.dev`. A bounce puts that address on Resend's suppression list, after which every message is dropped as `suppressed` while the form still answers success (`docs/CONFIGURATION.md`)

Expand Down
3 changes: 3 additions & 0 deletions app/app.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ useSiteSeo()

<template>
<UApp>
<!-- A navigation slower than a moment (the first to a content page loads Nuxt Content's
database in the browser) shows a thin bar along the top, in the site's orange -->
<NuxtLoadingIndicator color="var(--color-primary-500)" :height="2" />
<!-- Says the new page's title to screen readers on client-side navigation -->
<NuxtRouteAnnouncer />
<NuxtLayout>
Expand Down
9 changes: 6 additions & 3 deletions app/assets/css/accessibility.css
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,13 @@ html {
Reduced Motion Support
═══════════════════════════════════════════════════ */

/* Disable all animations and transitions for users who prefer reduced motion */
/* Disable all animations and transitions for users who prefer reduced motion. ::backdrop
too: a native dialog's veil (UiLightbox) is no element's descendant */
@media (prefers-reduced-motion: reduce) {
*,
*::before,
*::after {
*::after,
*::backdrop {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
Expand All @@ -43,7 +45,8 @@ html {
from the page, not only from the system setting (RGAA 13.8) */
html.motion-paused *,
html.motion-paused *::before,
html.motion-paused *::after {
html.motion-paused *::after,
html.motion-paused *::backdrop {
animation-duration: 0.01ms !important;
animation-iteration-count: 1 !important;
transition-duration: 0.01ms !important;
Expand Down
34 changes: 34 additions & 0 deletions app/assets/css/components.css
Original file line number Diff line number Diff line change
Expand Up @@ -529,6 +529,40 @@
.ticks {
mask-image: repeating-linear-gradient(90deg, #000 0 2px, transparent 2px 6px);
}

/* The pixel dither band under a modal's or a card's head, after Kylian's Herdr modals: one
128px tile (public/images/dither-band.svg) repeated on x, so no width sees it end, tinted
by --band (the context's colour) at Herdr's strengths. The card's radius and overflow clip
it at the arc, inside the border, corners filled. The content sits over it */
.dither-band {
position: relative;
isolation: isolate;
}

.dither-band::before {
content: "";
position: absolute;
inset: 0;
z-index: -1;
pointer-events: none;
background: color-mix(in srgb, var(--band, var(--color-primary-500)) 30%, transparent);
mask: url("/images/dither-band.svg") 0 0 / 128px 80px repeat-x;
}

:is(.dark, .blur) .dither-band::before {
background: color-mix(in srgb, var(--band, var(--color-primary-500)) 42%, transparent);
}

/* The grey of the mono lines one step further from the band. Over its densest dots the
site's --label falls under 4.5:1: 4.39 in light on a #f5f5f5 panel (500), 3.49 in dark
on the blog's blue (400). 600 holds 5.17:1 at worst in light, 300 4.59:1 in dark */
.dither-band {
--label: var(--color-neutral-600);
}

:is(.dark, .blur) .dither-band {
--label: var(--color-neutral-300);
}
}

/* Scrolls sideways without a scrollbar: strips, tag rows, the table of contents. Not in
Expand Down
Loading
Loading