Spaces:
Running
Running
undefined - Initial Deployment
Browse files- README.md +7 -5
- index.html +681 -19
README.md
CHANGED
@@ -1,10 +1,12 @@
|
|
1 |
---
|
2 |
-
title:
|
3 |
-
emoji:
|
4 |
-
colorFrom:
|
5 |
-
colorTo:
|
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: zippyverse-vdeepsite
|
3 |
+
emoji: 🐳
|
4 |
+
colorFrom: green
|
5 |
+
colorTo: green
|
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,681 @@
|
|
1 |
-
<!
|
2 |
-
<html>
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!DOCTYPE html>
|
2 |
+
<html lang="en">
|
3 |
+
<head>
|
4 |
+
<meta charset="UTF-8">
|
5 |
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6 |
+
<title>Nebula Trader - Space Trading Adventure</title>
|
7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
8 |
+
<script src="https://cdnjs.cloudflare.com/ajax/libs/three.js/r128/three.min.js"></script>
|
9 |
+
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/gsap.min.js"></script>
|
10 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
11 |
+
<style>
|
12 |
+
.galaxy-view {
|
13 |
+
position: absolute;
|
14 |
+
top: 0;
|
15 |
+
left: 0;
|
16 |
+
width: 100%;
|
17 |
+
height: 100%;
|
18 |
+
z-index: 0;
|
19 |
+
}
|
20 |
+
.ui-overlay {
|
21 |
+
position: relative;
|
22 |
+
z-index: 1;
|
23 |
+
pointer-events: none;
|
24 |
+
}
|
25 |
+
.ui-overlay * {
|
26 |
+
pointer-events: auto;
|
27 |
+
}
|
28 |
+
.planet-info-card {
|
29 |
+
backdrop-filter: blur(10px);
|
30 |
+
background-color: rgba(15, 23, 42, 0.7);
|
31 |
+
}
|
32 |
+
.commodity-card:hover {
|
33 |
+
transform: translateY(-5px);
|
34 |
+
box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
|
35 |
+
}
|
36 |
+
.ship-display {
|
37 |
+
perspective: 1000px;
|
38 |
+
}
|
39 |
+
.ship-model {
|
40 |
+
transform-style: preserve-3d;
|
41 |
+
animation: float 6s ease-in-out infinite;
|
42 |
+
}
|
43 |
+
@keyframes float {
|
44 |
+
0%, 100% { transform: translateY(0) rotateY(0); }
|
45 |
+
50% { transform: translateY(-10px) rotateY(5deg); }
|
46 |
+
}
|
47 |
+
.pulsate {
|
48 |
+
animation: pulse 2s infinite;
|
49 |
+
}
|
50 |
+
@keyframes pulse {
|
51 |
+
0% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7); }
|
52 |
+
70% { box-shadow: 0 0 0 10px rgba(59, 130, 246, 0); }
|
53 |
+
100% { box-shadow: 0 0 0 0 rgba(59, 130, 246, 0); }
|
54 |
+
}
|
55 |
+
</style>
|
56 |
+
</head>
|
57 |
+
<body class="bg-gray-900 text-gray-100 font-sans overflow-hidden h-screen flex flex-col">
|
58 |
+
<!-- 3D Galaxy View -->
|
59 |
+
<div id="galaxy-view" class="galaxy-view"></div>
|
60 |
+
|
61 |
+
<!-- Main Game UI -->
|
62 |
+
<div class="ui-overlay flex flex-col h-full">
|
63 |
+
<!-- Header -->
|
64 |
+
<header class="bg-gray-800/80 border-b border-gray-700 p-4 flex justify-between items-center">
|
65 |
+
<div class="flex items-center space-x-4">
|
66 |
+
<h1 class="text-2xl font-bold bg-gradient-to-r from-blue-400 to-purple-500 bg-clip-text text-transparent">
|
67 |
+
Nebula Trader
|
68 |
+
</h1>
|
69 |
+
<div class="text-sm bg-gray-700/50 px-3 py-1 rounded-full flex items-center">
|
70 |
+
<span class="w-2 h-2 bg-green-400 rounded-full mr-2"></span>
|
71 |
+
<span>Online</span>
|
72 |
+
</div>
|
73 |
+
</div>
|
74 |
+
|
75 |
+
<div class="flex items-center space-x-6">
|
76 |
+
<div class="text-right">
|
77 |
+
<div class="text-xs text-gray-400">Credits</div>
|
78 |
+
<div class="text-xl font-mono">1,250,500 <span class="text-blue-400">Ⓝ</span></div>
|
79 |
+
</div>
|
80 |
+
<div class="text-right">
|
81 |
+
<div class="text-xs text-gray-400">Ship</div>
|
82 |
+
<div class="text-lg">Mercury Starhauler</div>
|
83 |
+
</div>
|
84 |
+
<div class="relative group">
|
85 |
+
<img src="https://i.pravatar.cc/40" class="rounded-full w-10 h-10 border-2 border-blue-400 cursor-pointer" alt="Player">
|
86 |
+
<div class="absolute right-0 mt-2 w-48 bg-gray-800 rounded-md shadow-lg z-50 hidden group-hover:block">
|
87 |
+
<div class="py-1">
|
88 |
+
<a href="#" class="block px-4 py-2 text-sm hover:bg-gray-700">Profile</a>
|
89 |
+
<a href="#" class="block px-4 py-2 text-sm hover:bg-gray-700">Settings</a>
|
90 |
+
<a href="#" class="block px-4 py-2 text-sm hover:bg-gray-700">Logout</a>
|
91 |
+
</div>
|
92 |
+
</div>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
</header>
|
96 |
+
|
97 |
+
<!-- Main Content -->
|
98 |
+
<div class="flex flex-1 overflow-hidden">
|
99 |
+
<!-- Left Sidebar - Navigation -->
|
100 |
+
<nav class="w-16 bg-gray-800/80 border-r border-gray-700 flex flex-col items-center py-4 space-y-6">
|
101 |
+
<button class="nav-btn active" title="Galaxy Map">
|
102 |
+
<i class="fas fa-map text-xl"></i>
|
103 |
+
</button>
|
104 |
+
<button class="nav-btn" title="Trade">
|
105 |
+
<i class="fas fa-exchange-alt text-xl"></i>
|
106 |
+
</button>
|
107 |
+
<button class="nav-btn" title="Ship">
|
108 |
+
<i class="fas fa-rocket text-xl"></i>
|
109 |
+
</button>
|
110 |
+
<button class="nav-btn" title="Quests">
|
111 |
+
<i class="fas fa-scroll text-xl"></i>
|
112 |
+
</button>
|
113 |
+
<button class="nav-btn" title="Comms">
|
114 |
+
<i class="fas fa-comments text-xl"></i>
|
115 |
+
</button>
|
116 |
+
<div class="flex-1"></div>
|
117 |
+
<button class="nav-btn" title="Help">
|
118 |
+
<i class="fas fa-question-circle text-xl"></i>
|
119 |
+
</button>
|
120 |
+
</nav>
|
121 |
+
|
122 |
+
<!-- Center Content - Current Planet -->
|
123 |
+
<main class="flex-1 overflow-y-auto p-6">
|
124 |
+
<div class="max-w-6xl mx-auto">
|
125 |
+
<div class="flex justify-between items-center mb-8">
|
126 |
+
<div>
|
127 |
+
<h2 class="text-3xl font-bold">New Terra Prime</h2>
|
128 |
+
<div class="flex items-center mt-2 space-x-4 text-sm">
|
129 |
+
<span class="flex items-center"><i class="fas fa-globe-americas text-blue-400 mr-1"></i> Class M Planet</span>
|
130 |
+
<span class="flex items-center"><i class="fas fa-users text-green-400 mr-1"></i> Population: 4.2B</span>
|
131 |
+
<span class="flex items-center"><i class="fas fa-shield-alt text-yellow-400 mr-1"></i> Security: High</span>
|
132 |
+
</div>
|
133 |
+
</div>
|
134 |
+
<div class="flex space-x-3">
|
135 |
+
<button class="px-4 py-2 bg-blue-600 hover:bg-blue-700 rounded-md flex items-center">
|
136 |
+
<i class="fas fa-compass mr-2"></i> Explore
|
137 |
+
</button>
|
138 |
+
<button class="px-4 py-2 bg-gray-700 hover:bg-gray-600 rounded-md flex items-center">
|
139 |
+
<i class="fas fa-info-circle mr-2"></i> Info
|
140 |
+
</button>
|
141 |
+
</div>
|
142 |
+
</div>
|
143 |
+
|
144 |
+
<div class="grid grid-cols-1 lg:grid-cols-3 gap-6">
|
145 |
+
<!-- Planet Info Card -->
|
146 |
+
<div class="planet-info-card border border-gray-700 rounded-lg p-6 col-span-1">
|
147 |
+
<h3 class="text-xl font-semibold mb-4 flex items-center">
|
148 |
+
<i class="fas fa-info-circle text-blue-400 mr-2"></i> Planet Details
|
149 |
+
</h3>
|
150 |
+
<div class="space-y-3">
|
151 |
+
<div>
|
152 |
+
<div class="text-sm text-gray-400">Government</div>
|
153 |
+
<div>Corporate Democracy</div>
|
154 |
+
</div>
|
155 |
+
<div>
|
156 |
+
<div class="text-sm text-gray-400">Tech Level</div>
|
157 |
+
<div class="flex items-center">
|
158 |
+
<div class="w-full bg-gray-700 rounded-full h-2.5">
|
159 |
+
<div class="bg-blue-600 h-2.5 rounded-full" style="width: 85%"></div>
|
160 |
+
</div>
|
161 |
+
<span class="ml-2 text-sm">Advanced</span>
|
162 |
+
</div>
|
163 |
+
</div>
|
164 |
+
<div>
|
165 |
+
<div class="text-sm text-gray-400">Economy</div>
|
166 |
+
<div class="flex items-center">
|
167 |
+
<div class="w-full bg-gray-700 rounded-full h-2.5">
|
168 |
+
<div class="bg-green-600 h-2.5 rounded-full" style="width: 72%"></div>
|
169 |
+
</div>
|
170 |
+
<span class="ml-2 text-sm">Prosperous</span>
|
171 |
+
</div>
|
172 |
+
</div>
|
173 |
+
<div>
|
174 |
+
<div class="text-sm text-gray-400">Specialty</div>
|
175 |
+
<div class="flex items-center">
|
176 |
+
<i class="fas fa-microchip text-purple-400 mr-2"></i>
|
177 |
+
<span>Advanced Electronics</span>
|
178 |
+
</div>
|
179 |
+
</div>
|
180 |
+
</div>
|
181 |
+
</div>
|
182 |
+
|
183 |
+
<!-- Trade Market -->
|
184 |
+
<div class="planet-info-card border border-gray-700 rounded-lg p-6 col-span-2">
|
185 |
+
<h3 class="text-xl font-semibold mb-4 flex items-center">
|
186 |
+
<i class="fas fa-exchange-alt text-green-400 mr-2"></i> Trade Market
|
187 |
+
</h3>
|
188 |
+
|
189 |
+
<div class="mb-4 flex justify-between items-center">
|
190 |
+
<div class="relative w-64">
|
191 |
+
<input type="text" placeholder="Search commodities..." class="w-full bg-gray-700 border border-gray-600 rounded-md py-2 px-4 pl-10 focus:outline-none focus:ring-2 focus:ring-blue-500">
|
192 |
+
<i class="fas fa-search absolute left-3 top-3 text-gray-400"></i>
|
193 |
+
</div>
|
194 |
+
<div class="text-sm">
|
195 |
+
<span class="text-gray-400">Cargo:</span>
|
196 |
+
<span class="font-mono">125/500</span>
|
197 |
+
</div>
|
198 |
+
</div>
|
199 |
+
|
200 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4">
|
201 |
+
<!-- Commodity Card -->
|
202 |
+
<div class="commodity-card bg-gray-800/50 border border-gray-700 rounded-lg p-4 transition-all duration-200 cursor-pointer hover:border-blue-400">
|
203 |
+
<div class="flex justify-between items-start mb-2">
|
204 |
+
<h4 class="font-medium">Quantum Processors</h4>
|
205 |
+
<span class="text-xs bg-blue-900 text-blue-200 px-2 py-1 rounded">High Tech</span>
|
206 |
+
</div>
|
207 |
+
<div class="flex justify-between text-sm mb-3">
|
208 |
+
<div>
|
209 |
+
<div class="text-gray-400">Buy</div>
|
210 |
+
<div class="text-green-400">1,250 Ⓝ</div>
|
211 |
+
</div>
|
212 |
+
<div class="text-right">
|
213 |
+
<div class="text-gray-400">Sell</div>
|
214 |
+
<div class="text-red-400">950 Ⓝ</div>
|
215 |
+
</div>
|
216 |
+
</div>
|
217 |
+
<div class="flex justify-between items-center text-xs">
|
218 |
+
<span class="text-gray-400">Stock: 42</span>
|
219 |
+
<div class="flex space-x-2">
|
220 |
+
<button class="w-6 h-6 bg-blue-600 hover:bg-blue-700 rounded flex items-center justify-center">
|
221 |
+
<i class="fas fa-plus text-xs"></i>
|
222 |
+
</button>
|
223 |
+
<button class="w-6 h-6 bg-gray-700 hover:bg-gray-600 rounded flex items-center justify-center">
|
224 |
+
<i class="fas fa-minus text-xs"></i>
|
225 |
+
</button>
|
226 |
+
</div>
|
227 |
+
</div>
|
228 |
+
</div>
|
229 |
+
|
230 |
+
<!-- Commodity Card -->
|
231 |
+
<div class="commodity-card bg-gray-800/50 border border-gray-700 rounded-lg p-4 transition-all duration-200 cursor-pointer hover:border-blue-400">
|
232 |
+
<div class="flex justify-between items-start mb-2">
|
233 |
+
<h4 class="font-medium">Plasma Rifles</h4>
|
234 |
+
<span class="text-xs bg-red-900 text-red-200 px-2 py-1 rounded">Military</span>
|
235 |
+
</div>
|
236 |
+
<div class="flex justify-between text-sm mb-3">
|
237 |
+
<div>
|
238 |
+
<div class="text-gray-400">Buy</div>
|
239 |
+
<div class="text-green-400">3,450 Ⓝ</div>
|
240 |
+
</div>
|
241 |
+
<div class="text-right">
|
242 |
+
<div class="text-gray-400">Sell</div>
|
243 |
+
<div class="text-red-400">2,800 Ⓝ</div>
|
244 |
+
</div>
|
245 |
+
</div>
|
246 |
+
<div class="flex justify-between items-center text-xs">
|
247 |
+
<span class="text-gray-400">Stock: 18</span>
|
248 |
+
<div class="flex space-x-2">
|
249 |
+
<button class="w-6 h-6 bg-blue-600 hover:bg-blue-700 rounded flex items-center justify-center">
|
250 |
+
<i class="fas fa-plus text-xs"></i>
|
251 |
+
</button>
|
252 |
+
<button class="w-6 h-6 bg-gray-700 hover:bg-gray-600 rounded flex items-center justify-center">
|
253 |
+
<i class="fas fa-minus text-xs"></i>
|
254 |
+
</button>
|
255 |
+
</div>
|
256 |
+
</div>
|
257 |
+
</div>
|
258 |
+
|
259 |
+
<!-- Commodity Card -->
|
260 |
+
<div class="commodity-card bg-gray-800/50 border border-gray-700 rounded-lg p-4 transition-all duration-200 cursor-pointer hover:border-blue-400">
|
261 |
+
<div class="flex justify-between items-start mb-2">
|
262 |
+
<h4 class="font-medium">Bio-Nutrients</h4>
|
263 |
+
<span class="text-xs bg-green-900 text-green-200 px-2 py-1 rounded">Agricultural</span>
|
264 |
+
</div>
|
265 |
+
<div class="flex justify-between text-sm mb-3">
|
266 |
+
<div>
|
267 |
+
<div class="text-gray-400">Buy</div>
|
268 |
+
<div class="text-green-400">320 Ⓝ</div>
|
269 |
+
</div>
|
270 |
+
<div class="text-right">
|
271 |
+
<div class="text-gray-400">Sell</div>
|
272 |
+
<div class="text-red-400">250 Ⓝ</div>
|
273 |
+
</div>
|
274 |
+
</div>
|
275 |
+
<div class="flex justify-between items-center text-xs">
|
276 |
+
<span class="text-gray-400">Stock: 156</span>
|
277 |
+
<div class="flex space-x-2">
|
278 |
+
<button class="w-6 h-6 bg-blue-600 hover:bg-blue-700 rounded flex items-center justify-center">
|
279 |
+
<i class="fas fa-plus text-xs"></i>
|
280 |
+
</button>
|
281 |
+
<button class="w-6 h-6 bg-gray-700 hover:bg-gray-600 rounded flex items-center justify-center">
|
282 |
+
<i class="fas fa-minus text-xs"></i>
|
283 |
+
</button>
|
284 |
+
</div>
|
285 |
+
</div>
|
286 |
+
</div>
|
287 |
+
|
288 |
+
<!-- Commodity Card -->
|
289 |
+
<div class="commodity-card bg-gray-800/50 border border-gray-700 rounded-lg p-4 transition-all duration-200 cursor-pointer hover:border-blue-400">
|
290 |
+
<div class="flex justify-between items-start mb-2">
|
291 |
+
<h4 class="font-medium">Neutronium Ore</h4>
|
292 |
+
<span class="text-xs bg-yellow-900 text-yellow-200 px-2 py-1 rounded">Industrial</span>
|
293 |
+
</div>
|
294 |
+
<div class="flex justify-between text-sm mb-3">
|
295 |
+
<div>
|
296 |
+
<div class="text-gray-400">Buy</div>
|
297 |
+
<div class="text-green-400">780 Ⓝ</div>
|
298 |
+
</div>
|
299 |
+
<div class="text-right">
|
300 |
+
<div class="text-gray-400">Sell</div>
|
301 |
+
<div class="text-red-400">620 Ⓝ</div>
|
302 |
+
</div>
|
303 |
+
</div>
|
304 |
+
<div class="flex justify-between items-center text-xs">
|
305 |
+
<span class="text-gray-400">Stock: 87</span>
|
306 |
+
<div class="flex space-x-2">
|
307 |
+
<button class="w-6 h-6 bg-blue-600 hover:bg-blue-700 rounded flex items-center justify-center">
|
308 |
+
<i class="fas fa-plus text-xs"></i>
|
309 |
+
</button>
|
310 |
+
<button class="w-6 h-6 bg-gray-700 hover:bg-gray-600 rounded flex items-center justify-center">
|
311 |
+
<i class="fas fa-minus text-xs"></i>
|
312 |
+
</button>
|
313 |
+
</div>
|
314 |
+
</div>
|
315 |
+
</div>
|
316 |
+
|
317 |
+
<!-- Commodity Card -->
|
318 |
+
<div class="commodity-card bg-gray-800/50 border border-gray-700 rounded-lg p-4 transition-all duration-200 cursor-pointer hover:border-blue-400">
|
319 |
+
<div class="flex justify-between items-start mb-2">
|
320 |
+
<h4 class="font-medium">Luxury Goods</h4>
|
321 |
+
<span class="text-xs bg-purple-900 text-purple-200 px-2 py-1 rounded">Consumer</span>
|
322 |
+
</div>
|
323 |
+
<div class="flex justify-between text-sm mb-3">
|
324 |
+
<div>
|
325 |
+
<div class="text-gray-400">Buy</div>
|
326 |
+
<div class="text-green-400">1,850 Ⓝ</div>
|
327 |
+
</div>
|
328 |
+
<div class="text-right">
|
329 |
+
<div class="text-gray-400">Sell</div>
|
330 |
+
<div class="text-red-400">1,450 Ⓝ</div>
|
331 |
+
</div>
|
332 |
+
</div>
|
333 |
+
<div class="flex justify-between items-center text-xs">
|
334 |
+
<span class="text-gray-400">Stock: 23</span>
|
335 |
+
<div class="flex space-x-2">
|
336 |
+
<button class="w-6 h-6 bg-blue-600 hover:bg-blue-700 rounded flex items-center justify-center">
|
337 |
+
<i class="fas fa-plus text-xs"></i>
|
338 |
+
</button>
|
339 |
+
<button class="w-6 h-6 bg-gray-700 hover:bg-gray-600 rounded flex items-center justify-center">
|
340 |
+
<i class="fas fa-minus text-xs"></i>
|
341 |
+
</button>
|
342 |
+
</div>
|
343 |
+
</div>
|
344 |
+
</div>
|
345 |
+
|
346 |
+
<!-- Commodity Card -->
|
347 |
+
<div class="commodity-card bg-gray-800/50 border border-gray-700 rounded-lg p-4 transition-all duration-200 cursor-pointer hover:border-blue-400">
|
348 |
+
<div class="flex justify-between items-start mb-2">
|
349 |
+
<h4 class="font-medium">Medical Supplies</h4>
|
350 |
+
<span class="text-xs bg-pink-900 text-pink-200 px-2 py-1 rounded">Pharma</span>
|
351 |
+
</div>
|
352 |
+
<div class="flex justify-between text-sm mb-3">
|
353 |
+
<div>
|
354 |
+
<div class="text-gray-400">Buy</div>
|
355 |
+
<div class="text-green-400">2,300 Ⓝ</div>
|
356 |
+
</div>
|
357 |
+
<div class="text-right">
|
358 |
+
<div class="text-gray-400">Sell</div>
|
359 |
+
<div class="text-red-400">1,950 Ⓝ</div>
|
360 |
+
</div>
|
361 |
+
</div>
|
362 |
+
<div class="flex justify-between items-center text-xs">
|
363 |
+
<span class="text-gray-400">Stock: 15</span>
|
364 |
+
<div class="flex space-x-2">
|
365 |
+
<button class="w-6 h-6 bg-blue-600 hover:bg-blue-700 rounded flex items-center justify-center">
|
366 |
+
<i class="fas fa-plus text-xs"></i>
|
367 |
+
</button>
|
368 |
+
<button class="w-6 h-6 bg-gray-700 hover:bg-gray-600 rounded flex items-center justify-center">
|
369 |
+
<i class="fas fa-minus text-xs"></i>
|
370 |
+
</button>
|
371 |
+
</div>
|
372 |
+
</div>
|
373 |
+
</div>
|
374 |
+
</div>
|
375 |
+
|
376 |
+
<div class="mt-6 pt-4 border-t border-gray-700 flex justify-between items-center">
|
377 |
+
<div class="text-sm text-gray-400">
|
378 |
+
<span class="text-white">Total:</span> 0 items selected (0 Ⓝ)
|
379 |
+
</div>
|
380 |
+
<div class="flex space-x-3">
|
381 |
+
<button class="px-4 py-2 bg-gray-700 hover:bg-gray-600 rounded-md">
|
382 |
+
Clear
|
383 |
+
</button>
|
384 |
+
<button class="px-4 py-2 bg-blue-600 hover:bg-blue-700 rounded-md flex items-center">
|
385 |
+
<i class="fas fa-shopping-cart mr-2"></i> Buy Selected
|
386 |
+
</button>
|
387 |
+
</div>
|
388 |
+
</div>
|
389 |
+
</div>
|
390 |
+
</div>
|
391 |
+
</div>
|
392 |
+
</main>
|
393 |
+
|
394 |
+
<!-- Right Sidebar - Ship & Navigation -->
|
395 |
+
<aside class="w-80 bg-gray-800/80 border-l border-gray-700 p-4 overflow-y-auto hidden lg:block">
|
396 |
+
<div class="space-y-6">
|
397 |
+
<!-- Ship Display -->
|
398 |
+
<div class="ship-display bg-gray-900/50 rounded-lg p-4 border border-gray-700">
|
399 |
+
<h3 class="text-lg font-semibold mb-3 flex items-center">
|
400 |
+
<i class="fas fa-rocket text-blue-400 mr-2"></i> Mercury Starhauler
|
401 |
+
</h3>
|
402 |
+
<div class="ship-model w-full h-40 bg-gray-800 rounded mb-4 flex items-center justify-center">
|
403 |
+
<i class="fas fa-space-shuttle text-5xl text-blue-400 opacity-50"></i>
|
404 |
+
</div>
|
405 |
+
<div class="space-y-3">
|
406 |
+
<div>
|
407 |
+
<div class="flex justify-between text-sm mb-1">
|
408 |
+
<span class="text-gray-400">Hull Integrity</span>
|
409 |
+
<span>92%</span>
|
410 |
+
</div>
|
411 |
+
<div class="w-full bg-gray-700 rounded-full h-2">
|
412 |
+
<div class="bg-green-500 h-2 rounded-full" style="width: 92%"></div>
|
413 |
+
</div>
|
414 |
+
</div>
|
415 |
+
<div>
|
416 |
+
<div class="flex justify-between text-sm mb-1">
|
417 |
+
<span class="text-gray-400">Shields</span>
|
418 |
+
<span>100%</span>
|
419 |
+
</div>
|
420 |
+
<div class="w-full bg-gray-700 rounded-full h-2">
|
421 |
+
<div class="bg-blue-500 h-2 rounded-full" style="width: 100%"></div>
|
422 |
+
</div>
|
423 |
+
</div>
|
424 |
+
<div>
|
425 |
+
<div class="flex justify-between text-sm mb-1">
|
426 |
+
<span class="text-gray-400">Fuel</span>
|
427 |
+
<span>78%</span>
|
428 |
+
</div>
|
429 |
+
<div class="w-full bg-gray-700 rounded-full h-2">
|
430 |
+
<div class="bg-yellow-500 h-2 rounded-full" style="width: 78%"></div>
|
431 |
+
</div>
|
432 |
+
</div>
|
433 |
+
</div>
|
434 |
+
</div>
|
435 |
+
|
436 |
+
<!-- Navigation -->
|
437 |
+
<div class="bg-gray-900/50 rounded-lg p-4 border border-gray-700">
|
438 |
+
<h3 class="text-lg font-semibold mb-3 flex items-center">
|
439 |
+
<i class="fas fa-map-marked-alt text-green-400 mr-2"></i> Navigation
|
440 |
+
</h3>
|
441 |
+
|
442 |
+
<div class="mb-4">
|
443 |
+
<div class="flex justify-between items-center mb-2">
|
444 |
+
<span class="text-sm text-gray-400">Current Sector</span>
|
445 |
+
<span class="text-sm font-mono">X-12.5 / Y-7.3</span>
|
446 |
+
</div>
|
447 |
+
<div class="w-full bg-gray-800 rounded-md p-3 text-sm">
|
448 |
+
<div class="flex justify-between mb-1">
|
449 |
+
<span>New Terra Prime</span>
|
450 |
+
<span class="text-blue-400">0.0 AU</span>
|
451 |
+
</div>
|
452 |
+
<div class="flex justify-between mb-1">
|
453 |
+
<span>Orion Outpost</span>
|
454 |
+
<span class="text-gray-400">3.7 AU</span>
|
455 |
+
</div>
|
456 |
+
<div class="flex justify-between mb-1">
|
457 |
+
<span>Vega Colony</span>
|
458 |
+
<span class="text-gray-400">5.2 AU</span>
|
459 |
+
</div>
|
460 |
+
<div class="flex justify-between mb-1">
|
461 |
+
<span>Deneb Trade Hub</span>
|
462 |
+
<span class="text-gray-400">8.9 AU</span>
|
463 |
+
</div>
|
464 |
+
</div>
|
465 |
+
</div>
|
466 |
+
|
467 |
+
<div class="space-y-3">
|
468 |
+
<div class="flex items-center justify-between">
|
469 |
+
<span class="text-sm text-gray-400">Warp Capability</span>
|
470 |
+
<span class="text-sm">Class 3</span>
|
471 |
+
</div>
|
472 |
+
<div class="flex items-center justify-between">
|
473 |
+
<span class="text-sm text-gray-400">Fuel Cost</span>
|
474 |
+
<span class="text-sm">50 Ⓝ/AU</span>
|
475 |
+
</div>
|
476 |
+
<div class="flex items-center justify-between">
|
477 |
+
<span class="text-sm text-gray-400">Travel Time</span>
|
478 |
+
<span class="text-sm">~2.5 hrs/AU</span>
|
479 |
+
</div>
|
480 |
+
</div>
|
481 |
+
|
482 |
+
<div class="mt-4 pt-3 border-t border-gray-700">
|
483 |
+
<div class="relative">
|
484 |
+
<input type="text" placeholder="Enter destination..." class="w-full bg-gray-700 border border-gray-600 rounded-md py-2 px-4 pr-10 focus:outline-none focus:ring-2 focus:ring-blue-500">
|
485 |
+
<i class="fas fa-search absolute right-3 top-3 text-gray-400"></i>
|
486 |
+
</div>
|
487 |
+
<button class="w-full mt-3 py-2 bg-blue-600 hover:bg-blue-700 rounded-md flex items-center justify-center">
|
488 |
+
<i class="fas fa-paper-plane mr-2"></i> Plot Course
|
489 |
+
</button>
|
490 |
+
</div>
|
491 |
+
</div>
|
492 |
+
|
493 |
+
<!-- Notifications -->
|
494 |
+
<div class="bg-gray-900/50 rounded-lg p-4 border border-gray-700">
|
495 |
+
<h3 class="text-lg font-semibold mb-3 flex items-center">
|
496 |
+
<i class="fas fa-bell text-yellow-400 mr-2"></i> Alerts
|
497 |
+
</h3>
|
498 |
+
<div class="space-y-3">
|
499 |
+
<div class="p-3 bg-blue-900/30 border border-blue-800 rounded-md text-sm flex items-start">
|
500 |
+
<i class="fas fa-info-circle text-blue-400 mt-1 mr-2"></i>
|
501 |
+
<div>
|
502 |
+
<div class="font-medium">New trade route detected</div>
|
503 |
+
<div class="text-gray-400 text-xs">Vega Colony needs Medical Supplies (+15% profit)</div>
|
504 |
+
</div>
|
505 |
+
</div>
|
506 |
+
<div class="p-3 bg-yellow-900/30 border border-yellow-800 rounded-md text-sm flex items-start">
|
507 |
+
<i class="fas fa-exclamation-triangle text-yellow-400 mt-1 mr-2"></i>
|
508 |
+
<div>
|
509 |
+
<div class="font-medium">Pirates in sector</div>
|
510 |
+
<div class="text-gray-400 text-xs">Increased activity near Deneb Trade Hub</div>
|
511 |
+
</div>
|
512 |
+
</div>
|
513 |
+
<div class="p-3 bg-purple-900/30 border border-purple-800 rounded-md text-sm flex items-start">
|
514 |
+
<i class="fas fa-envelope text-purple-400 mt-1 mr-2"></i>
|
515 |
+
<div>
|
516 |
+
<div class="font-medium">Message from Guild</div>
|
517 |
+
<div class="text-gray-400 text-xs">New contract available at Orion Outpost</div>
|
518 |
+
</div>
|
519 |
+
</div>
|
520 |
+
</div>
|
521 |
+
</div>
|
522 |
+
</div>
|
523 |
+
</aside>
|
524 |
+
</div>
|
525 |
+
</div>
|
526 |
+
|
527 |
+
<script>
|
528 |
+
// Initialize Three.js scene
|
529 |
+
const scene = new THREE.Scene();
|
530 |
+
const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
|
531 |
+
const renderer = new THREE.WebGLRenderer({ alpha: true, antialias: true });
|
532 |
+
renderer.setSize(window.innerWidth, window.innerHeight);
|
533 |
+
document.getElementById('galaxy-view').appendChild(renderer.domElement);
|
534 |
+
|
535 |
+
// Create stars
|
536 |
+
const starsGeometry = new THREE.BufferGeometry();
|
537 |
+
const starsMaterial = new THREE.PointsMaterial({
|
538 |
+
color: 0xffffff,
|
539 |
+
size: 0.1,
|
540 |
+
transparent: true,
|
541 |
+
opacity: 0.8
|
542 |
+
});
|
543 |
+
|
544 |
+
const starsVertices = [];
|
545 |
+
for (let i = 0; i < 5000; i++) {
|
546 |
+
const x = (Math.random() - 0.5) * 2000;
|
547 |
+
const y = (Math.random() - 0.5) * 2000;
|
548 |
+
const z = (Math.random() - 0.5) * 2000;
|
549 |
+
starsVertices.push(x, y, z);
|
550 |
+
}
|
551 |
+
|
552 |
+
starsGeometry.setAttribute('position', new THREE.Float32BufferAttribute(starsVertices, 3));
|
553 |
+
const stars = new THREE.Points(starsGeometry, starsMaterial);
|
554 |
+
scene.add(stars);
|
555 |
+
|
556 |
+
// Create a nebula
|
557 |
+
const nebulaGeometry = new THREE.SphereGeometry(100, 32, 32);
|
558 |
+
const nebulaMaterial = new THREE.MeshBasicMaterial({
|
559 |
+
color: 0x440066,
|
560 |
+
transparent: true,
|
561 |
+
opacity: 0.2
|
562 |
+
});
|
563 |
+
const nebula = new THREE.Mesh(nebulaGeometry, nebulaMaterial);
|
564 |
+
nebula.position.set(50, 0, -200);
|
565 |
+
scene.add(nebula);
|
566 |
+
|
567 |
+
// Create planets
|
568 |
+
const planets = [];
|
569 |
+
const planetColors = [0x3498db, 0xe74c3c, 0x2ecc71, 0xf1c40f, 0x9b59b6];
|
570 |
+
|
571 |
+
for (let i = 0; i < 5; i++) {
|
572 |
+
const size = 5 + Math.random() * 10;
|
573 |
+
const geometry = new THREE.SphereGeometry(size, 32, 32);
|
574 |
+
const material = new THREE.MeshPhongMaterial({
|
575 |
+
color: planetColors[i % planetColors.length],
|
576 |
+
shininess: 30
|
577 |
+
});
|
578 |
+
const planet = new THREE.Mesh(geometry, material);
|
579 |
+
|
580 |
+
// Position planets in a ring
|
581 |
+
const angle = (i / 5) * Math.PI * 2;
|
582 |
+
const distance = 100 + Math.random() * 50;
|
583 |
+
planet.position.x = Math.cos(angle) * distance;
|
584 |
+
planet.position.z = Math.sin(angle) * distance - 150;
|
585 |
+
planet.position.y = (Math.random() - 0.5) * 50;
|
586 |
+
|
587 |
+
// Add glow effect
|
588 |
+
const glowGeometry = new THREE.SphereGeometry(size * 1.2, 32, 32);
|
589 |
+
const glowMaterial = new THREE.MeshBasicMaterial({
|
590 |
+
color: planetColors[i % planetColors.length],
|
591 |
+
transparent: true,
|
592 |
+
opacity: 0.3
|
593 |
+
});
|
594 |
+
const glow = new THREE.Mesh(glowGeometry, glowMaterial);
|
595 |
+
planet.add(glow);
|
596 |
+
|
597 |
+
scene.add(planet);
|
598 |
+
planets.push(planet);
|
599 |
+
}
|
600 |
+
|
601 |
+
// Add ambient light
|
602 |
+
const ambientLight = new THREE.AmbientLight(0x333333);
|
603 |
+
scene.add(ambientLight);
|
604 |
+
|
605 |
+
// Add directional light
|
606 |
+
const directionalLight = new THREE.DirectionalLight(0xffffff, 1);
|
607 |
+
directionalLight.position.set(1, 1, 1);
|
608 |
+
scene.add(directionalLight);
|
609 |
+
|
610 |
+
// Set camera position
|
611 |
+
camera.position.z = 50;
|
612 |
+
camera.position.y = 30;
|
613 |
+
|
614 |
+
// Animation loop
|
615 |
+
function animate() {
|
616 |
+
requestAnimationFrame(animate);
|
617 |
+
|
618 |
+
// Rotate planets
|
619 |
+
planets.forEach((planet, index) => {
|
620 |
+
planet.rotation.y += 0.005;
|
621 |
+
const angle = (index / planets.length) * Math.PI * 2 + Date.now() * 0.0001;
|
622 |
+
planet.position.x = Math.cos(angle) * (100 + Math.random() * 50);
|
623 |
+
planet.position.z = Math.sin(angle) * (100 + Math.random() * 50) - 150;
|
624 |
+
});
|
625 |
+
|
626 |
+
// Rotate nebula
|
627 |
+
nebula.rotation.x += 0.0005;
|
628 |
+
nebula.rotation.y += 0.0005;
|
629 |
+
|
630 |
+
renderer.render(scene, camera);
|
631 |
+
}
|
632 |
+
|
633 |
+
animate();
|
634 |
+
|
635 |
+
// Handle window resize
|
636 |
+
window.addEventListener('resize', () => {
|
637 |
+
camera.aspect = window.innerWidth / window.innerHeight;
|
638 |
+
camera.updateProjectionMatrix();
|
639 |
+
renderer.setSize(window.innerWidth, window.innerHeight);
|
640 |
+
});
|
641 |
+
|
642 |
+
// Game UI Interactions
|
643 |
+
document.querySelectorAll('.nav-btn').forEach(btn => {
|
644 |
+
btn.addEventListener('click', function() {
|
645 |
+
document.querySelectorAll('.nav-btn').forEach(b => b.classList.remove('active'));
|
646 |
+
this.classList.add('active');
|
647 |
+
});
|
648 |
+
});
|
649 |
+
|
650 |
+
document.querySelectorAll('.commodity-card').forEach(card => {
|
651 |
+
card.addEventListener('click', function() {
|
652 |
+
this.classList.toggle('border-blue-400');
|
653 |
+
this.classList.toggle('bg-gray-800');
|
654 |
+
});
|
655 |
+
});
|
656 |
+
|
657 |
+
// GSAP animations for UI elements
|
658 |
+
gsap.from('.commodity-card', {
|
659 |
+
duration: 0.5,
|
660 |
+
y: 20,
|
661 |
+
opacity: 0,
|
662 |
+
stagger: 0.1,
|
663 |
+
ease: "back.out"
|
664 |
+
});
|
665 |
+
|
666 |
+
gsap.from('nav button', {
|
667 |
+
duration: 0.5,
|
668 |
+
x: -20,
|
669 |
+
opacity: 0,
|
670 |
+
stagger: 0.1,
|
671 |
+
ease: "power2.out"
|
672 |
+
});
|
673 |
+
|
674 |
+
// Pulsing effect for important buttons
|
675 |
+
setInterval(() => {
|
676 |
+
const alertBtn = document.querySelector('button[title="Comms"]');
|
677 |
+
alertBtn.classList.toggle('pulsate');
|
678 |
+
}, 2000);
|
679 |
+
</script>
|
680 |
+
<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=GoZippy/zippyverse-vdeepsite" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
681 |
+
</html>
|