-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
197 lines (175 loc) · 6.17 KB
/
404.html
File metadata and controls
197 lines (175 loc) · 6.17 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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
<!DOCTYPE html>
<html lang="pt-BR">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 - Página Não Encontrada | Character Hub</title>
<link rel="icon" type="image/x-icon" href="favicon.ico">
<link rel="stylesheet" href="styles.css">
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
<style>
.error-404 {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
text-align: center;
padding: 2rem;
}
.error-content {
max-width: 600px;
animation: fadeInUp 0.8s ease;
}
.error-code {
font-size: 8rem;
font-weight: 800;
margin-bottom: 1rem;
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
background: linear-gradient(45deg, #fff, #f0f0f0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
}
.error-title {
font-size: 2rem;
margin-bottom: 1rem;
font-weight: 600;
}
.error-description {
font-size: 1.1rem;
margin-bottom: 2rem;
opacity: 0.9;
line-height: 1.6;
}
.error-actions {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
.error-character {
font-size: 4rem;
margin: 2rem 0;
opacity: 0.8;
animation: float 3s ease-in-out infinite;
}
@keyframes fadeInUp {
from {
opacity: 0;
transform: translateY(30px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
@keyframes float {
0%, 100% {
transform: translateY(0);
}
50% {
transform: translateY(-10px);
}
}
.search-suggestions {
margin-top: 2rem;
padding: 1.5rem;
background: rgba(255, 255, 255, 0.1);
border-radius: 1rem;
backdrop-filter: blur(10px);
}
.search-suggestions h4 {
margin-bottom: 1rem;
font-size: 1.1rem;
}
.suggestion-links {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
}
.suggestion-links a {
color: white;
text-decoration: none;
padding: 0.5rem 1rem;
background: rgba(255, 255, 255, 0.2);
border-radius: 0.5rem;
transition: all 0.3s ease;
font-size: 0.9rem;
}
.suggestion-links a:hover {
background: rgba(255, 255, 255, 0.3);
transform: translateY(-2px);
}
</style>
</head>
<body>
<div class="error-404">
<div class="error-content">
<div class="error-code">404</div>
<h1 class="error-title">Página Não Encontrada</h1>
<p class="error-description">
Ops! Parece que você se perdeu no mundo dos caracteres Unicode.
A página que você está procurando não existe ou foi movida.
</p>
<div class="error-actions">
<a href="/" class="btn btn-primary">
<i class="fas fa-home"></i> Página Inicial
</a>
<a href="./character/explore.html" class="btn btn-secondary">
<i class="fas fa-th"></i> Lista de Caracteres
</a>
</div>
<div class="search-suggestions">
<h4>Talvez você esteja procurando:</h4>
<div class="suggestion-links">
<a href="character/U+007C">Vertical Line</a>
<a href="character/U+1160">Invisível Grande</a>
<a href="character/U+2000">Invisível Médio</a>
<a href="character/U+205F">Invisível Pequeno</a>
<a href="character/Super-Stack-Character.html">Super Stack</a>
</div>
</div>
</div>
</div>
<!-- Áudios de erro 404 -->
<audio id="page404Sound" preload="auto" loop>
<source src="media/page_404.mp3" type="audio/mpeg">
</audio>
<audio id="page404Sound2" preload="auto">
<source src="media/page_404_audio_2.mp3" type="audio/mpeg">
</audio>
<script>
// Controle de áudios de erro 404
let currentAudio = null;
function playRandom404Sound() {
const sounds = ['page404Sound', 'page404Sound2'];
const randomSound = sounds[Math.floor(Math.random() * sounds.length)];
const audio = document.getElementById(randomSound);
if (audio) {
// Parar áudio anterior
if (currentAudio) {
currentAudio.pause();
currentAudio.currentTime = 0;
}
// Tocar novo áudio
audio.currentTime = 0;
audio.play().catch(e => console.log('Audio play failed:', e));
currentAudio = audio;
}
}
// Iniciar os áudios de erro 404
document.addEventListener('DOMContentLoaded', function() {
// Tocar um áudio 404 aleatório
playRandom404Sound();
// Configurar para tocar o outro áudio 404 após 5 segundos
setTimeout(() => {
playRandom404Sound();
}, 5000);
});
</script>
</body>
</html>