forked from devedmonton/DES-Website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherror.vue
164 lines (152 loc) · 6.66 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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
<template>
<div>
<TheMenu />
<div
class="py-8 max-w-7xl mx-auto sm:px-6 lg:px-8 flex flex-1 flex-col justify-center"
>
<Head>
<Title>Dev Edmonton Society - 404</Title>
<Meta
name="description"
content="Our 404 page when the user goes to a wrong page."
/>
</Head>
<h1
class="py-8 mt-16 text-3xl leading-9 tracking-tight font-extrabold text-gray-900 sm:text-4xl sm:leading-10"
>
Uh Oh! There is a 404!
</h1>
<p class="text-2xl">
This error means the page not found. Here are some common
reasons why you are seeing this 404.
</p>
<div
class="mt-12 grid gap-5 max-w-lg mx-auto lg:grid-cols-3 lg:max-w-none"
>
<div class="flex flex-col rounded-lg shadow-lg overflow-hidden">
<div class="flex-shrink-0">
<NuxtImg
class="h-48 w-full object-cover"
src="/404/magnifying-glass-800.jpg"
alt="A magnifying glass and pencil on top of a sketchbook filled with notes"
width="400"
/>
</div>
<div
class="flex-1 bg-white p-6 flex flex-col justify-between"
>
<div class="flex-1 flex flex-col">
<div class="block flex-grow">
<h2
class="mt-2 text-xl leading-7 font-semibold text-gray-900"
>
Typo in the URL?
</h2>
<p
class="mt-3 text-base leading-6 text-gray-500"
>
There might be a typo in the url. Please
check that the url is entered correctly and
try again to navigate to your page.
</p>
</div>
</div>
</div>
</div>
<div class="flex flex-col rounded-lg shadow-lg overflow-hidden">
<div class="flex-shrink-0">
<NuxtImg
class="h-48 w-full object-cover"
src="/404/css-800.jpg"
alt="Macbook laptop open to a text editor with CSS code"
width="400"
/>
</div>
<div
class="flex-1 bg-white p-6 flex flex-col justify-between"
>
<div class="flex-1 flex flex-col">
<div class="block flex-grow">
<h2
class="mt-2 text-xl leading-7 font-semibold text-gray-900"
>
Bug in the code?
</h2>
<p
class="mt-3 text-base leading-6 text-gray-500"
>
It's possible there is a bug in our code. If
you think this page should exist you can
file a bug to the Dev Edmonton Society's
Github Issue Tracker and one of the
contributors can help take a look.
</p>
</div>
<div class="flex justify-center mt-4">
<a
href="https://github.com/devedmonton/devedmonton.com/issues/"
target="_blank"
>
<VButton appearance="inverted">
Go to the Issue Tracker
</VButton>
</a>
</div>
</div>
</div>
</div>
<div class="flex flex-col rounded-lg shadow-lg overflow-hidden">
<div class="flex-shrink-0">
<NuxtImg
class="h-48 w-full object-cover"
src="/404/google-800.jpg"
alt="Laptop open to the Google Search home page"
width="400"
/>
</div>
<div
class="flex-1 bg-white p-6 flex flex-col justify-between"
>
<div class="flex-1 flex flex-col">
<div class="block flex-grow">
<h3
class="mt-2 text-xl leading-7 font-semibold text-gray-900"
>
The page is gone?
</h3>
<p
class="mt-3 text-base leading-6 text-gray-500"
>
Maybe the page has been removed or moved.
You can go back to the home page with the
button below.
</p>
</div>
<div class="flex justify-center mt-4">
<a href="/">
<VButton appearance="inverted">
Go to home page
</VButton>
</a>
</div>
</div>
</div>
</div>
</div>
</div>
<TheFooter />
</div>
</template>
<script>
import VButton from "/components/VButton.vue";
import TheMenu from "@/components/section/TheMenu.vue";
import TheFooter from "@/components/section/TheFooter.vue";
export default {
components: {
VButton,
TheMenu,
TheFooter,
},
};
</script>
<style></style>