summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSanto Cariotti <santo@dcariotti.me>2022-10-13 12:20:45 +0200
committerSanto Cariotti <santo@dcariotti.me>2022-10-13 12:20:45 +0200
commit7919abb3d9470a71897e8ccc075c866b16b62ccf (patch)
tree59a4e61d7bd69d0c38a7bd77256f9cde882538e8
parentae73c0276322f6673a0b4b8a64dcadfd263ead79 (diff)
404 page
-rw-r--r--layouts/error.vue16
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>