aboutsummaryrefslogtreecommitdiff
path: root/layouts/error.vue
blob: 7dcd20d0b11a2039dd63490a1a36798d2fa55d6e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<template>
        <v-container>
            <h1 v-if="error.statusCode === 404" class="display-3 text-center">Whoops! 404 Error</h1>
            <h1 v-else>Whoops! An error occurred</h1>
            <p class="text-center display-1">Hmm, it seems like this page either didn't exist or something went wrong...</p>
            <p class="text-center display-1"><nuxt-link to="/">Home</nuxt-link></p>
        </v-container>
</template>

<script>
export default {
  name: 'error',
  props: ['error']
}
</script>

<style scoped>

</style>