-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.vue
49 lines (43 loc) · 992 Bytes
/
error.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<template>
<v-app>
<NavBar />
<v-main>
<v-container class="main-content my-6">
<div class="d-flex flex-column align-center">
<EweLogoError />
<h1 class="text-h1">
<b>{{ error.statusCode }}</b>
</h1>
<p class="text-h5">{{ error.statusMessage }}</p>
<v-code class="mt-2 text-caption" v-if="error.data">{{
error.data
}}</v-code>
<v-btn class="mt-8" variant="outlined" to="/">Back to Home</v-btn>
</div>
</v-container>
</v-main>
<BackToTop />
<FooterBar />
</v-app>
</template>
<style>
html {
overflow-y: auto !important;
}
.main-content {
max-width: 900px;
}
a:not([class*="v"])::before {
font-family: "Material Design Icons";
content: "\F0339 ";
}
</style>
<script setup lang="ts">
useSeoMeta({
title: "Error",
});
import type { NuxtError } from "#app";
const props = defineProps({
error: Object as () => NuxtError,
});
</script>