lolakd commited on
Commit
786b127
·
verified ·
1 Parent(s): 3c0941d

Сайт сервера по майнкрафту Exemine. Особености сервера просто выживание без креатива.

Browse files
Files changed (4) hide show
  1. README.md +7 -4
  2. index.html +324 -19
  3. script.js +241 -0
  4. style.css +244 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
  title: Exemine Minecraft Server
3
- emoji: 📚
4
- colorFrom: red
5
- colorTo: green
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
  title: Exemine Minecraft Server
3
+ colorFrom: green
4
+ colorTo: pink
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
index.html CHANGED
@@ -1,19 +1,324 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="ru">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Exemine - Выживание сервер по Minecraft</title>
7
+ <link rel="icon" type="image/x-icon" href="/static/favicon.ico">
8
+ <link rel="stylesheet" href="style.css">
9
+ <script src="https://cdn.tailwindcss.com"></script>
10
+ <script>
11
+ tailwind.config = {
12
+ theme: {
13
+ extend: {
14
+ colors: {
15
+ primary: {
16
+ 50: '#f0f9ff',
17
+ 500: '#3b82f6',
18
+ 600: '#2563eb',
19
+ 700: '#1d4ed8',
20
+ 900: '#1e3a8a',
21
+ },
22
+ secondary: {
23
+ 50: '#f8fafc',
24
+ 500: '#64748b',
25
+ 600: '#475569',
26
+ 700: '#334155',
27
+ 900: '#0f172a',
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }
33
+ </script>
34
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
35
+ </head>
36
+ <body class="bg-gray-900 text-white">
37
+ <!-- Navigation -->
38
+ <nav class="bg-gray-800 border-b border-gray-700">
39
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
40
+ <div class="flex items-center justify-between h-16">
41
+ <div class="flex items-center">
42
+ <div class="flex-shrink-0">
43
+ <h1 class="text-xl font-bold text-primary-500">Exemine</h1>
44
+ </div>
45
+ <div class="hidden md:block">
46
+ <div class="ml-10 flex items-baseline space-x-4">
47
+ <a href="#home" class="text-gray-300 hover:text-primary-500 px-3 py-2 rounded-md text-sm font-medium">Главная</a>
48
+ <a href="#features" class="text-gray-300 hover:text-primary-500 px-3 py-2 rounded-md text-sm font-medium">Особенности</a>
49
+ <a href="#rules" class="text-gray-300 hover:text-primary-500 px-3 py-2 rounded-md text-sm font-medium">Правила</a>
50
+ <a href="#join" class="text-gray-300 hover:text-primary-500 px-3 py-2 rounded-md text-sm font-medium">Подключение</a>
51
+ </div>
52
+ </div>
53
+ </div>
54
+ <div class="hidden md:block">
55
+ <div class="ml-4 flex items-center md:ml-6">
56
+ <button class="bg-primary-600 hover:bg-primary-700 text-white px-4 py-2 rounded-lg text-sm font-medium">
57
+ Присоединиться
58
+ </button>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </div>
63
+ </nav>
64
+
65
+ <!-- Hero Section -->
66
+ <section id="home" class="relative bg-gradient-to-br from-gray-900 via-gray-800 to-gray-900">
67
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-24">
68
+ <div class="text-center">
69
+ <h1 class="text-4xl md:text-6xl font-bold text-white mb-6">
70
+ Добро пожаловать на <span class="text-primary-500">Exemine</span>
71
+ </h1>
72
+ <p class="text-xl md:text-2xl text-gray-300 mb-8 max-w-3xl mx-auto">
73
+ Чистое выживание без креатива. Построй, выживай и процветай вместе с нашим сообществом
74
+ </p>
75
+ <div class="flex flex-col sm:flex-row gap-4 justify-center">
76
+ <button class="bg-primary-600 hover:bg-primary-700 text-white px-8 py-3 rounded-lg text-lg font-medium">
77
+ Начать игру
78
+ </button>
79
+ <button class="border border-gray-600 hover:border-primary-500 text-white px-8 py-3 rounded-lg text-lg font-medium">
80
+ Узнать больше
81
+ </button>
82
+ </div>
83
+ </div>
84
+ </div>
85
+ <div class="absolute inset-0 bg-[url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23ffffff" fill-opacity="0.02"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E')] opacity-20"></div>
86
+ </section>
87
+
88
+ <!-- Server Status -->
89
+ <section class="py-16 bg-gray-800">
90
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
91
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
92
+ <div class="text-center">
93
+ <div class="w-16 h-16 bg-green-500 rounded-full flex items-center justify-center mx-auto mb-4">
94
+ <i data-feather="server" class="w-8 h-8 text-white"></i>
95
+ </div>
96
+ <h3 class="text-xl font-semibold mb-2">Статус сервера</h3>
97
+ <div class="flex items-center justify-center">
98
+ <div class="w-3 h-3 bg-green-400 rounded-full mr-2"></div>
99
+ <span class="text-green-400 font-medium">Онлайн</span>
100
+ </div>
101
+ </div>
102
+ <div class="text-center">
103
+ <div class="w-16 h-16 bg-primary-500 rounded-full flex items-center justify-center mx-auto mb-4">
104
+ <i data-feather="users" class="w-8 h-8 text-white"></i>
105
+ </div>
106
+ <h3 class="text-xl font-semibold mb-2">Игроки</h3>
107
+ <p class="text-2xl font-bold text-primary-500">24/32</p>
108
+ </div>
109
+ <div class="text-center">
110
+ <div class="w-16 h-16 bg-purple-500 rounded-full flex items-center justify-center mx-auto mb-4">
111
+ <i data-feather="map" class="w-8 h-8 text-white"></i>
112
+ </div>
113
+ <h3 class="text-xl font-semibold mb-2">Версия</h3>
114
+ <p class="text-lg">1.20.1</p>
115
+ </div>
116
+ </div>
117
+ </div>
118
+ </section>
119
+
120
+ <!-- Features -->
121
+ <section id="features" class="py-20 bg-gray-900">
122
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
123
+ <div class="text-center mb-16">
124
+ <h2 class="text-3xl md:text-4xl font-bold text-white mb-4">Особенности сервера</h2>
125
+ <p class="text-xl text-gray-400 max-w-2xl mx-auto">
126
+ Мы создали уникальную среду для настоящих выживальщиков
127
+ </p>
128
+ </div>
129
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
130
+ <div class="bg-gray-800 rounded-lg p-6 border border-gray-700">
131
+ <div class="w-12 h-12 bg-primary-500 rounded-lg flex items-center justify-center mb-4">
132
+ <i data-feather="shield" class="w-6 h-6 text-white"></i>
133
+ </div>
134
+ <h3 class="text-xl font-semibold text-white mb-2">Чистое выживание</h3>
135
+ <p class="text-gray-400">Никакого креатива или читов. Только навыки выживания и стратегии</p>
136
+ </div>
137
+ <div class="bg-gray-800 rounded-lg p-6 border border-gray-700">
138
+ <div class="w-12 h-12 bg-green-500 rounded-lg flex items-center justify-center mb-4">
139
+ <i data-feather="activity" class="w-6 h-6 text-white"></i>
140
+ </div>
141
+ <h3 class="text-xl font-semibold text-white mb-2">Активное сообщество</h3>
142
+ <p class="text-gray-400">Дружелюбные игроки всегда готовы помочь новичкам</p>
143
+ </div>
144
+ <div class="bg-gray-800 rounded-lg p-6 border border-gray-700">
145
+ <div class="w-12 h-12 bg-purple-500 rounded-lg flex items-center justify-center mb-4">
146
+ <i data-feather="star" class="w-6 h-6 text-white"></i>
147
+ </div>
148
+ <h3 class="text-xl font-semibold text-white mb-2">Регулярные события</h3>
149
+ <p class="text-gray-400">Соревнования, турниры и специальные ивенты каждую неделю</p>
150
+ </div>
151
+ <div class="bg-gray-800 rounded-lg p-6 border border-gray-700">
152
+ <div class="w-12 h-12 bg-yellow-500 rounded-lg flex items-center justify-center mb-4">
153
+ <i data-feather="zap" class="w-6 h-6 text-white"></i>
154
+ </div>
155
+ <h3 class="text-xl font-semibold text-white mb-2">Высокая производительность</h3>
156
+ <p class="text-gray-400">Стабильный сервер с минимальной задержкой</p>
157
+ </div>
158
+ <div class="bg-gray-800 rounded-lg p-6 border border-gray-700">
159
+ <div class="w-12 h-12 bg-red-500 rounded-lg flex items-center justify-center mb-4">
160
+ <i data-feather="lock" class="w-6 h-6 text-white"></i>
161
+ </div>
162
+ <h3 class="text-xl font-semibold text-white mb-2">Защита от гриферов</h3>
163
+ <p class="text-gray-400">Система приватов и справедливая модерация</p>
164
+ </div>
165
+ <div class="bg-gray-800 rounded-lg p-6 border border-gray-700">
166
+ <div class="w-12 h-12 bg-blue-500 rounded-lg flex items-center justify-center mb-4">
167
+ <i data-feather="globe" class="w-6 h-6 text-white"></i>
168
+ </div>
169
+ <h3 class="text-xl font-semibold text-white mb-2">Мультимир</h3>
170
+ <p class="text-gray-400">Различные миры для разных видов деятельности</p>
171
+ </div>
172
+ </div>
173
+ </div>
174
+ </section>
175
+
176
+ <!-- Rules -->
177
+ <section id="rules" class="py-20 bg-gray-800">
178
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
179
+ <div class="text-center mb-16">
180
+ <h2 class="text-3xl md:text-4xl font-bold text-white mb-4">Правила сервера</h2>
181
+ <p class="text-xl text-gray-400 max-w-2xl mx-auto">
182
+ Чтобы играть было комфортно всем, мы установили простые правила
183
+ </p>
184
+ </div>
185
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-8">
186
+ <div class="space-y-6">
187
+ <div class="flex items-start space-x-4">
188
+ <div class="w-8 h-8 bg-green-500 rounded-full flex items-center justify-center flex-shrink-0">
189
+ <i data-feather="check" class="w-4 h-4 text-white"></i>
190
+ </div>
191
+ <div>
192
+ <h3 class="text-lg font-semibold text-white mb-1">Уважайте других игроков</h3>
193
+ <p class="text-gray-400">Будьте вежливы и дружелюбны в общении</p>
194
+ </div>
195
+ </div>
196
+ <div class="flex items-start space-x-4">
197
+ <div class="w-8 h-8 bg-green-500 rounded-full flex items-center justify-center flex-shrink-0">
198
+ <i data-feather="check" class="w-4 h-4 text-white"></i>
199
+ </div>
200
+ <div>
201
+ <h3 class="text-lg font-semibold text-white mb-1">Используйте приваты</h3>
202
+ <p class="text-gray-400">Защищайте свои постройки с помощью системы приватов</p>
203
+ </div>
204
+ </div>
205
+ <div class="flex items-start space-x-4">
206
+ <div class="w-8 h-8 bg-green-500 rounded-full flex items-center justify-center flex-shrink-0">
207
+ <i data-feather="check" class="w-4 h-4 text-white"></i>
208
+ </div>
209
+ <div>
210
+ <h3 class="text-lg font-semibold text-white mb-1">Стройте ответственно</h3>
211
+ <p class="text-gray-400">Не портите ландшафт и уважайте чужие постройки</p>
212
+ </div>
213
+ </div>
214
+ </div>
215
+ <div class="space-y-6">
216
+ <div class="flex items-start space-x-4">
217
+ <div class="w-8 h-8 bg-red-500 rounded-full flex items-center justify-center flex-shrink-0">
218
+ <i data-feather="x" class="w-4 h-4 text-white"></i>
219
+ </div>
220
+ <div>
221
+ <h3 class="text-lg font-semibold text-white mb-1">Запрещены читы и баги</h3>
222
+ <p class="text-gray-400">Использование модификаций и эксплойтов строго запрещено</p>
223
+ </div>
224
+ </div>
225
+ <div class="flex items-start space-x-4">
226
+ <div class="w-8 h-8 bg-red-500 rounded-full flex items-center justify-center flex-shrink-0">
227
+ <i data-feather="x" class="w-4 h-4 text-white"></i>
228
+ </div>
229
+ <div>
230
+ <h3 class="text-lg font-semibold text-white mb-1">Нет гриферству</h3>
231
+ <p class="text-gray-400">Уничтожение чужих построек приведет к бану</p>
232
+ </div>
233
+ </div>
234
+ <div class="flex items-start space-x-4">
235
+ <div class="w-8 h-8 bg-red-500 rounded-full flex items-center justify-center flex-shrink-0">
236
+ <i data-feather="x" class="w-4 h-4 text-white"></i>
237
+ </div>
238
+ <div>
239
+ <h3 class="text-lg font-semibold text-white mb-1">Токсичное поведение</h3>
240
+ <p class="text-gray-400">Мат, оскорбления и провокации недопустимы</p>
241
+ </div>
242
+ </div>
243
+ </div>
244
+ </div>
245
+ </div>
246
+ </section>
247
+
248
+ <!-- Join Section -->
249
+ <section id="join" class="py-20 bg-gradient-to-br from-primary-900 to-gray-900">
250
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 text-center">
251
+ <h2 class="text-3xl md:text-4xl font-bold text-white mb-8">
252
+ Готовы начать приключение?
253
+ </h2>
254
+ <p class="text-xl text-gray-300 mb-8 max-w-2xl mx-auto">
255
+ Присоединяйтесь к нашему сообществу уже сегодня!
256
+ </p>
257
+ <div class="bg-gray-800 rounded-lg p-8 max-w-md mx-auto border border-gray-700">
258
+ <h3 class="text-2xl font-bold text-white mb-4">IP сервера</h3>
259
+ <div class="bg-gray-700 rounded-lg p-4 mb-6">
260
+ <code class="text-2xl font-mono text-primary-500">exemine.mc-server.ru</code>
261
+ </div>
262
+ <button class="w-full bg-primary-600 hover:bg-primary-700 text-white px-6 py-3 rounded-lg text-lg font-medium mb-4">
263
+ Скопировать IP
264
+ </button>
265
+ <p class="text-sm text-gray-400">
266
+ Версия: 1.20.1 - 1.20.4<br>
267
+ Порт: 25565
268
+ </p>
269
+ </div>
270
+ </div>
271
+ </section>
272
+
273
+ <!-- Footer -->
274
+ <footer class="bg-gray-900 border-t border-gray-700">
275
+ <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12">
276
+ <div class="grid grid-cols-1 md:grid-cols-4 gap-8">
277
+ <div class="col-span-1 md:col-span-2">
278
+ <h3 class="text-xl font-bold text-primary-500 mb-4">Exemine</h3>
279
+ <p class="text-gray-400 mb-4">
280
+ Лучший сервер выживания для настоящих Minecraft мастеров.
281
+ Присоединяйся к нашему дружному сообществу!
282
+ </p>
283
+ <div class="flex space-x-4">
284
+ <a href="#" class="text-gray-400 hover:text-primary-500">
285
+ <i data-feather="discord" class="w-6 h-6"></i>
286
+ </a>
287
+ <a href="#" class="text-gray-400 hover:text-primary-500">
288
+ <i data-feather="mail" class="w-6 h-6"></i>
289
+ </a>
290
+ <a href="#" class="text-gray-400 hover:text-primary-500">
291
+ <i data-feather="message-circle" class="w-6 h-6"></i>
292
+ </a>
293
+ </div>
294
+ </div>
295
+ <div>
296
+ <h4 class="text-lg font-semibold text-white mb-4">Быстрые ссылки</h4>
297
+ <ul class="space-y-2">
298
+ <li><a href="#features" class="text-gray-400 hover:text-primary-500">Особенности</a></li>
299
+ <li><a href="#rules" class="text-gray-400 hover:text-primary-500">Правила</a></li>
300
+ <li><a href="#join" class="text-gray-400 hover:text-primary-500">Подключение</a></li>
301
+ </ul>
302
+ </div>
303
+ <div>
304
+ <h4 class="text-lg font-semibold text-white mb-4">Поддержка</h4>
305
+ <ul class="space-y-2">
306
+ <li><a href="#" class="text-gray-400 hover:text-primary-500">Discord</a></li>
307
+ <li><a href="#" class="text-gray-400 hover:text-primary-500">Форум</a></li>
308
+ <li><a href="#" class="text-gray-400 hover:text-primary-500">Техподдержка</a></li>
309
+ </ul>
310
+ </div>
311
+ </div>
312
+ <div class="border-t border-gray-700 mt-8 pt-8 text-center">
313
+ <p class="text-gray-400">
314
+ © 2024 Exemine Minecraft Server. Все права защищены.
315
+ </p>
316
+ </div>
317
+ </div>
318
+ </footer>
319
+
320
+ <script src="script.js"></script>
321
+ <script>feather.replace();</script>
322
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
323
+ </body>
324
+ </html>
script.js ADDED
@@ -0,0 +1,241 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Exemine Minecraft Server Website JavaScript
2
+
3
+ document.addEventListener('DOMContentLoaded', function() {
4
+ // Initialize feather icons
5
+ if (typeof feather !== 'undefined') {
6
+ feather.replace();
7
+ }
8
+
9
+ // Server status check
10
+ const serverStatus = {
11
+ checkStatus: async function() {
12
+ try {
13
+ // Simulate server status check (replace with actual API call)
14
+ const response = await fetch('/api/server-status');
15
+ const data = await response.json();
16
+ this.updateStatus(data);
17
+ } catch (error) {
18
+ console.log('Server status check failed, using demo data');
19
+ // Demo data for demonstration
20
+ this.updateStatus({
21
+ online: true,
22
+ players: 24,
23
+ maxPlayers: 32,
24
+ version: '1.20.1'
25
+ });
26
+ }
27
+ },
28
+
29
+ updateStatus: function(data) {
30
+ const statusElement = document.querySelector('.text-green-400');
31
+ const playersElement = document.querySelector('.text-2xl.font-bold.text-primary-500');
32
+ const versionElement = document.querySelector('.text-lg');
33
+
34
+ if (statusElement) {
35
+ statusElement.textContent = data.online ? 'Онлайн' : 'Офлайн';
36
+ }
37
+ if (playersElement) {
38
+ playersElement.textContent = `${data.players}/${data.maxPlayers}`;
39
+ }
40
+ if (versionElement) {
41
+ versionElement.textContent = data.version;
42
+ }
43
+ }
44
+ };
45
+
46
+ // Copy server IP functionality
47
+ const copyButton = document.querySelector('button');
48
+ if (copyButton && copyButton.textContent.includes('Скопировать')) {
49
+ copyButton.addEventListener('click', function() {
50
+ const serverIP = 'exemine.mc-server.ru';
51
+ navigator.clipboard.writeText(serverIP).then(() => {
52
+ const originalText = this.textContent;
53
+ this.textContent = 'Скопировано!';
54
+ this.classList.add('bg-green-600');
55
+ this.classList.remove('bg-primary-600', 'hover:bg-primary-700');
56
+
57
+ setTimeout(() => {
58
+ this.textContent = originalText;
59
+ this.classList.remove('bg-green-600');
60
+ this.classList.add('bg-primary-600', 'hover:bg-primary-700');
61
+ }, 2000);
62
+ }).catch(() => {
63
+ // Fallback for older browsers
64
+ const textArea = document.createElement('textarea');
65
+ textArea.value = serverIP;
66
+ document.body.appendChild(textArea);
67
+ textArea.select();
68
+ document.execCommand('copy');
69
+ document.body.removeChild(textArea);
70
+
71
+ const originalText = this.textContent;
72
+ this.textContent = 'Скопировано!';
73
+ this.classList.add('bg-green-600');
74
+ this.classList.remove('bg-primary-600', 'hover:bg-primary-700');
75
+
76
+ setTimeout(() => {
77
+ this.textContent = originalText;
78
+ this.classList.remove('bg-green-600');
79
+ this.classList.add('bg-primary-600', 'hover:bg-primary-700');
80
+ }, 2000);
81
+ });
82
+ });
83
+ }
84
+
85
+ // Smooth scroll for navigation links
86
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
87
+ anchor.addEventListener('click', function (e) {
88
+ e.preventDefault();
89
+ const target = document.querySelector(this.getAttribute('href'));
90
+ if (target) {
91
+ target.scrollIntoView({
92
+ behavior: 'smooth',
93
+ block: 'start'
94
+ });
95
+ }
96
+ });
97
+ });
98
+
99
+ // Navbar background on scroll
100
+ window.addEventListener('scroll', function() {
101
+ const navbar = document.querySelector('nav');
102
+ if (window.scrollY > 100) {
103
+ navbar.classList.add('bg-gray-800', 'bg-opacity-95');
104
+ navbar.classList.remove('bg-gray-800');
105
+ } else {
106
+ navbar.classList.remove('bg-opacity-95');
107
+ navbar.classList.add('bg-gray-800');
108
+ }
109
+ });
110
+
111
+ // Animate elements on scroll
112
+ const observerOptions = {
113
+ threshold: 0.1,
114
+ rootMargin: '0px 0px -50px 0px'
115
+ };
116
+
117
+ const observer = new IntersectionObserver(function(entries) {
118
+ entries.forEach(entry => {
119
+ if (entry.isIntersecting) {
120
+ entry.target.classList.add('animate-fade-in');
121
+ }
122
+ });
123
+ }, observerOptions);
124
+
125
+ // Observe elements for animation
126
+ document.querySelectorAll('.bg-gray-800, .bg-gray-900').forEach(el => {
127
+ el.classList.add('opacity-0', 'transform', 'translate-y-4', 'transition', 'duration-700');
128
+ observer.observe(el);
129
+ });
130
+
131
+ // Add CSS for fade-in animation
132
+ const style = document.createElement('style');
133
+ style.textContent = `
134
+ .animate-fade-in {
135
+ opacity: 1 !important;
136
+ transform: translateY(0) !important;
137
+ }
138
+ `;
139
+ document.head.appendChild(style);
140
+
141
+ // Player counter animation
142
+ function animateCounter(element, target) {
143
+ let current = 0;
144
+ const increment = target / 50;
145
+ const timer = setInterval(() => {
146
+ current += increment;
147
+ if (current >= target) {
148
+ current = target;
149
+ clearInterval(timer);
150
+ }
151
+ element.textContent = Math.floor(current) + '/32';
152
+ }, 30);
153
+ }
154
+
155
+ // Handle main action buttons
156
+ document.querySelectorAll('button').forEach(button => {
157
+ button.addEventListener('click', function(e) {
158
+ // Add click effect
159
+ const ripple = document.createElement('span');
160
+ ripple.classList.add('absolute', 'bg-white', 'opacity-25', 'rounded-full', 'animate-ping');
161
+ const rect = this.getBoundingClientRect();
162
+ const size = Math.max(rect.width, rect.height);
163
+ ripple.style.width = size + 'px';
164
+ ripple.style.height = size + 'px';
165
+ ripple.style.left = (e.clientX - rect.left - size / 2) + 'px';
166
+ ripple.style.top = (e.clientY - rect.top - size / 2) + 'px';
167
+
168
+ this.style.position = 'relative';
169
+ this.style.overflow = 'hidden';
170
+ this.appendChild(ripple);
171
+
172
+ setTimeout(() => {
173
+ ripple.remove();
174
+ }, 600);
175
+ });
176
+ });
177
+
178
+ // Initialize server status check
179
+ serverStatus.checkStatus();
180
+
181
+ // Add typing effect to hero text
182
+ const heroTitle = document.querySelector('h1');
183
+ if (heroTitle && heroTitle.textContent.includes('Exemine')) {
184
+ const originalText = heroTitle.textContent;
185
+ heroTitle.textContent = '';
186
+
187
+ let i = 0;
188
+ const typeWriter = () => {
189
+ if (i < originalText.length) {
190
+ heroTitle.textContent += originalText.charAt(i);
191
+ i++;
192
+ setTimeout(typeWriter, 100);
193
+ }
194
+ };
195
+
196
+ setTimeout(typeWriter, 500);
197
+ }
198
+
199
+ // Add hover effects to feature cards
200
+ document.querySelectorAll('.bg-gray-800').forEach(card => {
201
+ if (card.querySelector('h3')) {
202
+ card.classList.add('card-hover', 'cursor-pointer');
203
+
204
+ card.addEventListener('mouseenter', function() {
205
+ this.style.transform = 'translateY(-5px)';
206
+ this.style.boxShadow = '0 20px 40px rgba(0, 0, 0, 0.3)';
207
+ });
208
+
209
+ card.addEventListener('mouseleave', function() {
210
+ this.style.transform = 'translateY(0)';
211
+ this.style.boxShadow = 'none';
212
+ });
213
+ }
214
+ });
215
+
216
+ // Add mobile menu toggle (if needed)
217
+ const mobileMenuButton = document.querySelector('.md\\:hidden button');
218
+ const mobileMenu = document.querySelector('.md\\:block');
219
+
220
+ if (mobileMenuButton && mobileMenu) {
221
+ mobileMenuButton.addEventListener('click', function() {
222
+ mobileMenu.classList.toggle('hidden');
223
+ });
224
+ }
225
+
226
+ // Performance monitoring
227
+ console.log('Exemine website loaded successfully');
228
+ console.log('Features loaded:', document.querySelectorAll('.bg-gray-800').length);
229
+ });
230
+
231
+ // Service Worker registration for PWA capabilities (optional)
232
+ if ('serviceWorker' in navigator) {
233
+ window.addEventListener('load', function() {
234
+ navigator.serviceWorker.register('/sw.js')
235
+ .then(function(registration) {
236
+ console.log('ServiceWorker registration successful');
237
+ }, function(err) {
238
+ console.log('ServiceWorker registration failed');
239
+ });
240
+ });
241
+ }
style.css CHANGED
@@ -1,28 +1,253 @@
1
- body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
 
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
28
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Custom styles for Exemine Minecraft Server */
2
+
3
+ /* Smooth scrolling */
4
+ html {
5
+ scroll-behavior: smooth;
6
+ }
7
+
8
+ /* Custom scrollbar */
9
+ ::-webkit-scrollbar {
10
+ width: 8px;
11
+ }
12
+
13
+ ::-webkit-scrollbar-track {
14
+ background: #1f2937;
15
+ }
16
+
17
+ ::-webkit-scrollbar-thumb {
18
+ background: #4b5563;
19
+ border-radius: 4px;
20
+ }
21
+
22
+ ::-webkit-scrollbar-thumb:hover {
23
+ background: #6b7280;
24
+ }
25
+
26
+ /* Gradient text animation */
27
+ @keyframes gradient {
28
+ 0% {
29
+ background-position: 0% 50%;
30
+ }
31
+ 50% {
32
+ background-position: 100% 50%;
33
+ }
34
+ 100% {
35
+ background-position: 0% 50%;
36
+ }
37
+ }
38
+
39
+ .gradient-text {
40
+ background: linear-gradient(-45deg, #3b82f6, #8b5cf6, #06b6d4, #10b981);
41
+ background-size: 400% 400%;
42
+ -webkit-background-clip: text;
43
+ background-clip: text;
44
+ -webkit-text-fill-color: transparent;
45
+ animation: gradient 15s ease infinite;
46
+ }
47
+
48
+ /* Card hover effects */
49
+ .card-hover {
50
+ transition: all 0.3s ease;
51
+ }
52
+
53
+ .card-hover:hover {
54
+ transform: translateY(-5px);
55
+ box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
56
+ }
57
+
58
+ /* Button animations */
59
+ .btn-pulse {
60
+ animation: pulse 2s infinite;
61
+ }
62
+
63
+ @keyframes pulse {
64
+ 0% {
65
+ box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
66
+ }
67
+ 70% {
68
+ box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
69
+ }
70
+ 100% {
71
+ box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
72
+ }
73
+ }
74
+
75
+ /* Minecraft block pattern background */
76
+ .minecraft-bg {
77
+ background-image:
78
+ repeating-linear-gradient(
79
+ 0deg,
80
+ transparent,
81
+ transparent 2px,
82
+ rgba(59, 130, 246, 0.03) 2px,
83
+ rgba(59, 130, 246, 0.03) 4px
84
+ ),
85
+ repeating-linear-gradient(
86
+ 90deg,
87
+ transparent,
88
+ transparent 2px,
89
+ rgba(59, 130, 246, 0.03) 2px,
90
+ rgba(59, 130, 246, 0.03) 4px
91
+ );
92
+ }
93
+
94
+ /* Floating animation for hero elements */
95
+ .float {
96
+ animation: float 6s ease-in-out infinite;
97
+ }
98
+
99
+ @keyframes float {
100
+ 0% {
101
+ transform: translateY(0px);
102
+ }
103
+ 50% {
104
+ transform: translateY(-20px);
105
+ }
106
+ 100% {
107
+ transform: translateY(0px);
108
+ }
109
+ }
110
+
111
+ /* Status indicator pulse */
112
+ .status-online {
113
+ position: relative;
114
+ }
115
+
116
+ .status-online::before {
117
+ content: '';
118
+ position: absolute;
119
+ top: 50%;
120
+ left: 50%;
121
+ width: 100%;
122
+ height: 100%;
123
+ background: #10b981;
124
+ border-radius: 50%;
125
+ transform: translate(-50%, -50%);
126
+ animation: ping 2s infinite;
127
+ z-index: -1;
128
+ }
129
+
130
+ @keyframes ping {
131
+ 75%, 100% {
132
+ transform: translate(-50%, -50%) scale(2);
133
+ opacity: 0;
134
+ }
135
+ }
136
+
137
+ /* Custom focus styles */
138
+ button:focus,
139
+ a:focus {
140
+ outline: 2px solid #3b82f6;
141
+ outline-offset: 2px;
142
+ }
143
+
144
+ /* Code text styling */
145
+ code {
146
+ font-family: 'Courier New', Courier, monospace;
147
+ background-color: #374151;
148
+ padding: 0.25rem 0.5rem;
149
+ border-radius: 0.25rem;
150
+ font-weight: bold;
151
+ }
152
+
153
+ /* Mobile optimizations */
154
+ @media (max-width: 768px) {
155
+ .hero-title {
156
+ font-size: 2.5rem;
157
+ }
158
+
159
+ .hero-subtitle {
160
+ font-size: 1.25rem;
161
+ }
162
+ }
163
+
164
+ /* Loading animation */
165
+ .loading-dots {
166
+ display: inline-block;
167
+ position: relative;
168
+ width: 80px;
169
+ height: 80px;
170
+ }
171
+
172
+ .loading-dots div {
173
+ position: absolute;
174
+ top: 33px;
175
+ width: 13px;
176
+ height: 13px;
177
+ border-radius: 50%;
178
+ background: #3b82f6;
179
+ animation-timing-function: cubic-bezier(0, 1, 1, 0);
180
+ }
181
+
182
+ .loading-dots div:nth-child(1) {
183
+ left: 8px;
184
+ animation: loading-dots1 0.6s infinite;
185
+ }
186
+
187
+ .loading-dots div:nth-child(2) {
188
+ left: 8px;
189
+ animation: loading-dots2 0.6s infinite;
190
+ }
191
+
192
+ .loading-dots div:nth-child(3) {
193
+ left: 32px;
194
+ animation: loading-dots2 0.6s infinite;
195
  }
196
 
197
+ .loading-dots div:nth-child(4) {
198
+ left: 56px;
199
+ animation: loading-dots3 0.6s infinite;
200
  }
201
 
202
+ @keyframes loading-dots1 {
203
+ 0% {
204
+ transform: scale(0);
205
+ }
206
+ 100% {
207
+ transform: scale(1);
208
+ }
209
  }
210
 
211
+ @keyframes loading-dots3 {
212
+ 0% {
213
+ transform: scale(1);
214
+ }
215
+ 100% {
216
+ transform: scale(0);
217
+ }
218
  }
219
 
220
+ @keyframes loading-dots2 {
221
+ 0% {
222
+ transform: translate(0, 0);
223
+ }
224
+ 100% {
225
+ transform: translate(24px, 0);
226
+ }
227
  }
228
+
229
+ /* Server IP button effect */
230
+ .server-ip-button {
231
+ position: relative;
232
+ overflow: hidden;
233
+ transition: all 0.3s ease;
234
+ }
235
+
236
+ .server-ip-button:hover {
237
+ transform: scale(1.05);
238
+ }
239
+
240
+ .server-ip-button::before {
241
+ content: '';
242
+ position: absolute;
243
+ top: 0;
244
+ left: -100%;
245
+ width: 100%;
246
+ height: 100%;
247
+ background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
248
+ transition: left 0.5s;
249
+ }
250
+
251
+ .server-ip-button:hover::before {
252
+ left: 100%;
253
+ }