summaryrefslogtreecommitdiff
path: root/layouts/error.vue
blob: 4adf83a18617b2b2d20cfca45730a692f2874987 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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>