-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpagina-eroare-404.html
68 lines (67 loc) · 1.95 KB
/
pagina-eroare-404.html
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
<!DOCTYPE html>
<html lang="ro">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Eroare 404: Pagină negăsită</title>
<style>
body {
text-align: center;
padding: 150px;
background-color: #d5ebf1;
height: 500px;
font: 20px Helvetica, sans-serif;
color: #333;
display: flex;
flex-direction: column;
justify-content: flex-start;
}
h1 {
font-size: 50px;
}
article {
display: block;
text-align: left;
width: 650px;
margin: 0 auto;
}
img {
margin-top: -50px;
margin-bottom: -50px;
}
a {
color: #2ea8d1;
text-decoration: none;
}
a:hover {
color: #0e6b90;
text-decoration: none;
}
.dark-mode {
background-color: #1A2733;
color: white;
}
</style>
</head>
<body>
<div>
<img src="/Imagini/ErrorImage.png" width="300px" height="300px">
</div>
<article>
<h1>Nu am putut găsi această pagină!</h1>
<div>
<p>Ne pare rău, dar pagina pe care încercați să o vizualizați nu există. Se pare că aceasta a fost rezultatul fie a unei adrese introduse greșit, fie a unui link învechit.</p>
</div>
<p>Reveniți la <a href="/MeniuPrincipal/meniu_principal.php">pagina principală</a>.</p>
</article>
<script>
// Verifică tema stocată în localStorage și aplică tema corespunzătoare
window.addEventListener('DOMContentLoaded', () => {
const storedTheme = localStorage.getItem('theme') || 'light';
if (storedTheme === 'dark') {
document.body.classList.add('dark-mode');
}
});
</script>
</body>
</html>