-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path404.html
51 lines (49 loc) · 2.14 KB
/
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>oldemmi</title>
<link rel="apple-touch-icon" sizes="180x180" href="https://oldemmi.vercel.app/resources/favicon/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="https://oldemmi.vercel.app/resources/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="https://oldemmi.vercel.app/resources/favicon/favicon-16x16.png">
<link rel="manifest" href="https://oldemmi.vercel.app/resources/favicon/site.webmanifest">
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#303030">
<script>
let bebra = window.innerWidth < 550 ? 550 : window.innerWidth;
let conebebra = bebra / 1300;
document.querySelector('meta[name="viewport"]').setAttribute('content', `width=${bebra}, initial-scale=${conebebra}`);
const colorned = localStorage.getItem("theme") || "green";
const link = document.createElement("link");
link.rel = "stylesheet";
link.href = `https://oldemmi.vercel.app/css/${colorned}/dark.css?nocache=` + new Date().getTime();
document.head.appendChild(link);
</script>
</head>
<body>
<div class="navbar">
<div class="oldemmi" onclick="back()">
<img src="https://oldemmi.vercel.app/resources/logo.png" alt="oldemmi logo">
<div class="text">
oldemmi
</div>
</div>
<button onclick="goToSearch()">🔎</button>
</div>
<div class="caca">
<div class="error">404</div>
<div class="message">sorry, but page not found :(</div>
<button class="back" onclick="back()">back</button>
</div>
<script>
// функция для возвращения на главную страницу
function back() {
window.location.href = 'https://oldemmi.vercel.app/home';
}
function goToSearch() {
window.location.href = 'https://oldemmi.vercel.app/server';
}
</script>
</body>
</html>