From 29a5aaf4cbc4d263525260e30febf81ece61f3bf Mon Sep 17 00:00:00 2001 From: bytedream Date: Thu, 22 May 2025 01:33:10 +0200 Subject: [PATCH] add 404 and 500 page --- src/components/Welcome.astro | 205 ------------------------ src/layouts/website/WebsiteLayout.astro | 2 +- src/pages/404.astro | 14 ++ src/pages/500.astro | 12 ++ 4 files changed, 27 insertions(+), 206 deletions(-) delete mode 100644 src/components/Welcome.astro create mode 100644 src/pages/404.astro create mode 100644 src/pages/500.astro diff --git a/src/components/Welcome.astro b/src/components/Welcome.astro deleted file mode 100644 index 4785ba0..0000000 --- a/src/components/Welcome.astro +++ /dev/null @@ -1,205 +0,0 @@ ---- -import astroLogo from '@assets/astro.svg'; -import background from '@assets/background.svg'; ---- - -
- -
-
- Astro Homepage -

- To get started, open the
src/pages
directory in your project. -

- -
-
- - - -

What's New in Astro 5.0?

-

- From content layers to server islands, click to learn more about the new features and improvements in Astro 5.0 -

-
-
- - diff --git a/src/layouts/website/WebsiteLayout.astro b/src/layouts/website/WebsiteLayout.astro index b487945..7f5e657 100644 --- a/src/layouts/website/WebsiteLayout.astro +++ b/src/layouts/website/WebsiteLayout.astro @@ -15,7 +15,7 @@ const { title, description, footer = true } = Astro.props; --- -
+