diff --git a/src/components/widgets/Error404.astro b/src/components/widgets/Error404.astro deleted file mode 100644 index 8c59ce9..0000000 --- a/src/components/widgets/Error404.astro +++ /dev/null @@ -1,19 +0,0 @@ ---- -import { getHomePermalink } from '~/utils/permalinks'; ---- - -
-
-
-

- Error - 404 -

-

Sorry, we couldn't find this page.

-

- But dont worry, you can find plenty of other things on our homepage. -

- Back to homepage -
-
-
diff --git a/src/pages/404.astro b/src/pages/404.astro index 8a33587..f1772a1 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -1,10 +1,24 @@ --- import Layout from '~/layouts/BaseLayout.astro'; -import Error404 from '~/components/widgets/Error404.astro'; +import { getHomePermalink } from '~/utils/permalinks'; const title = `Error 404`; --- - +
+
+
+

+ Error + 404 +

+

Sorry, we couldn't find this page.

+

+ But dont worry, you can find plenty of other things on our homepage. +

+ Back to homepage +
+
+