docs: analytics on, healthcheck, OG image done

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Jean-Luc Makiola
2026-06-28 13:59:16 +02:00
parent 0e2ae872bf
commit ec8a8f38a0

View File

@@ -57,9 +57,10 @@ on push).
- Coolify app uuid: `q144cv08qb5gakw7fez37ys7`; build-pack dockerfile, port 80 - Coolify app uuid: `q144cv08qb5gakw7fez37ys7`; build-pack dockerfile, port 80
- Build: **`npm install`** (not `npm ci`) on **node:22-slim** — Astro 7's wasm32 - Build: **`npm install`** (not `npm ci`) on **node:22-slim** — Astro 7's wasm32
optional deps (`@emnapi/*`) break `npm ci`'s strict lock-sync across npm versions. optional deps (`@emnapi/*`) break `npm ci`'s strict lock-sync across npm versions.
- Analytics: `PUBLIC_UMAMI_SRC=https://umami.jeanlucmakiola.de/script.js` (build-time). - Analytics: **ON** `PUBLIC_UMAMI_SRC` + `PUBLIC_UMAMI_WEBSITE`
**TODO:** add `PUBLIC_UMAMI_WEBSITE` (website id from the Umami dashboard) to (`625eb309-1d8d-4c79-9048-66862d2045ce`) set as build-time vars.
enable analytics, then redeploy. Until then the script is gated off (by design). - Healthcheck: enabled (GET `/` → 200); app reports `running:healthy`.
- OG image: `public/og-default.png` (1200×630, brand) generated from assets.
## Design system (M3 Expressive) ## Design system (M3 Expressive)
- Tokens in `src/styles/tokens.css` as `--md-sys-*` CSS custom properties - Tokens in `src/styles/tokens.css` as `--md-sys-*` CSS custom properties