summaryrefslogtreecommitdiff
path: root/layouts/error.vue
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-10-13 12:32:45 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-10-13 12:32:45 +0200
commit8225edeae6c6a6696e3bf1bbd25695f7088f96d7 (patch)
treed2880d3efff7bdc3aaa0c71ebc7e11028e053e54 /layouts/error.vue
parent7919abb3d9470a71897e8ccc075c866b16b62ccf (diff)
Handle 401 error as the same as 404
Diffstat (limited to 'layouts/error.vue')
-rw-r--r--layouts/error.vue8
1 files changed, 7 insertions, 1 deletions
diff --git a/layouts/error.vue b/layouts/error.vue
index 4adf83a..f84ee29 100644
--- a/layouts/error.vue
+++ b/layouts/error.vue
@@ -1,8 +1,14 @@
<template lang="pug">
.mx-auto.w-90p.py-6(class="sm:px-6 lg:px-8 md:max-w-7xl")
section
- h1.text-3xl.font-bold(class="dark:text-white") Oh no, you shall not pass!
+ h1.text-3xl.font-bold(class="dark:text-white") Error 40(1|4)
+ span.text-red-500.text-sm *
+ | . Oh no, you shall not pass!
a.cursor-pointer(class="dark:text-white hover:underline" @click="goback") Go back to your path!
+
+ .mt-32.text-center
+ img.block.mx-auto(class="w-2/4" src="../assets/404.jpg")
+ span.text-red-500 * it's not a regex, I swear
</template>
<script>