-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.vue
66 lines (60 loc) · 1.25 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
<script setup lang="ts">
useHead({
title: "清陵祭 - お探しのページは見つかりませんでした",
meta: [
{
name: "description",
content: "申し訳ありませんが、お探しのページは見つかりませんでした。",
},
],
});
</script>
<template>
<NuxtLayout id="layout-frame">
<div class="content">
<h1>404</h1>
<div id="error-message">
<span>お探しのページは</span>
<span>見つかりませんでした。</span>
</div>
<PrimaryButton button-text="ホームに戻る" link="/" />
</div>
</NuxtLayout>
</template>
<style scoped lang="scss">
#layout-frame {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100lvh;
padding: 0;
}
.content {
margin: auto;
display: flex;
flex-direction: column;
align-items: center;
font-size: min(30px, 7vw);
h1 {
font-size: min(100px, 4em);
font-weight: bold;
margin: 0;
padding: 0;
}
#error-message {
display: flex;
flex-direction: column;
font-size: 1em;
align-items: center;
padding: min(80px, 8vh) 0;
span {
display: block;
padding: 0;
}
}
.primary-button {
display: block;
}
}
</style>