From 8225edeae6c6a6696e3bf1bbd25695f7088f96d7 Mon Sep 17 00:00:00 2001
From: Santo Cariotti <santo@dcariotti.me>
Date: Thu, 13 Oct 2022 12:32:45 +0200
Subject: Handle 401 error as the same as 404

---
 layouts/error.vue | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

(limited to 'layouts/error.vue')

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>
-- 
cgit v1.2.3-71-g8e6c

