-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
173 lines (150 loc) · 4.19 KB
/
404.html
File metadata and controls
173 lines (150 loc) · 4.19 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
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
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="robots" content="noindex, follow">
<meta name="description" content="Página não encontrada.">
<title>404 | Página não encontrada</title>
<link rel="icon" type="image/svg+xml" href="assets/images/favicon.svg">
<style>
:root {
--bg: #050505;
--text: #f2f2f2;
--muted: #a0a0a0;
--accent: #87CEEB;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
min-height: 100vh;
display: grid;
place-items: center;
background: radial-gradient(circle at top, rgba(135, 206, 235, 0.12), transparent 40%), var(--bg);
color: var(--text);
font-family: Inter, system-ui, -apple-system, sans-serif;
padding: 1.5rem;
text-align: center;
line-height: 1.5;
}
main {
width: min(100%, 640px);
border: 1px solid rgba(255, 255, 255, 0.12);
border-radius: 16px;
background: rgba(15, 15, 15, 0.6);
backdrop-filter: blur(8px);
padding: clamp(1.5rem, 4vw, 2.5rem);
box-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}
.status {
display: inline-flex;
align-items: center;
justify-content: center;
margin-bottom: 1.1rem;
padding: 0.3rem 0.7rem;
border-radius: 999px;
border: 1px solid rgba(135, 206, 235, 0.35);
color: var(--accent);
font-size: 0.82rem;
letter-spacing: 0.04em;
text-transform: uppercase;
font-weight: 700;
}
h1 {
font-size: clamp(2.4rem, 7vw, 3.6rem);
margin-bottom: 0.7rem;
color: var(--accent);
letter-spacing: -0.03em;
}
.lead {
color: var(--text);
font-size: clamp(1rem, 2vw, 1.15rem);
margin-bottom: 0.7rem;
}
.description {
color: var(--muted);
margin: 0 auto 1.6rem;
max-width: 52ch;
}
.actions {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.75rem;
margin-bottom: 1.4rem;
}
.button {
display: inline-block;
padding: 0.85rem 1.3rem;
border-radius: 999px;
border: 1px solid var(--accent);
text-decoration: none;
font-weight: 700;
transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.button-primary {
color: var(--bg);
background: var(--accent);
}
.button-secondary {
color: var(--text);
background: transparent;
border-color: rgba(255, 255, 255, 0.24);
}
.button:hover {
transform: translateY(-1px);
box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}
.links {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.55rem 1rem;
list-style: none;
padding-top: 1rem;
border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.links a {
color: var(--muted);
text-decoration: none;
font-size: 0.95rem;
}
.links a:hover {
color: var(--text);
}
a:focus-visible {
outline: 2px solid #fff;
outline-offset: 3px;
}
@media (max-width: 460px) {
.actions {
flex-direction: column;
}
.button {
width: 100%;
}
}
</style>
</head>
<body>
<main role="main" aria-labelledby="error-title">
<p class="status" aria-label="Código de erro">Erro 404</p>
<h1 id="error-title">Página não encontrada</h1>
<p class="lead">Este endereço não existe ou foi movido para outra rota.</p>
<p class="description">Se você chegou aqui por um link antigo, volte para a página inicial ou acesse uma seção principal para continuar navegando.</p>
<nav class="actions" aria-label="Ações rápidas">
<a class="button button-primary" href="/">Voltar para a página inicial</a>
<a class="button button-secondary" href="/blog/">Ir para o blog</a>
</nav>
<ul class="links" aria-label="Atalhos úteis">
<li><a href="/">Início</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/#projetos">Projetos</a></li>
<li><a href="/#contato">Contato</a></li>
</ul>
</main>
</body>
</html>