diff options
author | Santo Cariotti <santo@dcariotti.me> | 2022-10-13 12:20:45 +0200 |
---|---|---|
committer | Santo Cariotti <santo@dcariotti.me> | 2022-10-13 12:20:45 +0200 |
commit | 7919abb3d9470a71897e8ccc075c866b16b62ccf (patch) | |
tree | 59a4e61d7bd69d0c38a7bd77256f9cde882538e8 /layouts | |
parent | ae73c0276322f6673a0b4b8a64dcadfd263ead79 (diff) |
404 page
Diffstat (limited to 'layouts')
-rw-r--r-- | layouts/error.vue | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/layouts/error.vue b/layouts/error.vue new file mode 100644 index 0000000..4adf83a --- /dev/null +++ b/layouts/error.vue @@ -0,0 +1,16 @@ +<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! + a.cursor-pointer(class="dark:text-white hover:underline" @click="goback") Go back to your path! +</template> + +<script> +export default { + methods: { + goback() { + window.history.back(); + }, + }, +}; +</script> |