diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-10-13 12:32:45 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-10-13 12:32:45 +0200 |
commit | 8225edeae6c6a6696e3bf1bbd25695f7088f96d7 (patch) | |
tree | d2880d3efff7bdc3aaa0c71ebc7e11028e053e54 | |
parent | 7919abb3d9470a71897e8ccc075c866b16b62ccf (diff) |
Handle 401 error as the same as 404
-rw-r--r-- | assets/404.jpg | bin | 0 -> 30034 bytes | |||
-rw-r--r-- | layouts/error.vue | 8 |
2 files changed, 7 insertions, 1 deletions
diff --git a/assets/404.jpg b/assets/404.jpg Binary files differnew file mode 100644 index 0000000..f521508 --- /dev/null +++ b/assets/404.jpg 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> |