-
Notifications
You must be signed in to change notification settings - Fork 3
/
404.html
89 lines (83 loc) · 4.26 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
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
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<title>About Padow</title>
<link rel="icon" href="/assets/img/favicon.ico" type="image/x-icon" />
<script src="/assets/js/tailwind.min.js"></script>
<link href="/assets/css/flowbite.min.css" rel="stylesheet" />
<link href="/assets/css/fontawesome.min.css" rel="stylesheet" />
<link href="/assets/css/custom.css" rel="stylesheet" />
<meta content="PadowYT2" property="og:title" />
<meta content="A page about PadowYT2" property="og:description" />
<meta content="/assets/img/logo.png" property="og:image" />
<meta content="#256091" data-react-helmet="true" name="theme-color" />
</head>
<body class="bg-gray-900 flex flex-col h-screen">
<div class="bg-white dark:bg-gray-900">
<div class="py-8 px-4 mx-auto max-w-screen-xl lg:py-16 lg:px-6">
<div class="mx-auto max-w-screen-sm text-center">
<h1 class="mb-4 text-7xl tracking-tight font-extrabold lg:text-9xl text-blue-500">
404
</h1>
<p data-key="title" class="lang mb-4 text-3xl tracking-tight font-bold md:text-4xl text-white"></p>
<p data-key="description" class="lang mb-4 text-lg font-light text-gray-400"></p>
<a href="/" data-key="button"
class="lang inline-flex text-white bg-blue-600 hover:bg-blue-800 focus:ring-4 focus:outline-none focus:ring-blue-300 font-medium rounded-lg text-sm px-5 py-2.5 text-center dark:focus:ring-blue-900 my-4"></a>
</div>
</div>
</div>
<footer class="p-6 bg-gray-950 mt-auto">
<div class="mx-auto max-w-screen-xl text-center">
<div class="sm:items-center sm:justify-between sm:flex">
<span class="block text-sm text-gray-400"><span data-key="made" class="lang"></span> <a
class="hover:underline hover:decoration-dotted" href="https://flowbite.com"
target="_blank">Flowbite</a> <span data-key="and" class="lang"></span> <a
class="hover:underline hover:decoration-dotted" href="https://tailwindcss.com"
target="_blank">TailwindCSS</a></span>
<div class="flex justify-center mt-4 space-x-6 sm:mt-0">
<a id="lang-switch" class="cursor-pointer hover:text-white text-gray-400">
<i class="fa-solid fa-language"></i>
</a>
<a href="https://github.com/PadowYT2" class="hover:text-white text-gray-400">
<i class="fa-brands fa-github"></i>
</a>
<a href="https://www.youtube.com/channel/UCXWNltER04A3qcjdc1Fst0w"
class="hover:text-white text-gray-400">
<i class="fa-brands fa-youtube"></i>
</a>
<a href="https://steamcommunity.com/id/PadowYT2" class="hover:text-white text-gray-400">
<i class="fa-brands fa-steam"></i>
</a>
<a href="https://twitch.tv/PadowYT2" class="hover:text-white text-gray-400">
<i class="fa-brands fa-twitch"></i>
</a>
<a href="https://paypal.me/forartem" class="hover:text-white text-gray-400">
<i class="fa-brands fa-paypal"></i>
</a>
</div>
</div>
</div>
</footer>
<script src="/assets/js/jquery.min.js"></script>
<script src="/assets/js/flowbite.min.js"></script>
<script>
let currentLang = "en";
updateLanguage();
$("#lang-switch").on("click", function () {
currentLang = currentLang === "en" ? "ru" : "en";
updateLanguage();
});
function updateLanguage() {
$.getJSON(`/assets/lang/404/${currentLang}.json`, function (data) {
$(".lang").each(function () {
const key = $(this).data("key");
$(this).text(data[key]);
});
});
}
</script>
</body>
</html>