-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patherror.vue
More file actions
47 lines (46 loc) · 1.06 KB
/
error.vue
File metadata and controls
47 lines (46 loc) · 1.06 KB
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
<script>
import HeroBanner from "/components/HeroBanner.vue";
import RosesButton from "/components/button.vue";
export default {
name: "ErrorPage",
components: {
HeroBanner,
RosesButton,
},
props: {
error: {
type: Object,
required: true,
},
},
};
</script>
<template>
<div class="flex flex-col h-full">
<Navbar />
<div class="">
<HeroBanner
:title="'Error - ' + error.statusCode"
image="https://assets-cdn.sums.su/YU/website/img/Roses/Hero_Banner_About.webp"
/>
<div class="container mx-auto py-14 md:py-28">
<div class="flex flex-col gap-6">
<h2 class="text-5xl xcond font-bold">
Oops! Something went wrong...
</h2>
<div>
<RosesButton
title="Go back to homepage"
href="/"
target="_self"
class="mt-6"
/>
</div>
</div>
</div>
</div>
<div class="flex flex-col flex-grow justify-end items-end">
<Footer />
</div>
</div>
</template>