From bdb9d7b5064239f4f9412b4233a241c549640308 Mon Sep 17 00:00:00 2001 From: Darius Cepulis Date: Thu, 12 Feb 2026 09:39:51 -0600 Subject: [PATCH] feat(site): basic 404 and 500 pages progress against #508 --- site/src/layouts/ErrorPage.astro | 32 ++++++++++++++++++++++++++++++++ site/src/pages/404.astro | 5 +++++ site/src/pages/500.astro | 5 +++++ 3 files changed, 42 insertions(+) create mode 100644 site/src/layouts/ErrorPage.astro create mode 100644 site/src/pages/404.astro create mode 100644 site/src/pages/500.astro diff --git a/site/src/layouts/ErrorPage.astro b/site/src/layouts/ErrorPage.astro new file mode 100644 index 00000000..16d648ff --- /dev/null +++ b/site/src/layouts/ErrorPage.astro @@ -0,0 +1,32 @@ +--- +import Footer from '@/components/Footer.astro'; +import FooterEasterEgg from '@/components/FooterEasterEgg.astro'; +import GetStartedLink from '@/components/NavBar/GetStartedLink'; +import NavBar from '@/components/NavBar/NavBar.astro'; +import Base from '@/layouts/Base.astro'; + +interface Props { + title: string; + description: string; + heading: string; +} + +const { title, description, heading } = Astro.props; +--- + + +
+ +
+
+

{heading}

+
+ Go home + Read the docs +
+
+
+
+
+ + diff --git a/site/src/pages/404.astro b/site/src/pages/404.astro new file mode 100644 index 00000000..c019f0b0 --- /dev/null +++ b/site/src/pages/404.astro @@ -0,0 +1,5 @@ +--- +import ErrorPage from '@/layouts/ErrorPage.astro'; +--- + + diff --git a/site/src/pages/500.astro b/site/src/pages/500.astro new file mode 100644 index 00000000..b55a58ab --- /dev/null +++ b/site/src/pages/500.astro @@ -0,0 +1,5 @@ +--- +import ErrorPage from '@/layouts/ErrorPage.astro'; +--- + +