From fb7f6a2178fe053d8c7eec44b02bc91e77ce65a9 Mon Sep 17 00:00:00 2001 From: "@permadeath.com" Date: Mon, 17 Aug 2026 12:07:28 -0400 Subject: [PATCH] feat(web): add a 404 page for addresses the site does not have Astro special-cases src/pages/404.astro and emits it as the top-level 404.html object, even though every other page builds as a directory. Copy is PLACEHOLDER-* per CLAUDE.md; the structure (title, heading, a link home) is there so a human only has to swap the tokens. --- web/src/pages/404.astro | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 web/src/pages/404.astro diff --git a/web/src/pages/404.astro b/web/src/pages/404.astro new file mode 100644 index 0000000..3a19db7 --- /dev/null +++ b/web/src/pages/404.astro @@ -0,0 +1,38 @@ +--- +import Layout from "../layouts/Layout.astro"; + +// Astro special-cases src/pages/404.astro and emits it as the top-level +// 404.html object even though every other page builds as a directory (see +// astro.config.mjs). infra/main.tf serves that object as the +// custom_error_response body for both 403 and 404 — the bucket is private +// behind an origin access control, so S3 answers a missing key with 403 — +// and web/scripts/verify-dist.mjs refuses to ship a build without it. +// +// Copy is PLACEHOLDER-* per CLAUDE.md: the structure is here so a human only +// has to swap the tokens. +--- + + +
+

PLACEHOLDER-GONGOOZLER

+

+ substandard +

+
+ +
+
+

PLACEHOLDER-TERGIVERSATE

+

+ PLACEHOLDER-VELLEITY: there is no page at this address. It may have + moved, or the link that sent you here may be out of date. +

+

+ PLACEHOLDER-HAPAX: back to the frontpage +

+
+
+
-- 2.51.2