jnm-itb commited on
Commit
3bfab3d
·
1 Parent(s): 02411be

feat: overhaul index.html with new design and interactive elements

Browse files
Files changed (1) hide show
  1. index.html +386 -20
index.html CHANGED
@@ -1,20 +1,386 @@
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
- <p>hello jatniko</p>
18
- </div>
19
- </body>
20
- </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>sayonyara's links from the underground</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
8
+ <style>
9
+ :root {
10
+ --space-blue: #0d0221;
11
+ --neon-purple: #9d00ff;
12
+ --cosmic-blue: #2b00ff;
13
+ --starlight: #f8f8ff;
14
+ --mystic-purple: #6a00f4;
15
+ }
16
+ * {
17
+ margin: 0;
18
+ padding: 0;
19
+ box-sizing: border-box;
20
+ font-family: 'Courier New', monospace;
21
+ }
22
+ body {
23
+ background-color: var(--space-blue);
24
+ color: var(--starlight);
25
+ overflow-x: hidden;
26
+ min-height: 100vh;
27
+ perspective: 1000px;
28
+ background-image:
29
+ radial-gradient(circle at 20% 30%, rgba(154, 0, 255, 0.15) 0%, transparent 30%),
30
+ radial-gradient(circle at 80% 70%, rgba(43, 0, 255, 0.15) 0%, transparent 30%);
31
+ }
32
+ .spiral-bg {
33
+ position: fixed;
34
+ top: 0;
35
+ left: 0;
36
+ width: 100%;
37
+ height: 100%;
38
+ z-index: -1;
39
+ opacity: 0.3;
40
+ }
41
+ .spiral {
42
+ position: absolute;
43
+ border-radius: 50%;
44
+ border: 1px solid var(--neon-purple);
45
+ animation: spin var(--duration) linear infinite;
46
+ filter: blur(0.5px);
47
+ }
48
+ @keyframes spin {
49
+ from { transform: rotate(0deg); }
50
+ to { transform: rotate(360deg); }
51
+ }
52
+ .container {
53
+ max-width: 800px;
54
+ margin: 0 auto;
55
+ padding: 2rem;
56
+ position: relative;
57
+ z-index: 1;
58
+ }
59
+ header {
60
+ text-align: center;
61
+ margin-bottom: 3rem;
62
+ position: relative;
63
+ }
64
+ h1 {
65
+ font-size: 2.5rem;
66
+ margin-bottom: 1rem;
67
+ color: var(--starlight);
68
+ text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--cosmic-blue);
69
+ position: relative;
70
+ display: inline-block;
71
+ }
72
+ h1::after {
73
+ content: '';
74
+ position: absolute;
75
+ bottom: -10px;
76
+ left: 50%;
77
+ transform: translateX(-50%);
78
+ width: 60%;
79
+ height: 3px;
80
+ background: linear-gradient(90deg, transparent, var(--neon-purple), var(--cosmic-blue), transparent);
81
+ border-radius: 50%;
82
+ }
83
+ .cat-icon {
84
+ position: absolute;
85
+ font-size: 1.8rem;
86
+ animation: float 3s ease-in-out infinite;
87
+ opacity: 0.8;
88
+ }
89
+ .cat-icon:nth-child(1) {
90
+ top: -20px;
91
+ left: 10%;
92
+ color: var(--neon-purple);
93
+ animation-delay: 0s;
94
+ }
95
+ .cat-icon:nth-child(2) {
96
+ top: 50px;
97
+ right: 15%;
98
+ color: var(--cosmic-blue);
99
+ animation-delay: 0.5s;
100
+ }
101
+ .cat-icon:nth-child(3) {
102
+ bottom: -30px;
103
+ left: 20%;
104
+ color: var(--mystic-purple);
105
+ animation-delay: 1s;
106
+ }
107
+ @keyframes float {
108
+ 0%, 100% { transform: translateY(0) rotate(0deg); }
109
+ 50% { transform: translateY(-10px) rotate(5deg); }
110
+ }
111
+ .subtitle {
112
+ font-style: italic;
113
+ color: var(--mystic-purple);
114
+ margin-bottom: 2rem;
115
+ text-align: center;
116
+ }
117
+ .links-container {
118
+ display: grid;
119
+ grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
120
+ gap: 1.5rem;
121
+ }
122
+ .link-card {
123
+ background: rgba(13, 2, 33, 0.7);
124
+ border: 1px solid var(--neon-purple);
125
+ border-radius: 10px;
126
+ padding: 1.5rem;
127
+ transition: all 0.3s ease;
128
+ position: relative;
129
+ overflow: hidden;
130
+ backdrop-filter: blur(5px);
131
+ }
132
+ .link-card:hover {
133
+ transform: translateY(-5px) rotate(1deg);
134
+ box-shadow: 0 5px 15px var(--neon-purple);
135
+ border-color: var(--cosmic-blue);
136
+ }
137
+ .link-card::before {
138
+ content: '';
139
+ position: absolute;
140
+ top: -50%;
141
+ left: -50%;
142
+ width: 200%;
143
+ height: 200%;
144
+ background: radial-gradient(circle, var(--neon-purple), transparent 70%);
145
+ opacity: 0;
146
+ transition: opacity 0.5s ease;
147
+ }
148
+ .link-card:hover::before {
149
+ opacity: 0.1;
150
+ }
151
+ .link-title {
152
+ font-size: 1.2rem;
153
+ margin-bottom: 0.5rem;
154
+ color: var(--starlight);
155
+ display: flex;
156
+ align-items: center;
157
+ }
158
+ .link-icon {
159
+ margin-right: 0.5rem;
160
+ color: var(--cosmic-blue);
161
+ }
162
+ .link-description {
163
+ font-size: 0.9rem;
164
+ color: rgba(248, 248, 255, 0.7);
165
+ margin-bottom: 1rem;
166
+ }
167
+ .link-url {
168
+ display: inline-block;
169
+ padding: 0.3rem 0.8rem;
170
+ background: linear-gradient(90deg, var(--neon-purple), var(--cosmic-blue));
171
+ color: white;
172
+ text-decoration: none;
173
+ border-radius: 20px;
174
+ font-size: 0.8rem;
175
+ transition: all 0.3s ease;
176
+ }
177
+ .link-url:hover {
178
+ transform: scale(1.05);
179
+ box-shadow: 0 0 10px var(--neon-purple);
180
+ }
181
+ footer {
182
+ text-align: center;
183
+ margin-top: 3rem;
184
+ font-size: 0.8rem;
185
+ color: var(--mystic-purple);
186
+ opacity: 0.7;
187
+ }
188
+ .stars {
189
+ position: fixed;
190
+ top: 0;
191
+ left: 0;
192
+ width: 100%;
193
+ height: 100%;
194
+ z-index: -2;
195
+ }
196
+ .star {
197
+ position: absolute;
198
+ width: 2px;
199
+ height: 2px;
200
+ background: white;
201
+ border-radius: 50%;
202
+ animation: twinkle 5s infinite;
203
+ }
204
+ @keyframes twinkle {
205
+ 0%, 100% { opacity: 0.2; }
206
+ 50% { opacity: 1; }
207
+ }
208
+ .mystic-eye {
209
+ position: fixed;
210
+ bottom: 20px;
211
+ right: 20px;
212
+ width: 60px;
213
+ height: 60px;
214
+ background: radial-gradient(circle, var(--neon-purple) 0%, var(--space-blue) 70%);
215
+ border-radius: 50%;
216
+ display: flex;
217
+ justify-content: center;
218
+ align-items: center;
219
+ cursor: pointer;
220
+ box-shadow: 0 0 15px var(--neon-purple);
221
+ z-index: 10;
222
+ transition: all 0.3s ease;
223
+ }
224
+ .mystic-eye:hover {
225
+ transform: scale(1.1);
226
+ }
227
+ .eye-pupil {
228
+ width: 15px;
229
+ height: 15px;
230
+ background-color: var(--space-blue);
231
+ border-radius: 50%;
232
+ position: relative;
233
+ animation: blink 5s infinite;
234
+ }
235
+ @keyframes blink {
236
+ 0%, 48%, 52%, 100% { transform: scaleY(1); }
237
+ 50% { transform: scaleY(0.1); }
238
+ }
239
+ @media (max-width: 600px) {
240
+ h1 {
241
+ font-size: 1.8rem;
242
+ }
243
+ .links-container {
244
+ grid-template-columns: 1fr;
245
+ }
246
+ }
247
+ </style>
248
+ </head>
249
+ <body>
250
+ <div class="stars" id="stars"></div>
251
+ <div class="spiral-bg" id="spiral-bg"></div>
252
+
253
+ <div class="container">
254
+ <header>
255
+ <i class="fas fa-cat cat-icon"></i>
256
+ <i class="fas fa-paw cat-icon"></i>
257
+ <i class="fas fa-cat cat-icon"></i>
258
+ <h1>sayonyara's links from the underground</h1>
259
+ <p class="subtitle">mystic pathways through the digital cosmos</p>
260
+ </header>
261
+
262
+ <div class="links-container">
263
+ <div class="link-card">
264
+ <h3 class="link-title"><i class="fas fa-spider link-icon"></i> Web Weaving</h3>
265
+ <p class="link-description">Explore the intricate webs of digital creation and mystical coding practices.</p>
266
+ <a href="#" class="link-url">Enter the Web</a>
267
+ </div>
268
+
269
+ <div class="link-card">
270
+ <h3 class="link-title"><i class="fas fa-moon link-icon"></i> Lunar Codes</h3>
271
+ <p class="link-description">Nocturnal programming rituals under the glow of the digital moon.</p>
272
+ <a href="#" class="link-url">Moon Access</a>
273
+ </div>
274
+
275
+ <div class="link-card">
276
+ <h3 class="link-title"><i class="fas fa-paw link-icon"></i> Feline Scripts</h3>
277
+ <p class="link-description">Ancient coding knowledge passed down by cybernetic cats.</p>
278
+ <a href="#" class="link-url">Purr-view</a>
279
+ </div>
280
+
281
+ <div class="link-card">
282
+ <h3 class="link-title"><i class="fas fa-spinner link-icon"></i> Spiral Logic</h3>
283
+ <p class="link-description">Fractal algorithms that spiral into infinite complexity.</p>
284
+ <a href="#" class="link-url">Follow the Spiral</a>
285
+ </div>
286
+
287
+ <div class="link-card">
288
+ <h3 class="link-title"><i class="fas fa-space-shuttle link-icon"></i> Cosmic Nets</h3>
289
+ <p class="link-description">Interstellar network connections through quantum tunnels.</p>
290
+ <a href="#" class="link-url">Warp to Network</a>
291
+ </div>
292
+
293
+ <div class="link-card">
294
+ <h3 class="link-title"><i class="fas fa-hat-wizard link-icon"></i> Mystic Script</h3>
295
+ <p class="link-description">Arcane programming languages from digital dimensions.</p>
296
+ <a href="#" class="link-url">Cast Spell</a>
297
+ </div>
298
+ </div>
299
+
300
+ <footer>
301
+ <p>🌀 digital spirals in the void · sayonyara 2023 · follow the white cat 🐈</p>
302
+ </footer>
303
+ </div>
304
+
305
+ <div class="mystic-eye">
306
+ <div class="eye-pupil"></div>
307
+ </div>
308
+
309
+ <script>
310
+ // Create spirals in background
311
+ const spiralBg = document.getElementById('spiral-bg');
312
+ for (let i = 0; i < 10; i++) {
313
+ const spiral = document.createElement('div');
314
+ spiral.classList.add('spiral');
315
+
316
+ const size = Math.random() * 300 + 100;
317
+ const x = Math.random() * 100;
318
+ const y = Math.random() * 100;
319
+ const duration = Math.random() * 60 + 60;
320
+
321
+ spiral.style.width = `${size}px`;
322
+ spiral.style.height = `${size}px`;
323
+ spiral.style.left = `${x}%`;
324
+ spiral.style.top = `${y}%`;
325
+ spiral.style.borderWidth = `${Math.random() * 3 + 1}px`;
326
+ spiral.style.setProperty('--duration', `${duration}s`);
327
+
328
+ spiralBg.appendChild(spiral);
329
+ }
330
+ // Create stars
331
+ const starsContainer = document.getElementById('stars');
332
+ for (let i = 0; i < 200; i++) {
333
+ const star = document.createElement('div');
334
+ star.classList.add('star');
335
+
336
+ const size = Math.random() * 3;
337
+ const x = Math.random() * 100;
338
+ const y = Math.random() * 100;
339
+ const delay = Math.random() * 5;
340
+ const duration = Math.random() * 5 + 5;
341
+
342
+ star.style.width = `${size}px`;
343
+ star.style.height = `${size}px`;
344
+ star.style.left = `${x}%`;
345
+ star.style.top = `${y}%`;
346
+ star.style.animationDelay = `${delay}s`;
347
+ star.style.animationDuration = `${duration}s`;
348
+
349
+ starsContainer.appendChild(star);
350
+ }
351
+ // Mystic eye interaction
352
+ const mysticEye = document.querySelector('.mystic-eye');
353
+ mysticEye.addEventListener('click', () => {
354
+ document.body.classList.toggle('show-secret');
355
+ alert('🌀 The all-seeing eye gazes upon you. The cosmic cats approve. 🐈‍⬛✨');
356
+
357
+ // Create a temporary spiral effect
358
+ for (let i = 0; i < 10; i++) {
359
+ const spiral = document.createElement('div');
360
+ spiral.classList.add('spiral');
361
+
362
+ const size = Math.random() * 200 + 50;
363
+ const x = Math.random() * 80 + 10;
364
+ const y = Math.random() * 80 + 10;
365
+ const duration = Math.random() * 40 + 20;
366
+
367
+ spiral.style.width = `${size}px`;
368
+ spiral.style.height = `${size}px`;
369
+ spiral.style.left = `${x}%`;
370
+ spiral.style.top = `${y}%`;
371
+ spiral.style.borderColor = `hsl(${Math.random() * 60 + 270}, 100%, 70%)`;
372
+ spiral.style.position = 'fixed';
373
+ spiral.style.zIndex = '5';
374
+ spiral.style.setProperty('--duration', `${duration}s`);
375
+
376
+ document.body.appendChild(spiral);
377
+
378
+ // Remove after animation completes
379
+ setTimeout(() => {
380
+ spiral.remove();
381
+ }, duration * 1000);
382
+ }
383
+ });
384
+ </script>
385
+ <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 <a href="https://enzostvs-deepsite.hf.space" style="color: #fff;" target="_blank" >DeepSite</a> <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;"></p></body>
386
+ </html>