8 Commits

Author SHA1 Message Date
fab
e43631b5e3 review: keep the CSP to production builds and fix the comment language (#33)
Follow-up to review feedback on the privacy/CSP change already merged here:

- The comment inserted alongside the CSP was written in Italian while these
  configs are in English. It came from the script used to apply the change
  across many repositories. Rewritten in English.
- The meta CSP was emitted unconditionally, so it also applied under
  'vitepress dev'. Testing showed HMR still connects there, because the dev
  server is same-origin and connect-src 'self' covers its websocket - but it
  would break as soon as the dev server is not same-origin ('--host', or a
  custom server.hmr.port). It is now emitted for production builds only.
- Where footer.message had been left as two concatenated literals (an artefact
  of the mechanical rollout) it is collapsed into one.

Nothing changes for visitors: the built site still carries the CSP and the
privacy link.

Signed-off-by: Fabrizio Salmi <fabrizio.salmi@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 13:18:53 +02:00
fab
18da4bf998 privacy: link the shared privacy notice and add a meta-CSP (#32)
This site had no privacy notice. Instead of adding a separate copy it links
the canonical one published for every project site on this host:
https://fabriziosalmi.github.io/privacy

The notice is accurate here as-is: same publisher, same host (GitHub Pages),
no cookies, no analytics, and the only device storage is the VitePress
light/dark preference, which the notice describes.

- themeConfig.footer: 'Privacy & legal' link. VitePress renders the footer on
  the hero home page too, so it is reachable from every page without touching
  the nav.
- head: meta-CSP, default-src 'self'. 'unsafe-inline' is required because
  VitePress emits an inline appearance script and inline styles.

Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-21 12:12:34 +02:00
Fabrizio Salmi
075f92d2a6 Refine home page: traffic-grid hero, editorial feature rail, real platform marks
- Replace hero shield with HeroVisual: 11-track flowing SVG of request glyphs
  with ~7% Apple-red blocked highlights, slow CSS-only drift, edge fade,
  monospace meta header and pass/blocked footer (data-driven feel).
- Drop the six default feature cards. New HomeFeatureRail renders a 3x2
  hairline-bordered editorial grid: numbered eyebrow + bold title + body,
  zero icon chrome.
- Redraw platform icons as recognizable brand marks (Nginx hexagon-N, Apache
  feather, Traefik "Mr. Traefik" head, HAProxy load-balanced H). Showcase
  cards drop card chrome in favor of column dividers; hover adopts the
  platform's brand color via per-card --accent CSS var.
- Stats strip becomes a hairline-bordered four-column rail with tabular-num
  values, mono sub-labels, and a Google-data-display feel.
- Hero name no longer uses gradient text; pure neutral.
- Code-block bg corrected for light mode.
- Respects prefers-reduced-motion.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 09:39:20 +02:00
Fabrizio Salmi
5c654b3da8 Redesign docs with Apple-native theme; verify content; route CI to self-hosted runner-02
- VitePress: custom theme (SF system fonts, glass nav, soft surfaces, pill buttons,
  light/dark code blocks, refined feature cards, platform showcase + stat strip).
- Replace every emoji across docs and README with inline SVG icons.
- Verify and fix doc accuracy against actual scripts: JSON schema (category+pattern only),
  env-var configuration for json2*/import_* scripts, owasp2json CLI surface.
- Add public assets (logo.svg, favicon.svg, hero-shield.svg) and Shiki haproxy alias.
- Workflows default to self-hosted runner-02 with a configurable fallback to GitHub
  runners via the RUNS_ON repo variable.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-01 08:07:04 +02:00
dependabot[bot]
c988ab7654 Bump postcss in /docs in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the /docs directory: [postcss](https://github.com/postcss/postcss).


Updates `postcss` from 8.5.6 to 8.5.12
- [Release notes](https://github.com/postcss/postcss/releases)
- [Changelog](https://github.com/postcss/postcss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/postcss/postcss/compare/8.5.6...8.5.12)

---
updated-dependencies:
- dependency-name: postcss
  dependency-version: 8.5.12
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-04-26 21:22:13 +00:00
dependabot[bot]
555809a627 Bump rollup in /docs in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the /docs directory: [rollup](https://github.com/rollup/rollup).


Updates `rollup` from 4.53.3 to 4.59.0
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.53.3...v4.59.0)

---
updated-dependencies:
- dependency-name: rollup
  dependency-version: 4.59.0
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-02-28 21:08:10 +00:00
dependabot[bot]
2ee366fb53 Bump preact in /docs in the npm_and_yarn group across 1 directory
Bumps the npm_and_yarn group with 1 update in the /docs directory: [preact](https://github.com/preactjs/preact).


Updates `preact` from 10.28.0 to 10.28.2
- [Release notes](https://github.com/preactjs/preact/releases)
- [Commits](https://github.com/preactjs/preact/compare/10.28.0...10.28.2)

---
updated-dependencies:
- dependency-name: preact
  dependency-version: 10.28.2
  dependency-type: indirect
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
2026-01-07 19:31:17 +00:00
Fabrizio Salmi
ea474cbcf2 Add VitePress documentation with GitHub Pages deployment
- Create docs/ directory with VitePress configuration
- Add documentation for all web servers (Nginx, Apache, Traefik, HAProxy)
- Add bad bot detection and API reference documentation
- Add GitHub Actions workflow for automatic deployment to GitHub Pages
- Configure VitePress with sidebar, navigation, and search
2025-12-09 08:07:06 +01:00