From 89a5e026700fcef1bd28a07c8501653e69be1300 Mon Sep 17 00:00:00 2001 From: LimePotato Date: Mon, 14 Aug 2023 02:44:28 -0600 Subject: [PATCH] add 404 page --- src/layouts/err404.astro | 35 +++++++++++++++++++++++++++++++++++ src/pages/404.astro | 33 +++++++++++++++++++++++++++++++++ 2 files changed, 68 insertions(+) create mode 100644 src/layouts/err404.astro create mode 100644 src/pages/404.astro diff --git a/src/layouts/err404.astro b/src/layouts/err404.astro new file mode 100644 index 0000000..70cb6b0 --- /dev/null +++ b/src/layouts/err404.astro @@ -0,0 +1,35 @@ +--- +interface Props { + title: string; +} + +const { title } = Astro.props; +--- + + + + + + + + + + {title} + + + + + + diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..4ab7402 --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,33 @@ +--- +import Layout from '../layouts/err404.astro'; +import Card from '../components/Card.astro'; +--- + + +
+ + + + + +
+
+ \ No newline at end of file