Commit Graph
23 Commits
Author SHA1 Message Date
Locust agent e12af7bc5b feat(build): generate the 404 fallback from the current build
The SPA fallback must load the hashed assets of the build that is actually
published, so it cannot be a frozen copy of an index document. The new
scripts/generate-404.mjs writes dist/404.html from the built dist/index.html
and runs last in the build, after vite build has copied publicDir.

The generator resolves the dist directory from its own location, so it
behaves the same from the repository root and from public/, where npm runs
it. It refuses to write a fallback that has no app mount point or that
references files missing from the build output, so a broken build fails
loudly instead of shipping a blank page.

The two frozen copies (public/404.html, public/public/404.html) are
removed; dist/404.html is a generated artefact with no committed source
copy.
2026-11-02 19:08:04 +00:00
Locust agent 640a04d483 feat(theme): add theme toggle and pre-mount theme bootstrap
Add a self-contained theme toggle component under
public/src/components/theme/ that toggles the dark class on the root
element and stores the choice under the beat-theme key in
localStorage. Apply the stored theme, or the prefers-color-scheme
default when nothing is stored, before the app mounts so a cold load
never paints the wrong theme.

The pre-paint script in index.html and both 404 copies reads the same
beat-theme key, so the theme is already on the root element when the
first frame is painted.
2026-11-02 18:03:56 +00:00
Locust agent 3f6e237d4b chore(site): add 404.html to the Vite publicDir so the build copies it verbatim
Vite resolves publicDir to public/public (repo layout: /public is the npm package root), so the byte-identical fallback must exist there for 'vite build' to emit dist/404.html. Proven by removing it and rebuilding: dist/404.html disappears. public/404.html is the reviewable copy; this one is the build input.
2026-11-02 14:52:14 +00:00
Locust agent 5ee5820306 feat(site): emit 404.html SPA fallback into the Pages output
Add public/404.html, a byte-identical copy of the built index.html with relative asset references (base './'), so a cold request to any non-route path on GitHub Pages boots the SPA and the router redirects. Vite copies it verbatim into dist/ via publicDir; verified dist/404.html is byte-identical to public/404.html and a plain static server returns HTTP 200 with the app shell for an unknown path.
2026-11-02 14:52:06 +00:00
Locust agent a7da654f98 feat(router): restructure routes into sections with old-path aliases
Add the exported section list, per-route meta.title/section/sectionOrder, aliases for every pre-redesign path, and a catch-all that renders the not-found route. The catch-all uses HomeView until @/views/NotFoundView.vue exists (card 075da6c7).
2026-11-02 14:45:47 +00:00
github-actions[bot]andGitHub c4d2f5b1b4 chore(deps): update dependencies
Automated dependency update. All tests passed.
2026-10-29 03:15:40 +00:00
github-actions[bot]andGitHub 284f1c5307 chore(deps): update dependency vite to v8.3.5
Automated dependency update. All tests passed.
2026-10-24 03:18:37 +00:00
github-actions[bot]andGitHub b7b44ca737 chore(deps): update dependency postcss to v8.5.31
Automated dependency update. All tests passed.
2026-10-21 03:20:41 +00:00
github-actions[bot]andGitHub cff72b5efb chore(deps): update dependency vue to v3.5.44
Automated dependency update. All tests passed.
2026-10-16 03:20:01 +00:00
github-actions[bot]andGitHub 6d17dee1be chore(deps): update dependency postcss to v8.5.30
Automated dependency update. All tests passed.
2026-10-15 03:20:06 +00:00
github-actions[bot]andGitHub 3decffe43d chore(deps): update dependency @vitejs/plugin-vue to v6.0.10
Automated dependency update. All tests passed.
2026-10-13 03:26:11 +00:00
github-actions[bot]andGitHub 8f3fe90c6c chore(deps): update dependency vite to v8.3.4
Automated dependency update. All tests passed.
2026-10-11 03:25:11 +00:00
github-actions[bot]andGitHub a313618aa5 chore(deps): update dependency vue-router to v5.4.0
Automated dependency update. All tests passed.
2026-10-10 03:23:28 +00:00
github-actions[bot]andGitHub f6c37a1c62 chore(deps): update dependency vite to v8.3.3
Automated dependency update. All tests passed.
2026-10-09 03:23:55 +00:00
github-actions[bot]andGitHub c3896f9213 chore(deps): update dependency postcss to v8.5.29
Automated dependency update. All tests passed.
2026-10-08 03:24:00 +00:00
github-actions[bot]andGitHub 0cc20dc876 chore(deps): update dependency vue-router to v5
Automated dependency update. All tests passed.
2026-10-06 03:21:59 +00:00
github-actions[bot]andGitHub f8680e6adc chore(deps): update dependency vite to v8
Automated dependency update. All tests passed.
2026-10-05 03:27:55 +00:00
github-actions[bot]andGitHub 53b0014673 chore(deps): update dependency @vitejs/plugin-vue to v6
Automated dependency update. All tests passed.
2026-10-04 04:21:29 +00:00
github-actions[bot]andGitHub 835abc925c chore(deps): update dependencies
Automated dependency update. All tests passed.
2026-10-04 04:20:32 +00:00
lukaszraczylo 9536a9b501 kimi-changes 2026-02-19 23:33:32 +00:00
lukaszraczylo 08a6e0dd5c Add assessment page. 2025-12-13 02:03:10 +00:00
lukaszraczylo c7dd4d0371 Update user experience. 2025-12-13 01:38:45 +00:00
lukaszraczylo 2c35679bd8 Add page deployment 2025-12-13 00:59:42 +00:00