From fcbcf99d2ee7b5f8085c643dd1e7449611fd4337 Mon Sep 17 00:00:00 2001 From: Eva Decker Date: Tue, 28 May 2024 20:39:20 -0400 Subject: [PATCH] feat: Add custom 404 page (#35) --- src/layouts/BaseLayout.astro | 23 ++++++++------ src/pages/404.astro | 37 ++++++++++++++++++++++ src/pages/_images/empty-shell.png | Bin 0 -> 19387 bytes src/pages/{ => _images}/form-snail.png | Bin src/pages/{ => _images}/namesake-form.png | Bin src/pages/index.astro | 6 ++-- src/styles/base.css | 6 ++++ 7 files changed, 58 insertions(+), 14 deletions(-) create mode 100644 src/pages/404.astro create mode 100644 src/pages/_images/empty-shell.png rename src/pages/{ => _images}/form-snail.png (100%) rename src/pages/{ => _images}/namesake-form.png (100%) diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index 872fd50..f5c71b1 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -84,14 +84,17 @@ const pageTitle = Astro.url.pathname === "/" ? title : `${title} · Namesake`;