4 Commits

Author SHA1 Message Date
Dorian
ff8331c54d chore: upgrade vite to 8 and plugin-vue to 6
Resolves the high-severity esbuild advisory (GHSA-gv7w-rqvm-qjhr).
vite 6/7 still pin vulnerable esbuild; vite 8.0.16 ships the patched
0.28.x. npm audit now reports 0 vulnerabilities and the build passes.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 14:52:49 +01:00
Dorian
8f00cb4327 Update Plan-B branding and email design 2026-05-18 08:48:38 -05:00
Dorian
63b1d4a30e debossed instead of embossed background pattern 2026-05-10 14:01:44 +01:00
Dorian
07579b5b8c feat: migrate to Vue 3.5 + Vite
Faithful 1:1 port of the single-file index.html to a Vite + Vue 3.5
project. All visuals, behavior, translations, quiz logic, scoring,
SVG paint filters, and modifier panel preserved. The previous
single-file build is archived as index.original.html for A/B compare.

Inline onclick handlers in the static template are converted to
Vue's @click bindings — Vue 3 ignores string-valued on* attributes,
which silently broke the qpb-logo "back to landing" navigation.
Inline handlers inside dynamically-injected innerHTML strings
(quiz options, slider, nav buttons) keep working since the browser
parses them; their target functions are exposed on window from
onMounted.

Pinned: vue 3.5.13, vite 6.4.2, @vitejs/plugin-vue 5.2.1.
Zero npm audit vulnerabilities.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-05 13:47:41 +01:00