fix: give up and make multiple 404s

This commit is contained in:
eggy 2022-08-10 19:01:20 -04:00
parent 6f8f5dad7d
commit 2e4e4727d1
2 changed files with 10 additions and 4 deletions

View File

@ -1,12 +1,10 @@
<script setup lang="ts">
import Default from "./layouts/default.vue";
import FourOhFour from "./pages/404.vue";
</script>
<template>
<Default>
<main class="flex flex-col grow prose dark:prose-invert">
<h1 class="mb-0">404 - Not Found</h1>
<p>The page you are looking for cannot be found.</p>
</main>
<FourOhFour />
</Default>
</template>

8
pages/404.vue Normal file
View File

@ -0,0 +1,8 @@
<script setup lang="ts"></script>
<template>
<main class="flex flex-col grow prose dark:prose-invert">
<h1 class="mb-0">404 - Not Found</h1>
<p>The page you are looking for cannot be found.</p>
</main>
</template>