From f2d5e74f19c5563641301e08a02154f766830e80 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jose=20Juan=20Mo=C3=B1ino?= Date: Fri, 10 Jul 2026 19:18:12 +0200 Subject: [PATCH] feat: custom 404 and 500 error pages with gear theme MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 404: stripped gear with wobble animation, missing tooth, clack text - 500: seized gear with sparks and crack animations, fire extinguisher joke - Both use site design system (dark theme, orange accent, Inter/JetBrains Mono) - Nginx configured: error_page 404/500/502/503/504 → custom pages - SVGs rendered via set:html to avoid JSX brace conflicts in Astro --- astro/src/pages/404.astro | 124 ++++++++++++++++++++++++++++++++ astro/src/pages/500.astro | 146 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 270 insertions(+) create mode 100644 astro/src/pages/404.astro create mode 100644 astro/src/pages/500.astro diff --git a/astro/src/pages/404.astro b/astro/src/pages/404.astro new file mode 100644 index 0000000..17522fe --- /dev/null +++ b/astro/src/pages/404.astro @@ -0,0 +1,124 @@ +--- +import Base from '../layouts/Base.astro'; + +const gearSvg = ` + + + + + + + clack +`; +--- + + +
+
+ +
+ + + \ No newline at end of file diff --git a/astro/src/pages/500.astro b/astro/src/pages/500.astro new file mode 100644 index 0000000..148180c --- /dev/null +++ b/astro/src/pages/500.astro @@ -0,0 +1,146 @@ +--- +import Base from '../layouts/Base.astro'; + +const gearSvg = ` + + + + + + + + + + + + +`; +--- + + +
+
+ +
+ + + \ No newline at end of file