GMA2 commited on
Commit
e7a7e9d
·
verified ·
1 Parent(s): acc7c6d

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +344 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Test123
3
- emoji: 💻
4
- colorFrom: gray
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: test123
3
+ emoji: 🐳
4
+ colorFrom: purple
5
+ colorTo: yellow
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,344 @@
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="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Futuristic 3D Navigation</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/gsap@3.11.4/dist/gsap.min.js"></script>
10
+ <style>
11
+ @import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&display=swap');
12
+
13
+ body {
14
+ font-family: 'Orbitron', sans-serif;
15
+ background-color: #000;
16
+ color: #fff;
17
+ overflow-x: hidden;
18
+ perspective: 1000px;
19
+ }
20
+
21
+ .nav-item {
22
+ position: relative;
23
+ transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
24
+ transform-style: preserve-3d;
25
+ }
26
+
27
+ .nav-item::before, .nav-item::after {
28
+ content: '';
29
+ position: absolute;
30
+ width: 100%;
31
+ height: 100%;
32
+ top: 0;
33
+ left: 0;
34
+ background: rgba(20, 20, 20, 0.8);
35
+ border: 1px solid rgba(255, 255, 255, 0.05);
36
+ border-radius: 0.5rem;
37
+ transform: translateZ(-10px);
38
+ transition: all 0.3s ease;
39
+ }
40
+
41
+ .nav-item::after {
42
+ transform: translateZ(-20px);
43
+ background: rgba(10, 10, 10, 0.6);
44
+ }
45
+
46
+ .nav-item:hover {
47
+ transform: translateY(-5px) rotateX(10deg);
48
+ }
49
+
50
+ .nav-item:hover::before {
51
+ transform: translateZ(-5px);
52
+ border-color: rgba(0, 255, 255, 0.3);
53
+ }
54
+
55
+ .nav-item:hover::after {
56
+ transform: translateZ(-15px);
57
+ border-color: rgba(0, 255, 255, 0.1);
58
+ }
59
+
60
+ .nav-item.active {
61
+ background: linear-gradient(135deg, rgba(0, 255, 255, 0.1), rgba(0, 150, 255, 0.1));
62
+ border-color: rgba(0, 255, 255, 0.5);
63
+ }
64
+
65
+ .nav-item.active::before {
66
+ border-color: rgba(0, 255, 255, 0.5);
67
+ box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
68
+ }
69
+
70
+ .nav-item.active::after {
71
+ border-color: rgba(0, 255, 255, 0.2);
72
+ }
73
+
74
+ .glow {
75
+ position: absolute;
76
+ width: 100%;
77
+ height: 100%;
78
+ top: 0;
79
+ left: 0;
80
+ background: radial-gradient(circle at center, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
81
+ opacity: 0;
82
+ transition: opacity 0.3s ease;
83
+ pointer-events: none;
84
+ }
85
+
86
+ .nav-item:hover .glow {
87
+ opacity: 1;
88
+ }
89
+
90
+ .particles {
91
+ position: absolute;
92
+ width: 100%;
93
+ height: 100%;
94
+ top: 0;
95
+ left: 0;
96
+ pointer-events: none;
97
+ z-index: -1;
98
+ }
99
+
100
+ .nav-icon {
101
+ filter: drop-shadow(0 0 5px rgba(0, 255, 255, 0.5));
102
+ transition: all 0.3s ease;
103
+ }
104
+
105
+ .nav-item:hover .nav-icon {
106
+ transform: scale(1.1);
107
+ filter: drop-shadow(0 0 8px rgba(0, 255, 255, 0.8));
108
+ }
109
+
110
+ @keyframes float {
111
+ 0%, 100% { transform: translateY(0) rotateX(0deg); }
112
+ 50% { transform: translateY(-10px) rotateX(5deg); }
113
+ }
114
+
115
+ .floating {
116
+ animation: float 6s ease-in-out infinite;
117
+ }
118
+ </style>
119
+ </head>
120
+ <body class="min-h-screen flex items-center justify-center p-4">
121
+ <div class="particles" id="particles"></div>
122
+
123
+ <div class="max-w-6xl w-full">
124
+ <div class="grid grid-cols-2 md:grid-cols-4 gap-4 md:gap-6">
125
+ <!-- Navigation Items -->
126
+ <div class="nav-item floating relative p-6 rounded-lg bg-black border border-gray-800 cursor-pointer transition-all duration-300 hover:shadow-2xl hover:shadow-cyan-500/10" data-section="dashboard">
127
+ <div class="glow"></div>
128
+ <div class="flex flex-col items-center">
129
+ <svg class="nav-icon w-12 h-12 mb-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
130
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M4 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2V6zM14 6a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2V6zM4 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2H6a2 2 0 01-2-2v-2zM14 16a2 2 0 012-2h2a2 2 0 012 2v2a2 2 0 01-2 2h-2a2 2 0 01-2-2v-2z" />
131
+ </svg>
132
+ <span class="text-sm md:text-base font-medium text-gray-300">Dashboard</span>
133
+ <span class="text-xs text-cyan-400 opacity-0 transition-opacity duration-300">Enter</span>
134
+ </div>
135
+ </div>
136
+
137
+ <div class="nav-item floating relative p-6 rounded-lg bg-black border border-gray-800 cursor-pointer transition-all duration-300 hover:shadow-2xl hover:shadow-purple-500/10" data-section="analytics">
138
+ <div class="glow"></div>
139
+ <div class="flex flex-col items-center">
140
+ <svg class="nav-icon w-12 h-12 mb-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
141
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 19v-6a2 2 0 00-2-2H5a2 2 0 00-2 2v6a2 2 0 002 2h2a2 2 0 002-2zm0 0V9a2 2 0 012-2h2a2 2 0 012 2v10m-6 0a2 2 0 002 2h2a2 2 0 002-2m0 0V5a2 2 0 012-2h2a2 2 0 012 2v14a2 2 0 01-2 2h-2a2 2 0 01-2-2z" />
142
+ </svg>
143
+ <span class="text-sm md:text-base font-medium text-gray-300">Analytics</span>
144
+ <span class="text-xs text-purple-400 opacity-0 transition-opacity duration-300">Enter</span>
145
+ </div>
146
+ </div>
147
+
148
+ <div class="nav-item floating relative p-6 rounded-lg bg-black border border-gray-800 cursor-pointer transition-all duration-300 hover:shadow-2xl hover:shadow-pink-500/10" data-section="projects">
149
+ <div class="glow"></div>
150
+ <div class="flex flex-col items-center">
151
+ <svg class="nav-icon w-12 h-12 mb-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
152
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M19 11H5m14 0a2 2 0 012 2v6a2 2 0 01-2 2H5a2 2 0 01-2-2v-6a2 2 0 012-2m14 0V9a2 2 0 00-2-2M5 11V9a2 2 0 012-2m0 0V5a2 2 0 012-2h6a2 2 0 012 2v2M7 7h10" />
153
+ </svg>
154
+ <span class="text-sm md:text-base font-medium text-gray-300">Projects</span>
155
+ <span class="text-xs text-pink-400 opacity-0 transition-opacity duration-300">Enter</span>
156
+ </div>
157
+ </div>
158
+
159
+ <div class="nav-item floating relative p-6 rounded-lg bg-black border border-gray-800 cursor-pointer transition-all duration-300 hover:shadow-2xl hover:shadow-blue-500/10" data-section="messages">
160
+ <div class="glow"></div>
161
+ <div class="flex flex-col items-center">
162
+ <svg class="nav-icon w-12 h-12 mb-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
163
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M8 10h.01M12 10h.01M16 10h.01M9 16H5a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v8a2 2 0 01-2 2h-5l-5 5v-5z" />
164
+ </svg>
165
+ <span class="text-sm md:text-base font-medium text-gray-300">Messages</span>
166
+ <span class="text-xs text-blue-400 opacity-0 transition-opacity duration-300">Enter</span>
167
+ </div>
168
+ </div>
169
+
170
+ <div class="nav-item floating relative p-6 rounded-lg bg-black border border-gray-800 cursor-pointer transition-all duration-300 hover:shadow-2xl hover:shadow-green-500/10" data-section="files">
171
+ <div class="glow"></div>
172
+ <div class="flex flex-col items-center">
173
+ <svg class="nav-icon w-12 h-12 mb-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
174
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 13h6m-3-3v6m-9 1V7a2 2 0 012-2h6l2 2h6a2 2 0 012 2v8a2 2 0 01-2 2H5a2 2 0 01-2-2z" />
175
+ </svg>
176
+ <span class="text-sm md:text-base font-medium text-gray-300">Files</span>
177
+ <span class="text-xs text-green-400 opacity-0 transition-opacity duration-300">Enter</span>
178
+ </div>
179
+ </div>
180
+
181
+ <div class="nav-item floating relative p-6 rounded-lg bg-black border border-gray-800 cursor-pointer transition-all duration-300 hover:shadow-2xl hover:shadow-yellow-500/10" data-section="calendar">
182
+ <div class="glow"></div>
183
+ <div class="flex flex-col items-center">
184
+ <svg class="nav-icon w-12 h-12 mb-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
185
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" />
186
+ </svg>
187
+ <span class="text-sm md:text-base font-medium text-gray-300">Calendar</span>
188
+ <span class="text-xs text-yellow-400 opacity-0 transition-opacity duration-300">Enter</span>
189
+ </div>
190
+ </div>
191
+
192
+ <div class="nav-item floating relative p-6 rounded-lg bg-black border border-gray-800 cursor-pointer transition-all duration-300 hover:shadow-2xl hover:shadow-red-500/10" data-section="settings">
193
+ <div class="glow"></div>
194
+ <div class="flex flex-col items-center">
195
+ <svg class="nav-icon w-12 h-12 mb-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
196
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z" />
197
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z" />
198
+ </svg>
199
+ <span class="text-sm md:text-base font-medium text-gray-300">Settings</span>
200
+ <span class="text-xs text-red-400 opacity-0 transition-opacity duration-300">Enter</span>
201
+ </div>
202
+ </div>
203
+
204
+ <div class="nav-item floating relative p-6 rounded-lg bg-black border border-gray-800 cursor-pointer transition-all duration-300 hover:shadow-2xl hover:shadow-indigo-500/10" data-section="profile">
205
+ <div class="glow"></div>
206
+ <div class="flex flex-col items-center">
207
+ <svg class="nav-icon w-12 h-12 mb-3" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke="currentColor">
208
+ <path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z" />
209
+ </svg>
210
+ <span class="text-sm md:text-base font-medium text-gray-300">Profile</span>
211
+ <span class="text-xs text-indigo-400 opacity-0 transition-opacity duration-300">Enter</span>
212
+ </div>
213
+ </div>
214
+ </div>
215
+
216
+ <div class="mt-12 text-center">
217
+ <div class="inline-block px-6 py-3 rounded-full bg-black border border-gray-800 hover:bg-gray-900 transition-all duration-300 cursor-pointer">
218
+ <span class="text-sm font-medium text-gray-400">SYSTEM STATUS: <span class="text-green-400">ONLINE</span></span>
219
+ </div>
220
+ </div>
221
+ </div>
222
+
223
+ <script>
224
+ // Initialize Three.js particles
225
+ document.addEventListener('DOMContentLoaded', function() {
226
+ // Set up Three.js scene for particles
227
+ const scene = new THREE.Scene();
228
+ const camera = new THREE.PerspectiveCamera(75, window.innerWidth / window.innerHeight, 0.1, 1000);
229
+ const renderer = new THREE.WebGLRenderer({ alpha: true });
230
+ renderer.setSize(window.innerWidth, window.innerHeight);
231
+ document.getElementById('particles').appendChild(renderer.domElement);
232
+
233
+ // Create particles
234
+ const particlesGeometry = new THREE.BufferGeometry();
235
+ const particlesCount = 500;
236
+
237
+ const posArray = new Float32Array(particlesCount * 3);
238
+
239
+ for(let i = 0; i < particlesCount * 3; i++) {
240
+ posArray[i] = (Math.random() - 0.5) * 10;
241
+ }
242
+
243
+ particlesGeometry.setAttribute('position', new THREE.BufferAttribute(posArray, 3));
244
+
245
+ const particlesMaterial = new THREE.PointsMaterial({
246
+ size: 0.02,
247
+ color: 0x00ffff,
248
+ transparent: true,
249
+ opacity: 0.8,
250
+ blending: THREE.AdditiveBlending
251
+ });
252
+
253
+ const particlesMesh = new THREE.Points(particlesGeometry, particlesMaterial);
254
+ scene.add(particlesMesh);
255
+
256
+ camera.position.z = 3;
257
+
258
+ // Animation loop
259
+ function animate() {
260
+ requestAnimationFrame(animate);
261
+
262
+ particlesMesh.rotation.x += 0.0005;
263
+ particlesMesh.rotation.y += 0.0005;
264
+
265
+ renderer.render(scene, camera);
266
+ }
267
+
268
+ animate();
269
+
270
+ // Handle window resize
271
+ window.addEventListener('resize', function() {
272
+ camera.aspect = window.innerWidth / window.innerHeight;
273
+ camera.updateProjectionMatrix();
274
+ renderer.setSize(window.innerWidth, window.innerHeight);
275
+ });
276
+
277
+ // Navigation interaction
278
+ const navItems = document.querySelectorAll('.nav-item');
279
+
280
+ navItems.forEach(item => {
281
+ item.addEventListener('mouseenter', function() {
282
+ const enterText = this.querySelector('span:last-child');
283
+ gsap.to(enterText, { opacity: 1, duration: 0.3 });
284
+
285
+ // Add subtle tilt effect
286
+ gsap.to(this, {
287
+ rotateX: 10,
288
+ rotateY: 5,
289
+ duration: 0.5,
290
+ ease: "power2.out"
291
+ });
292
+ });
293
+
294
+ item.addEventListener('mouseleave', function() {
295
+ const enterText = this.querySelector('span:last-child');
296
+ gsap.to(enterText, { opacity: 0, duration: 0.3 });
297
+
298
+ // Reset tilt
299
+ gsap.to(this, {
300
+ rotateX: 0,
301
+ rotateY: 0,
302
+ duration: 0.5,
303
+ ease: "power2.out"
304
+ });
305
+ });
306
+
307
+ item.addEventListener('click', function() {
308
+ // Remove active class from all items
309
+ navItems.forEach(navItem => {
310
+ navItem.classList.remove('active');
311
+ });
312
+
313
+ // Add active class to clicked item
314
+ this.classList.add('active');
315
+
316
+ // Get section name
317
+ const section = this.getAttribute('data-section');
318
+
319
+ // Here you would typically load the section content
320
+ console.log(`Loading ${section} section...`);
321
+
322
+ // Animation for active state
323
+ gsap.fromTo(this,
324
+ { scale: 0.95 },
325
+ { scale: 1.05, duration: 0.3, yoyo: true, repeat: 1 }
326
+ );
327
+ });
328
+ });
329
+
330
+ // Random floating animation delays
331
+ gsap.utils.toArray('.floating').forEach((item, i) => {
332
+ gsap.to(item, {
333
+ y: -10,
334
+ duration: 3 + Math.random() * 2,
335
+ yoyo: true,
336
+ repeat: -1,
337
+ ease: "sine.inOut",
338
+ delay: i * 0.2
339
+ });
340
+ });
341
+ });
342
+ </script>
343
+ <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=GMA2/test123" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
344
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ create the most futuristic desktop navigation for 8 sections with interactivity for a black on black design, 3D