-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
170 lines (161 loc) · 8.94 KB
/
index.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
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
<!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">
<div class="grid max-w-screen-xl px-4 py-8 mx-auto lg:gap-8 xl:gap-0 lg:py-16 lg:grid-cols-12">
<div class="mr-auto place-self-center lg:col-span-7">
<h1 data-key="title"
class="lang max-w-2xl mb-4 text-4xl font-extrabold tracking-tight leading-none md:text-5xl xl:text-6xl text-white">
</h1>
<p data-key="description"
class="lang max-w-2xl mb-6 font-light lg:mb-8 md:text-lg lg:text-xl text-gray-400"></p>
<a data-tooltip-target="tooltip-discord" id="button-discord"
class="inline-flex items-center justify-center px-5 py-3 mr-3 text-base font-medium text-center text-white rounded-lg bg-blue-700 hover:bg-blue-800 focus:ring-4 focus:ring-blue-900 cursor-pointer">
<i class="fa-brands fa-discord mr-2"></i>
<span data-key="contact" class="lang"></span> Discord
</a>
<div id="tooltip-discord"
class="absolute z-10 invisible inline-block px-3 py-2 text-sm font-medium text-white transition-opacity duration-300 rounded-lg shadow-sm opacity-0 tooltip bg-gray-700">
padowyt2
<div class="tooltip-arrow" data-popper-arrow></div>
</div>
</div>
<div class="hidden lg:mt-0 lg:col-span-5 lg:flex w-72 h-72 ml-auto">
<img src="/assets/img/logo.png">
</div>
</div>
<div class="max-w-screen-xl px-4 py-8 mx-auto lg:px-6 sm:py-16 lg:py-24">
<div class="max-w-2xl mx-auto text-center">
<h2 data-key="projects-title"
class="lang text-3xl font-extrabold leading-tight tracking-tight sm:text-4xl text-white"></h2>
<p data-key="projects-description" class="lang mt-4 text-base font-normal sm:text-xl text-gray-400"></p>
</div>
<div class="grid grid-cols-1 gap-12 mt-12 sm:gap-8 lg:gap-16 sm:mt-16 sm:grid-cols-2 lg:grid-cols-3">
<div>
<img class="object-cover w-full rounded-lg shadow-lg block mb-6" src="/assets/img/proxied.host.png">
<div class="space-y-3 mb-6">
<h3 class="text-2xl font-bold leading-tight text-white">
proxied.host
</h3>
<p data-key="proxied.host" class="lang text-lg font-normal text-gray-400"></p>
</div>
<div class="flex items-center gap-4">
<a href="https://proxied.host" target="_blank"
class="inline-flex items-center justify-center px-5 py-2.5 text-sm font-medium text-center border rounded-lg shrink-0 focus:outline-none focus:z-10 focus:ring-4 focus:ring-gray-700 bg-gray-800 text-gray-400 border-gray-600 hover:text-white hover:bg-gray-700">
<i class="fa-solid fa-arrow-up-right-from-square mr-2"></i>
<span data-key="website" class="lang"></span>
</a>
</div>
</div>
<div>
<img class="object-cover w-full rounded-lg shadow-lg block mb-6 h-44" src="/assets/img/vertisan.png">
<div class="space-y-3 mb-6">
<h3 class="text-2xl font-bold leading-tight text-white">
Vertisan
</h3>
<p data-key="vertisan" class="lang text-lg font-normal text-gray-400"></p>
</div>
<div class="flex items-center gap-4">
<a href="https://discord.gg/vertisan-760945720470667294" target="_blank"
class="inline-flex items-center justify-center px-5 py-2.5 text-sm font-medium text-center border rounded-lg shrink-0 focus:outline-none focus:z-10 focus:ring-4 focus:ring-gray-700 bg-gray-800 text-gray-400 border-gray-600 hover:text-white hover:bg-gray-700">
<i class="fa-solid fa-arrow-up-right-from-square mr-2"></i>
Discord
</a>
</div>
</div>
</div>
</div>
<footer class="p-6 bg-gray-950">
<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>
<div id="copied-popup" tabindex="-1"
class="hidden overflow-y-auto overflow-x-hidden fixed top-0 right-0 left-0 z-50 w-full md:inset-0 h-modal md:h-full">
<div class="relative p-4 w-full max-w-lg h-full md:h-auto text-center">
<div class="relative p-4 rounded-lg shadow bg-gray-800 md:p-8">
<div class="mb-4 text-sm font-light text-gray-400">
<h3 class="mb-3 text-7xl font-bold text-green-600"><i class="fa-solid fa-check"></i></h3>
<h3 class="mb-3 text-2xl font-bold text-white">Discord <span data-key="copied-title"
class="lang"></span></h3>
<p data-key="copied-description" class="lang"></p>
</div>
<div class="justify-end items-center pt-0 space-y-4 sm:flex sm:space-y-0">
<button id="close-button" data-key="close"
class="lang py-2 px-4 w-full text-sm font-medium text-center text-white rounded-lg sm:w-auto focus:ring-4 focus:outline-none bg-blue-600 hover:bg-blue-700 focus:ring-blue-800"></button>
</div>
</div>
</div>
</div>
<script src="/assets/js/jquery.min.js"></script>
<script src="/assets/js/flowbite.min.js"></script>
<script>
const popup = document.getElementById('copied-popup');
const copiedModal = new Modal(popup, {
placement: 'center'
});
$("#button-discord").on("click", function () {
navigator.clipboard.writeText("padowyt2");
copiedModal.show();
});
$("#close-button").on("click", function () {
copiedModal.hide();
});
let currentLang = "en";
updateLanguage();
$("#lang-switch").on("click", function () {
currentLang = currentLang === "en" ? "ru" : "en";
updateLanguage();
});
function updateLanguage() {
$.getJSON(`/assets/lang/${currentLang}.json`, function (data) {
$(".lang").each(function () {
const key = $(this).data("key");
$(this).text(data[key]);
});
});
}
</script>
</body>
</html>