-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.vue
48 lines (48 loc) · 1.44 KB
/
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
<template>
<div class="container">
<div v-if="error.statusCode === 404" class="">
<div class="row is-horizontal-align is-vertical-align">
<h1>ERROR 404: Page not found</h1>
<div>
<img
src="/images/404caterpillar.jpg"
alt="Error 404: A caterpillar eat brightway leaf"
/>
</div>
<div class="row is-full-width">
<div class="col">A caterpillar eating brightway leaf.</div>
<div class="col is-right">
<span
>Image by
<a
href="https://www.freepik.com/author/upklyak"
target="_blank"
rel="noopener noreferrer"
>upklyak</a
>,
<a
href="https://www.freepik.com/free-vector/cute-caterpillar-eat-plant-leaf-vector-cartoon-illustration-funny-worm-insect-larva-character-among-grass-stems-happy-little-green-maggot-with-yellow-spots-bite-leaf_25864501.htm#page=6&query=caterpillar&position=38&from_view=search"
target="_blank"
rel="noopener noreferrer"
>on Freepik</a
></span
>
</div>
</div>
</div>
</div>
<div v-else>
An error occured, contact Brightcon organizers.
</div>
</div>
</template>
<script>
export default {
props: {
error: {
type: Object,
default: () => {},
},
},
}
</script>