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'; +--- + +