From cd9da6e22fb4fc4aa1a4a990916f12d3fe04cee6 Mon Sep 17 00:00:00 2001 From: Artemis <75265624+artiemis@users.noreply.github.com> Date: Tue, 7 Mar 2023 14:10:33 +0100 Subject: [PATCH] add 404 page (#1) --- src/layouts/Layout.astro | 10 +++++++++- src/pages/404.astro | 14 ++++++++++++++ src/pages/index.astro | 2 +- 3 files changed, 24 insertions(+), 2 deletions(-) create mode 100644 src/pages/404.astro diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 0ad6d42..ca6d92b 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,3 +1,11 @@ +--- +interface Props { + title: string; +} + +const { title } = Astro.props; +--- +
@@ -22,7 +30,7 @@ /> -+ 404 +
+ Home +