-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.vue
40 lines (37 loc) · 856 Bytes
/
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
<template>
<main class="error">
<img src="./assets/images/error.webp" alt="" srcset="" />
<h1>Oops... we can't find that! :( </h1>
<nuxt-link class="link" to="/">GO HOME</nuxt-link>
</main>
</template>
<script setup lang="ts"></script>
<style lang="scss" scoped>
@use './assets/styles/abstracts/variables' as *;
.error {
font-family: $c-bold;
height: 100svh;
display: grid;
grid-template-rows: min-content min-content min-content;
grid-template-columns: 1fr;
align-content: center;
place-items: center;
img {
width: 30%;
}
h1 {
font-size: clamp(1rem, 1rem + 1vw, 2rem);
}
.link {
text-decoration: none;
color: #f9b600;
padding: 1rem 2rem;
font-family: $c-black;
background-color: #002559;
transition: transform 0.3s;
&:hover {
transform: scale(0.9);
}
}
}
</style>