diff --git a/src/pages/404.astro b/src/pages/404.astro deleted file mode 100644 index 93c9319..0000000 --- a/src/pages/404.astro +++ /dev/null @@ -1,62 +0,0 @@ ---- -// import { getPathPartsFromAstroRequest } from '~/helpers/url.js' -// import { catchRedirectResponse } from '~/helpers/astro/request.js' - -import Layout from '../layouts/default.astro' -import LinkButton from '~/components/link-button.vue' - -// Component Script: -// You can write any JavaScript/TypeScript that you'd like here. -// It will run during the build, but never in the browser. -// All variables are available to use in the HTML template below. - -// Full Astro Component Syntax: -// https://docs.astro.build/core-concepts/astro-components/ - ---- - - -
-
- -

- 🤷‍♀️ Page is not compatible with Apple Silicon -

-

- Page not found -

- -
- Perhaps the archives are incomplete, the page moved, or was deleted. -
- - - Search - - -
-
- - - -
diff --git a/src/pages/[...page].astro b/src/pages/[...page].astro index f27b990..76084a5 100644 --- a/src/pages/[...page].astro +++ b/src/pages/[...page].astro @@ -3,6 +3,7 @@ import { catchRedirectResponse } from '~/helpers/astro/request.js' import Layout from '../layouts/default.astro' +import LinkButton from '~/components/link-button.vue' // Component Script: // You can write any JavaScript/TypeScript that you'd like here. @@ -18,11 +19,51 @@ if ( redirectResponse !== null ) { return redirectResponse } -// Not found -return new Response(null, { - status: 404, - statusText: 'Not found' -}) - --- -404 + + +
+
+ +

+ 🤷‍♀️ Page is not compatible with Apple Silicon +

+

+ Page not found +

+ +
+ Perhaps the archives are incomplete, the page moved, or was deleted. +
+ + + Search + + +
+
+ + + +
+