stefanesxfgfreg commited on
Commit
0ed535f
·
verified ·
1 Parent(s): 0cc4ec5

undefined - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +357 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Carriercommand
3
- emoji: 😻
4
- colorFrom: pink
5
- colorTo: purple
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: carriercommand
3
+ emoji: 🐳
4
+ colorFrom: yellow
5
+ colorTo: blue
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,357 @@
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="fr">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Carrier Command - Clone</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @keyframes radar-sweep {
11
+ from { transform: rotate(0deg); }
12
+ to { transform: rotate(360deg); }
13
+ }
14
+
15
+ .radar-sweep {
16
+ animation: radar-sweep 4s linear infinite;
17
+ transform-origin: center;
18
+ }
19
+
20
+ .map-grid {
21
+ background-image:
22
+ linear-gradient(rgba(0, 100, 255, 0.3) 1px, transparent 1px),
23
+ linear-gradient(90deg, rgba(0, 100, 255, 0.3) 1px, transparent 1px);
24
+ background-size: 40px 40px;
25
+ }
26
+
27
+ .vehicle-icon {
28
+ transition: all 0.3s ease;
29
+ }
30
+
31
+ .vehicle-icon:hover {
32
+ transform: scale(1.2);
33
+ filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.7));
34
+ }
35
+
36
+ .console-text {
37
+ font-family: 'Courier New', monospace;
38
+ text-shadow: 0 0 5px #0f0;
39
+ }
40
+
41
+ .blink {
42
+ animation: blink 1s step-end infinite;
43
+ }
44
+
45
+ @keyframes blink {
46
+ from, to { opacity: 1; }
47
+ 50% { opacity: 0; }
48
+ }
49
+ </style>
50
+ </head>
51
+ <body class="bg-gray-900 text-green-400 h-screen overflow-hidden">
52
+ <div class="container mx-auto h-full flex flex-col">
53
+ <!-- Header -->
54
+ <header class="bg-gray-800 p-2 border-b border-green-600 flex justify-between items-center">
55
+ <div class="flex items-center space-x-2">
56
+ <i class="fas fa-ship text-2xl text-blue-400"></i>
57
+ <h1 class="text-xl font-bold">CARRIER COMMAND</h1>
58
+ </div>
59
+ <div class="flex items-center space-x-4">
60
+ <div class="flex items-center space-x-1">
61
+ <i class="fas fa-battery-three-quarters text-yellow-400"></i>
62
+ <span>87%</span>
63
+ </div>
64
+ <div class="flex items-center space-x-1">
65
+ <i class="fas fa-shield-alt text-blue-400"></i>
66
+ <span>64%</span>
67
+ </div>
68
+ <div class="flex items-center space-x-1">
69
+ <i class="fas fa-clock text-green-400"></i>
70
+ <span id="game-time">12:34:56</span>
71
+ </div>
72
+ </div>
73
+ </header>
74
+
75
+ <!-- Main Content -->
76
+ <div class="flex flex-1 overflow-hidden">
77
+ <!-- Left Panel - Systems -->
78
+ <div class="w-64 bg-gray-800 border-r border-green-600 flex flex-col">
79
+ <!-- Navigation -->
80
+ <div class="p-2 border-b border-green-600">
81
+ <h2 class="text-lg font-bold mb-2 flex items-center">
82
+ <i class="fas fa-map-marked-alt mr-2"></i> Navigation
83
+ </h2>
84
+ <div class="h-40 bg-black rounded relative overflow-hidden">
85
+ <div class="radar-sweep absolute top-1/2 left-1/2 w-full h-full">
86
+ <div class="w-0 h-0 border-l-[5px] border-r-[5px] border-b-[80px] border-l-transparent border-r-transparent border-b-green-500 absolute top-0 left-1/2 -translate-x-1/2"></div>
87
+ </div>
88
+ <div class="absolute inset-0 rounded-full border border-green-500 opacity-30" style="width: 80%; height: 80%; top: 10%; left: 10%;"></div>
89
+ <div class="absolute top-1/2 left-1/2 w-2 h-2 bg-red-500 rounded-full -translate-x-1/2 -translate-y-1/2"></div>
90
+ <div class="absolute top-1/4 left-1/4 w-2 h-2 bg-blue-400 rounded-full"></div>
91
+ <div class="absolute top-3/4 left-3/4 w-2 h-2 bg-blue-400 rounded-full"></div>
92
+ </div>
93
+ </div>
94
+
95
+ <!-- Weapons -->
96
+ <div class="p-2 border-b border-green-600">
97
+ <h2 class="text-lg font-bold mb-2 flex items-center">
98
+ <i class="fas fa-fighter-jet mr-2"></i> Vehicle Control
99
+ </h2>
100
+ <div class="grid grid-cols-2 gap-2">
101
+ <button class="bg-blue-900 hover:bg-blue-700 text-white py-1 px-2 rounded flex items-center justify-center">
102
+ <i class="fas fa-paper-plane mr-1"></i> Launch
103
+ </button>
104
+ <button class="bg-blue-900 hover:bg-blue-700 text-white py-1 px-2 rounded flex items-center justify-center">
105
+ <i class="fas fa-undo mr-1"></i> Recall
106
+ </button>
107
+ </div>
108
+ <div class="mt-2">
109
+ <div class="flex justify-between text-sm mb-1">
110
+ <span>Manta 1</span>
111
+ <span class="text-green-400">Active</span>
112
+ </div>
113
+ <div class="h-2 bg-gray-700 rounded-full">
114
+ <div class="h-full bg-green-500 rounded-full" style="width: 75%"></div>
115
+ </div>
116
+
117
+ <div class="flex justify-between text-sm mb-1 mt-2">
118
+ <span>Manta 2</span>
119
+ <span class="text-yellow-400">Charging</span>
120
+ </div>
121
+ <div class="h-2 bg-gray-700 rounded-full">
122
+ <div class="h-full bg-yellow-500 rounded-full" style="width: 35%"></div>
123
+ </div>
124
+ </div>
125
+ </div>
126
+
127
+ <!-- Systems Status -->
128
+ <div class="p-2 flex-1">
129
+ <h2 class="text-lg font-bold mb-2 flex items-center">
130
+ <i class="fas fa-cogs mr-2"></i> Systems
131
+ </h2>
132
+ <div class="space-y-2">
133
+ <div>
134
+ <div class="flex justify-between text-sm">
135
+ <span>Engines</span>
136
+ <span>82%</span>
137
+ </div>
138
+ <div class="h-1 bg-gray-700 rounded-full">
139
+ <div class="h-full bg-blue-500 rounded-full" style="width: 82%"></div>
140
+ </div>
141
+ </div>
142
+ <div>
143
+ <div class="flex justify-between text-sm">
144
+ <span>Sensors</span>
145
+ <span>95%</span>
146
+ </div>
147
+ <div class="h-1 bg-gray-700 rounded-full">
148
+ <div class="h-full bg-green-500 rounded-full" style="width: 95%"></div>
149
+ </div>
150
+ </div>
151
+ <div>
152
+ <div class="flex justify-between text-sm">
153
+ <span>Weapons</span>
154
+ <span>67%</span>
155
+ </div>
156
+ <div class="h-1 bg-gray-700 rounded-full">
157
+ <div class="h-full bg-red-500 rounded-full" style="width: 67%"></div>
158
+ </div>
159
+ </div>
160
+ <div>
161
+ <div class="flex justify-between text-sm">
162
+ <span>Shields</span>
163
+ <span>64%</span>
164
+ </div>
165
+ <div class="h-1 bg-gray-700 rounded-full">
166
+ <div class="h-full bg-purple-500 rounded-full" style="width: 64%"></div>
167
+ </div>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
172
+
173
+ <!-- Center Panel - Main View -->
174
+ <div class="flex-1 flex flex-col">
175
+ <!-- Map View -->
176
+ <div class="flex-1 relative map-grid overflow-hidden">
177
+ <!-- Islands -->
178
+ <div class="absolute top-1/4 left-1/4 w-16 h-16 bg-gray-700 rounded-full border-2 border-green-500 flex items-center justify-center text-xs font-bold">
179
+ ISLAND 1
180
+ </div>
181
+ <div class="absolute top-3/4 left-3/4 w-16 h-16 bg-gray-700 rounded-full border-2 border-red-500 flex items-center justify-center text-xs font-bold">
182
+ ISLAND 2
183
+ </div>
184
+
185
+ <!-- Carrier -->
186
+ <div class="absolute top-1/2 left-1/2 w-12 h-12 bg-blue-900 rounded transform -translate-x-1/2 -translate-y-1/2 border-2 border-blue-400 flex items-center justify-center">
187
+ <i class="fas fa-ship text-blue-300"></i>
188
+ </div>
189
+
190
+ <!-- Vehicles -->
191
+ <div class="absolute top-1/3 left-1/3 w-8 h-8 bg-blue-700 rounded-full border border-blue-300 flex items-center justify-center vehicle-icon">
192
+ <i class="fas fa-paper-plane text-blue-200"></i>
193
+ </div>
194
+ <div class="absolute top-2/3 left-2/3 w-8 h-8 bg-blue-700 rounded-full border border-blue-300 flex items-center justify-center vehicle-icon">
195
+ <i class="fas fa-helicopter text-blue-200"></i>
196
+ </div>
197
+
198
+ <!-- Enemy -->
199
+ <div class="absolute top-1/4 left-3/4 w-8 h-8 bg-red-700 rounded-full border border-red-300 flex items-center justify-center vehicle-icon">
200
+ <i class="fas fa-fighter-jet text-red-200"></i>
201
+ </div>
202
+ </div>
203
+
204
+ <!-- Console -->
205
+ <div class="h-32 bg-black border-t border-green-600 p-2 overflow-y-auto console-text text-sm">
206
+ <div>> SYSTEM INITIALIZED</div>
207
+ <div>> NAVIGATION SYSTEMS ONLINE</div>
208
+ <div>> SCANNING FOR THREATS...</div>
209
+ <div>> 1 ENEMY CONTACT DETECTED</div>
210
+ <div>> MANTA 1 DEPLOYED TO GRID 34-21</div>
211
+ <div>> MANTA 2 READY IN 2:34</div>
212
+ <div class="flex items-center">> <span class="blink">_</span></div>
213
+ </div>
214
+ </div>
215
+
216
+ <!-- Right Panel - Command -->
217
+ <div class="w-64 bg-gray-800 border-l border-green-600 flex flex-col">
218
+ <!-- Command Interface -->
219
+ <div class="p-2 border-b border-green-600">
220
+ <h2 class="text-lg font-bold mb-2 flex items-center">
221
+ <i class="fas fa-terminal mr-2"></i> Command
222
+ </h2>
223
+ <div class="space-y-2">
224
+ <button class="w-full bg-green-800 hover:bg-green-700 text-white py-2 px-2 rounded flex items-center justify-center">
225
+ <i class="fas fa-play mr-2"></i> Auto-Pilot
226
+ </button>
227
+ <button class="w-full bg-yellow-800 hover:bg-yellow-700 text-white py-2 px-2 rounded flex items-center justify-center">
228
+ <i class="fas fa-bullseye mr-2"></i> Attack Mode
229
+ </button>
230
+ <button class="w-full bg-red-800 hover:bg-red-700 text-white py-2 px-2 rounded flex items-center justify-center">
231
+ <i class="fas fa-shield-alt mr-2"></i> Defensive Mode
232
+ </button>
233
+ </div>
234
+ </div>
235
+
236
+ <!-- Orders -->
237
+ <div class="p-2 border-b border-green-600">
238
+ <h2 class="text-lg font-bold mb-2 flex items-center">
239
+ <i class="fas fa-tasks mr-2"></i> Orders
240
+ </h2>
241
+ <div class="space-y-1">
242
+ <div class="flex items-center p-1 bg-gray-700 rounded">
243
+ <div class="w-3 h-3 bg-green-500 rounded-full mr-2"></div>
244
+ <span class="text-sm">Secure Island 1</span>
245
+ </div>
246
+ <div class="flex items-center p-1 bg-gray-700 rounded">
247
+ <div class="w-3 h-3 bg-yellow-500 rounded-full mr-2"></div>
248
+ <span class="text-sm">Survey Sector 4</span>
249
+ </div>
250
+ <div class="flex items-center p-1 bg-gray-700 rounded">
251
+ <div class="w-3 h-3 bg-red-500 rounded-full mr-2"></div>
252
+ <span class="text-sm">Eliminate Enemy</span>
253
+ </div>
254
+ </div>
255
+ </div>
256
+
257
+ <!-- Quick Commands -->
258
+ <div class="p-2 flex-1">
259
+ <h2 class="text-lg font-bold mb-2 flex items-center">
260
+ <i class="fas fa-keyboard mr-2"></i> Quick Commands
261
+ </h2>
262
+ <div class="grid grid-cols-3 gap-1">
263
+ <button class="bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">F1</button>
264
+ <button class="bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">F2</button>
265
+ <button class="bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">F3</button>
266
+ <button class="bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">F4</button>
267
+ <button class="bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">F5</button>
268
+ <button class="bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">F6</button>
269
+ <button class="bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">F7</button>
270
+ <button class="bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">F8</button>
271
+ <button class="bg-gray-700 hover:bg-gray-600 p-1 rounded text-xs">F9</button>
272
+ </div>
273
+ <div class="mt-2">
274
+ <div class="flex space-x-1">
275
+ <button class="flex-1 bg-blue-900 hover:bg-blue-700 p-1 rounded text-xs">1</button>
276
+ <button class="flex-1 bg-blue-900 hover:bg-blue-700 p-1 rounded text-xs">2</button>
277
+ <button class="flex-1 bg-blue-900 hover:bg-blue-700 p-1 rounded text-xs">3</button>
278
+ </div>
279
+ <div class="flex space-x-1 mt-1">
280
+ <button class="flex-1 bg-blue-900 hover:bg-blue-700 p-1 rounded text-xs">4</button>
281
+ <button class="flex-1 bg-blue-900 hover:bg-blue-700 p-1 rounded text-xs">5</button>
282
+ <button class="flex-1 bg-blue-900 hover:bg-blue-700 p-1 rounded text-xs">6</button>
283
+ </div>
284
+ <div class="flex space-x-1 mt-1">
285
+ <button class="flex-1 bg-blue-900 hover:bg-blue-700 p-1 rounded text-xs">7</button>
286
+ <button class="flex-1 bg-blue-900 hover:bg-blue-700 p-1 rounded text-xs">8</button>
287
+ <button class="flex-1 bg-blue-900 hover:bg-blue-700 p-1 rounded text-xs">9</button>
288
+ </div>
289
+ <div class="flex space-x-1 mt-1">
290
+ <button class="flex-1 bg-blue-900 hover:bg-blue-700 p-1 rounded text-xs">*</button>
291
+ <button class="flex-1 bg-blue-900 hover:bg-blue-700 p-1 rounded text-xs">0</button>
292
+ <button class="flex-1 bg-blue-900 hover:bg-blue-700 p-1 rounded text-xs">#</button>
293
+ </div>
294
+ </div>
295
+ </div>
296
+ </div>
297
+ </div>
298
+ </div>
299
+
300
+ <script>
301
+ // Update game time
302
+ function updateGameTime() {
303
+ const now = new Date();
304
+ const hours = String(now.getHours()).padStart(2, '0');
305
+ const minutes = String(now.getMinutes()).padStart(2, '0');
306
+ const seconds = String(now.getSeconds()).padStart(2, '0');
307
+ document.getElementById('game-time').textContent = `${hours}:${minutes}:${seconds}`;
308
+ }
309
+
310
+ setInterval(updateGameTime, 1000);
311
+ updateGameTime();
312
+
313
+ // Console animation
314
+ const consoleElement = document.querySelector('.console-text');
315
+ const messages = [
316
+ "> MANTA 1 REPORTING CLEAR SKIES",
317
+ "> SCANNING ISLAND 1...",
318
+ "> RESOURCES DETECTED: 75%",
319
+ "> NO HOSTILE ACTIVITY",
320
+ "> MANTA 2 CHARGING COMPLETE IN 1:22",
321
+ "> SUGGEST DEPLOYMENT TO GRID 42-15"
322
+ ];
323
+
324
+ let messageIndex = 0;
325
+
326
+ function addConsoleMessage() {
327
+ if (messageIndex < messages.length) {
328
+ const messageElement = document.createElement('div');
329
+ messageElement.textContent = messages[messageIndex];
330
+ consoleElement.insertBefore(messageElement, consoleElement.lastElementChild);
331
+ consoleElement.scrollTop = consoleElement.scrollHeight;
332
+ messageIndex++;
333
+ }
334
+ }
335
+
336
+ setInterval(addConsoleMessage, 3000);
337
+
338
+ // Vehicle movement
339
+ const vehicles = document.querySelectorAll('.vehicle-icon');
340
+
341
+ function moveVehicles() {
342
+ vehicles.forEach(vehicle => {
343
+ const currentTop = parseFloat(vehicle.style.top || '0');
344
+ const currentLeft = parseFloat(vehicle.style.left || '0');
345
+
346
+ const newTop = currentTop + (Math.random() * 0.2 - 0.1);
347
+ const newLeft = currentLeft + (Math.random() * 0.2 - 0.1);
348
+
349
+ vehicle.style.top = `${Math.max(5, Math.min(95, newTop))}%`;
350
+ vehicle.style.left = `${Math.max(5, Math.min(95, newLeft))}%`;
351
+ });
352
+ }
353
+
354
+ setInterval(moveVehicles, 100);
355
+ </script>
356
+ <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=stefanesxfgfreg/carriercommand" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
357
+ </html>