From 7919abb3d9470a71897e8ccc075c866b16b62ccf Mon Sep 17 00:00:00 2001
From: Santo Cariotti <santo@dcariotti.me>
Date: Thu, 13 Oct 2022 12:20:45 +0200
Subject: 404 page

---
 layouts/error.vue | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 layouts/error.vue

(limited to 'layouts/error.vue')

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

