-
Notifications
You must be signed in to change notification settings - Fork 0
/
error.vue
58 lines (50 loc) · 1.05 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
<template>
<div class="error-page">
<div class="container">
<div class="content">
<h1>404</h1>
<h2>Página no encontrada</h2>
<p>Lo sentimos, la página que estás buscando no existe.</p>
<router-link to="/">Ir a la página de inicio</router-link>
</div>
</div>
</div>
</template>
<style scoped lang="scss">
.error-page {
background-color: #f8f9fa;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
}
.container {
max-width: 600px;
text-align: center;
}
.content {
padding: 40px;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
}
h1 {
font-size: 5rem;
color: #dc3545;
margin-bottom: 10px;
}
h2 {
font-size: 2rem;
margin-bottom: 20px;
}
p {
font-size: 1.2rem;
margin-bottom: 20px;
}
router-link {
font-size: 1.2rem;
color: #007bff;
text-decoration: underline;
cursor: pointer;
}
</style>