Nabeel377 commited on
Commit
ba81b03
·
verified ·
1 Parent(s): 217c594

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +522 -19
index.html CHANGED
@@ -1,19 +1,522 @@
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>Welcome</title>
7
+ <link href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap" rel="stylesheet">
8
+ <style>
9
+ * {
10
+ margin: 0;
11
+ padding: 0;
12
+ box-sizing: border-box;
13
+ }
14
+
15
+ :root {
16
+ --primary: #6366f1;
17
+ --secondary: #8b5cf6;
18
+ --accent: #ec4899;
19
+ --dark: #0f172a;
20
+ --light: #f8fafc;
21
+ --gradient: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
22
+ }
23
+
24
+ body {
25
+ font-family: 'Poppins', sans-serif;
26
+ background: var(--dark);
27
+ color: var(--light);
28
+ min-height: 100vh;
29
+ overflow-x: hidden;
30
+ }
31
+
32
+ /* Animated Background */
33
+ .bg-animation {
34
+ position: fixed;
35
+ top: 0;
36
+ left: 0;
37
+ width: 100%;
38
+ height: 100%;
39
+ z-index: -1;
40
+ overflow: hidden;
41
+ }
42
+
43
+ .bg-animation::before {
44
+ content: '';
45
+ position: absolute;
46
+ top: -50%;
47
+ left: -50%;
48
+ width: 200%;
49
+ height: 200%;
50
+ background:
51
+ radial-gradient(circle at 20% 80%, rgba(99, 102, 241, 0.15) 0%, transparent 50%),
52
+ radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
53
+ radial-gradient(circle at 40% 40%, rgba(236, 72, 153, 0.1) 0%, transparent 40%);
54
+ animation: bgFloat 20s ease-in-out infinite;
55
+ }
56
+
57
+ @keyframes bgFloat {
58
+ 0%, 100% { transform: translate(0, 0) rotate(0deg); }
59
+ 33% { transform: translate(2%, 2%) rotate(1deg); }
60
+ 66% { transform: translate(-1%, 1%) rotate(-1deg); }
61
+ }
62
+
63
+ /* Floating Orbs */
64
+ .orb {
65
+ position: absolute;
66
+ border-radius: 50%;
67
+ filter: blur(60px);
68
+ animation: orbFloat 15s ease-in-out infinite;
69
+ opacity: 0.5;
70
+ }
71
+
72
+ .orb-1 {
73
+ width: 300px;
74
+ height: 300px;
75
+ background: var(--primary);
76
+ top: 10%;
77
+ left: 10%;
78
+ animation-delay: 0s;
79
+ }
80
+
81
+ .orb-2 {
82
+ width: 250px;
83
+ height: 250px;
84
+ background: var(--secondary);
85
+ top: 60%;
86
+ right: 10%;
87
+ animation-delay: -5s;
88
+ }
89
+
90
+ .orb-3 {
91
+ width: 200px;
92
+ height: 200px;
93
+ background: var(--accent);
94
+ bottom: 20%;
95
+ left: 30%;
96
+ animation-delay: -10s;
97
+ }
98
+
99
+ @keyframes orbFloat {
100
+ 0%, 100% { transform: translate(0, 0) scale(1); }
101
+ 25% { transform: translate(30px, -30px) scale(1.1); }
102
+ 50% { transform: translate(-20px, 20px) scale(0.9); }
103
+ 75% { transform: translate(20px, 30px) scale(1.05); }
104
+ }
105
+
106
+ /* Header */
107
+ header {
108
+ position: fixed;
109
+ top: 0;
110
+ left: 0;
111
+ right: 0;
112
+ padding: 1.5rem 2rem;
113
+ display: flex;
114
+ justify-content: space-between;
115
+ align-items: center;
116
+ z-index: 100;
117
+ backdrop-filter: blur(10px);
118
+ background: rgba(15, 23, 42, 0.5);
119
+ }
120
+
121
+ .logo {
122
+ font-size: 1.5rem;
123
+ font-weight: 700;
124
+ background: var(--gradient);
125
+ -webkit-background-clip: text;
126
+ -webkit-text-fill-color: transparent;
127
+ background-clip: text;
128
+ }
129
+
130
+ .anycoder-link {
131
+ color: var(--light);
132
+ text-decoration: none;
133
+ font-size: 0.9rem;
134
+ padding: 0.5rem 1rem;
135
+ border: 1px solid rgba(255, 255, 255, 0.2);
136
+ border-radius: 25px;
137
+ transition: all 0.3s ease;
138
+ display: flex;
139
+ align-items: center;
140
+ gap: 0.5rem;
141
+ }
142
+
143
+ .anycoder-link:hover {
144
+ background: var(--gradient);
145
+ border-color: transparent;
146
+ transform: translateY(-2px);
147
+ box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
148
+ }
149
+
150
+ .anycoder-link::before {
151
+ content: '⚡';
152
+ }
153
+
154
+ /* Main Content */
155
+ main {
156
+ min-height: 100vh;
157
+ display: flex;
158
+ flex-direction: column;
159
+ justify-content: center;
160
+ align-items: center;
161
+ padding: 2rem;
162
+ text-align: center;
163
+ }
164
+
165
+ .hero-badge {
166
+ display: inline-flex;
167
+ align-items: center;
168
+ gap: 0.5rem;
169
+ padding: 0.5rem 1.25rem;
170
+ background: rgba(99, 102, 241, 0.1);
171
+ border: 1px solid rgba(99, 102, 241, 0.3);
172
+ border-radius: 50px;
173
+ font-size: 0.875rem;
174
+ color: var(--primary);
175
+ margin-bottom: 1.5rem;
176
+ animation: fadeInDown 0.8s ease forwards;
177
+ }
178
+
179
+ .hero-badge::before {
180
+ content: '';
181
+ width: 8px;
182
+ height: 8px;
183
+ background: var(--primary);
184
+ border-radius: 50%;
185
+ animation: pulse 2s ease-in-out infinite;
186
+ }
187
+
188
+ @keyframes pulse {
189
+ 0%, 100% { opacity: 1; transform: scale(1); }
190
+ 50% { opacity: 0.5; transform: scale(1.5); }
191
+ }
192
+
193
+ h1 {
194
+ font-size: clamp(2.5rem, 8vw, 5rem);
195
+ font-weight: 700;
196
+ line-height: 1.1;
197
+ margin-bottom: 1.5rem;
198
+ animation: fadeInUp 0.8s ease 0.2s forwards;
199
+ opacity: 0;
200
+ }
201
+
202
+ h1 .highlight {
203
+ background: var(--gradient);
204
+ -webkit-background-clip: text;
205
+ -webkit-text-fill-color: transparent;
206
+ background-clip: text;
207
+ position: relative;
208
+ }
209
+
210
+ h1 .highlight::after {
211
+ content: '';
212
+ position: absolute;
213
+ bottom: 0;
214
+ left: 0;
215
+ width: 100%;
216
+ height: 3px;
217
+ background: var(--gradient);
218
+ transform: scaleX(0);
219
+ transform-origin: left;
220
+ animation: underline 1s ease 1s forwards;
221
+ }
222
+
223
+ @keyframes underline {
224
+ to { transform: scaleX(1); }
225
+ }
226
+
227
+ p {
228
+ font-size: clamp(1rem, 2vw, 1.25rem);
229
+ color: rgba(248, 250, 252, 0.7);
230
+ max-width: 600px;
231
+ margin-bottom: 2.5rem;
232
+ animation: fadeInUp 0.8s ease 0.4s forwards;
233
+ opacity: 0;
234
+ }
235
+
236
+ .cta-buttons {
237
+ display: flex;
238
+ gap: 1rem;
239
+ flex-wrap: wrap;
240
+ justify-content: center;
241
+ animation: fadeInUp 0.8s ease 0.6s forwards;
242
+ opacity: 0;
243
+ }
244
+
245
+ .btn {
246
+ padding: 1rem 2rem;
247
+ border-radius: 50px;
248
+ font-size: 1rem;
249
+ font-weight: 600;
250
+ text-decoration: none;
251
+ transition: all 0.3s ease;
252
+ cursor: pointer;
253
+ border: none;
254
+ }
255
+
256
+ .btn-primary {
257
+ background: var(--gradient);
258
+ color: white;
259
+ box-shadow: 0 10px 40px rgba(99, 102, 241, 0.3);
260
+ }
261
+
262
+ .btn-primary:hover {
263
+ transform: translateY(-3px);
264
+ box-shadow: 0 15px 50px rgba(99, 102, 241, 0.4);
265
+ }
266
+
267
+ .btn-secondary {
268
+ background: rgba(255, 255, 255, 0.1);
269
+ color: white;
270
+ border: 1px solid rgba(255, 255, 255, 0.2);
271
+ }
272
+
273
+ .btn-secondary:hover {
274
+ background: rgba(255, 255, 255, 0.2);
275
+ transform: translateY(-3px);
276
+ }
277
+
278
+ /* Greeting Cards */
279
+ .greeting-cards {
280
+ display: flex;
281
+ gap: 1rem;
282
+ margin-top: 3rem;
283
+ animation: fadeInUp 0.8s ease 0.8s forwards;
284
+ opacity: 0;
285
+ flex-wrap: wrap;
286
+ justify-content: center;
287
+ }
288
+
289
+ .greeting-card {
290
+ background: rgba(255, 255, 255, 0.05);
291
+ border: 1px solid rgba(255, 255, 255, 0.1);
292
+ padding: 1.5rem 2rem;
293
+ border-radius: 16px;
294
+ text-align: left;
295
+ transition: all 0.3s ease;
296
+ }
297
+
298
+ .greeting-card:hover {
299
+ transform: translateY(-5px);
300
+ background: rgba(255, 255, 255, 0.1);
301
+ border-color: rgba(255, 255, 255, 0.2);
302
+ }
303
+
304
+ .greeting-card h3 {
305
+ font-size: 1.25rem;
306
+ margin-bottom: 0.5rem;
307
+ color: var(--primary);
308
+ }
309
+
310
+ .greeting-card p {
311
+ font-size: 0.9rem;
312
+ margin-bottom: 0;
313
+ color: rgba(248, 250, 252, 0.6);
314
+ }
315
+
316
+ /* Animations */
317
+ @keyframes fadeInDown {
318
+ from {
319
+ opacity: 0;
320
+ transform: translateY(-20px);
321
+ }
322
+ to {
323
+ opacity: 1;
324
+ transform: translateY(0);
325
+ }
326
+ }
327
+
328
+ @keyframes fadeInUp {
329
+ from {
330
+ opacity: 0;
331
+ transform: translateY(20px);
332
+ }
333
+ to {
334
+ opacity: 1;
335
+ transform: translateY(0);
336
+ }
337
+ }
338
+
339
+ /* Responsive */
340
+ @media (max-width: 768px) {
341
+ header {
342
+ padding: 1rem;
343
+ }
344
+
345
+ .logo {
346
+ font-size: 1.25rem;
347
+ }
348
+
349
+ .anycoder-link {
350
+ font-size: 0.8rem;
351
+ padding: 0.4rem 0.8rem;
352
+ }
353
+
354
+ main {
355
+ padding: 1rem;
356
+ }
357
+
358
+ .greeting-cards {
359
+ flex-direction: column;
360
+ width: 100%;
361
+ max-width: 400px;
362
+ }
363
+
364
+ .greeting-card {
365
+ width: 100%;
366
+ }
367
+ }
368
+
369
+ /* Scroll indicator */
370
+ .scroll-indicator {
371
+ position: absolute;
372
+ bottom: 2rem;
373
+ left: 50%;
374
+ transform: translateX(-50%);
375
+ display: flex;
376
+ flex-direction: column;
377
+ align-items: center;
378
+ gap: 0.5rem;
379
+ color: rgba(248, 250, 252, 0.5);
380
+ font-size: 0.75rem;
381
+ animation: bounce 2s ease-in-out infinite;
382
+ }
383
+
384
+ .scroll-indicator span {
385
+ width: 20px;
386
+ height: 35px;
387
+ border: 2px solid rgba(248, 250, 252, 0.3);
388
+ border-radius: 10px;
389
+ position: relative;
390
+ }
391
+
392
+ .scroll-indicator span::before {
393
+ content: '';
394
+ position: absolute;
395
+ top: 6px;
396
+ left: 50%;
397
+ transform: translateX(-50%);
398
+ width: 4px;
399
+ height: 8px;
400
+ background: var(--primary);
401
+ border-radius: 2px;
402
+ animation: scrollDot 2s ease-in-out infinite;
403
+ }
404
+
405
+ @keyframes bounce {
406
+ 0%, 100% { transform: translateX(-50%) translateY(0); }
407
+ 50% { transform: translateX(-50%) translateY(10px); }
408
+ }
409
+
410
+ @keyframes scrollDot {
411
+ 0%, 100% { opacity: 1; top: 6px; }
412
+ 50% { opacity: 0.5; top: 15px; }
413
+ }
414
+ </style>
415
+ </head>
416
+ <body>
417
+ <!-- Animated Background -->
418
+ <div class="bg-animation">
419
+ <div class="orb orb-1"></div>
420
+ <div class="orb orb-2"></div>
421
+ <div class="orb orb-3"></div>
422
+ </div>
423
+
424
+ <!-- Header -->
425
+ <header>
426
+ <div class="logo">Portfolio</div>
427
+ <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="anycoder-link">
428
+ Built with anycoder
429
+ </a>
430
+ </header>
431
+
432
+ <!-- Main Content -->
433
+ <main>
434
+ <div class="hero-badge">
435
+ Hello & Welcome
436
+ </div>
437
+
438
+ <h1>
439
+ Hi there! 👋<br>
440
+ I'm <span class="highlight">Creative Developer</span>
441
+ </h1>
442
+
443
+ <p>
444
+ Crafting beautiful digital experiences with modern web technologies.
445
+ Let's build something amazing together.
446
+ </p>
447
+
448
+ <div class="cta-buttons">
449
+ <a href="#" class="btn btn-primary">View My Work</a>
450
+ <a href="#" class="btn btn-secondary">Get In Touch</a>
451
+ </div>
452
+
453
+ <div class="greeting-cards">
454
+ <div class="greeting-card">
455
+ <h3>💡 Innovation</h3>
456
+ <p>Creating cutting-edge solutions with modern technologies</p>
457
+ </div>
458
+ <div class="greeting-card">
459
+ <h3>🎨 Design</h3>
460
+ <p>Beautiful, intuitive interfaces that users love</p>
461
+ </div>
462
+ <div class="greeting-card">
463
+ <h3>🚀 Performance</h3>
464
+ <p>Fast, efficient, and scalable applications</p>
465
+ </div>
466
+ </div>
467
+ </main>
468
+
469
+ <!-- Scroll Indicator -->
470
+ <div class="scroll-indicator">
471
+ <span></span>
472
+ Scroll
473
+ </div>
474
+
475
+ <script>
476
+ // Add smooth scroll behavior
477
+ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
478
+ anchor.addEventListener('click', function (e) {
479
+ e.preventDefault();
480
+ document.querySelector(this.getAttribute('href')).scrollIntoView({
481
+ behavior: 'smooth'
482
+ });
483
+ });
484
+ });
485
+
486
+ // Add parallax effect to orbs on mouse move
487
+ document.addEventListener('mousemove', (e) => {
488
+ const orbs = document.querySelectorAll('.orb');
489
+ const x = e.clientX / window.innerWidth;
490
+ const y = e.clientY / window.innerHeight;
491
+
492
+ orbs.forEach((orb, index) => {
493
+ const speed = (index + 1) * 20;
494
+ orb.style.transform = `translate(${x * speed}px, ${y * speed}px)`;
495
+ });
496
+ });
497
+
498
+ // Add intersection observer for animations on scroll
499
+ const observerOptions = {
500
+ threshold: 0.1,
501
+ rootMargin: '0px 0px -50px 0px'
502
+ };
503
+
504
+ const observer = new IntersectionObserver((entries) => {
505
+ entries.forEach(entry => {
506
+ if (entry.isIntersecting) {
507
+ entry.target.style.opacity = '1';
508
+ entry.target.style.transform = 'translateY(0)';
509
+ }
510
+ });
511
+ }, observerOptions);
512
+
513
+ // Observe greeting cards
514
+ document.querySelectorAll('.greeting-card').forEach((card, index) => {
515
+ card.style.opacity = '0';
516
+ card.style.transform = 'translateY(30px)';
517
+ card.style.transition = `all 0.6s ease ${index * 0.2}s`;
518
+ observer.observe(card);
519
+ });
520
+ </script>
521
+ </body>
522
+ </html>