Error.vue
933 Bytes
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
<template>
<v-app id="404">
<v-container fluid fill-height>
<v-layout align-center justify-center row>
<div class="mr-3 hidden-sm-and-down">
<img src="/static/error/500.svg" alt="">
</div>
<div class="text-md-center">
<h1>500</h1>
<h2 class="my-3 headline ">Sorry, the server is down.</h2>
<div>
<v-btn color="primary" @click="goHome">Go Home</v-btn>
</div>
</div>
</v-layout>
</v-container>
</v-app>
</template>
<script>
export default {
methods: {
goHome () {
this.$router.push({ path: '/login' });
}
}
};
</script>
<style scoped lang="css">
h1 {
font-size: 150px;
line-height: 150px;
font-weight: 700;
color: #252932;
text-shadow: rgba(61, 61, 61, 0.3) 1px 1px, rgba(61, 61, 61, 0.2) 2px 2px, rgba(61, 61, 61, 0.3) 3px 3px;
}
</style>