fix: self-host fonts (no Google Fonts request) and crates at 0.4.3 #430

Merged
sharang merged 4 commits from fix/self-host-fonts into main 2026-09-30 20:48:02 +00:00
4 Commits
Author SHA1 Message Date
Sharang ParnerkarandClaude Opus 5.5 6ed7998491 chore: crates at version 0.4.3
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Check (pull_request) Successful in 7m30s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-30 22:39:08 +02:00
Sharang ParnerkarandClaude Opus 5.5 2c1127f2d2 fix(docs): bundle Geist fonts with the docs site, no Google Fonts
The VitePress config loaded Geist from fonts.googleapis.com on every
docs page (/docs/ on the dashboard host). The woff2 files (OFL 1.1) now
live in the theme and custom.css declares them with @font-face; Vite
fingerprints and serves them under /docs/assets/.

Refs platform/portal#65 (privacy release gate 4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-30 22:39:08 +02:00
Sharang ParnerkarandClaude Opus 5.5 4f5a841ffd fix(pentest): report uses system fonts, loads no Google Fonts
The HTML pentest report linked a Google Fonts stylesheet (Libre
Baskerville, Source Sans 3, JetBrains Mono) plus preconnects, so opening
the report, and rendering it to PDF, contacted Google. The links are
gone; the font variables keep the named faces first (used where
installed) followed by system fallbacks. A test asserts the rendered
report references no external resource.

Refs platform/portal#65 (privacy release gate 4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-30 22:39:08 +02:00
Sharang ParnerkarandClaude Opus 5.5 7394f98cbd fix(dashboard): self-host Geist fonts, no Google Fonts request
main.css imported Geist and Geist Mono from fonts.googleapis.com, so
every visitor's browser sent its IP to Google before login. The two
variable woff2 files (SIL OFL 1.1, from the npm `geist` package 1.7.2)
now ship in assets/fonts and the server answers /fonts/geist.woff2 and
/fonts/geist-mono.woff2 like the favicon; main.css declares them with
@font-face (weights 100-900, font-display: swap) under the same family
names, so no other CSS changes.

Refs platform/portal#65 (privacy release gate 4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01DmXxNULoSNPvjF7buKipsB
2026-09-30 22:39:08 +02:00