Huginone commited on
Commit
0fa1bd1
路
verified 路
1 Parent(s): 82d8ece

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +591 -19
index.html CHANGED
@@ -1,19 +1,591 @@
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>Ray-Ban | Meta Wayfarer - Gen 2 | Azul C贸smico</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
+ --primary-color: #000;
11
+ --secondary-color: #fff;
12
+ --accent-color: #0066cc;
13
+ --text-color: #333;
14
+ --light-gray: #f5f5f5;
15
+ --medium-gray: #e0e0e0;
16
+ --dark-gray: #757575;
17
+ --transition: all 0.3s ease;
18
+ }
19
+
20
+ * {
21
+ margin: 0;
22
+ padding: 0;
23
+ box-sizing: border-box;
24
+ }
25
+
26
+ body {
27
+ font-family: 'Helvetica Neue', Arial, sans-serif;
28
+ line-height: 1.6;
29
+ color: var(--text-color);
30
+ background-color: var(--light-gray);
31
+ }
32
+
33
+ /* Header */
34
+ header {
35
+ background-color: var(--secondary-color);
36
+ padding: 1rem 2rem;
37
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
38
+ position: sticky;
39
+ top: 0;
40
+ z-index: 100;
41
+ }
42
+
43
+ .header-container {
44
+ display: flex;
45
+ justify-content: space-between;
46
+ align-items: center;
47
+ max-width: 1400px;
48
+ margin: 0 auto;
49
+ }
50
+
51
+ .logo {
52
+ font-size: 1.5rem;
53
+ font-weight: bold;
54
+ color: var(--primary-color);
55
+ text-decoration: none;
56
+ }
57
+
58
+ .nav-links {
59
+ display: flex;
60
+ gap: 2rem;
61
+ }
62
+
63
+ .nav-links a {
64
+ text-decoration: none;
65
+ color: var(--primary-color);
66
+ font-weight: 500;
67
+ transition: var(--transition);
68
+ }
69
+
70
+ .nav-links a:hover {
71
+ color: var(--accent-color);
72
+ }
73
+
74
+ .header-actions {
75
+ display: flex;
76
+ gap: 1.5rem;
77
+ align-items: center;
78
+ }
79
+
80
+ .header-actions a {
81
+ color: var(--primary-color);
82
+ text-decoration: none;
83
+ font-size: 1.2rem;
84
+ transition: var(--transition);
85
+ }
86
+
87
+ .header-actions a:hover {
88
+ color: var(--accent-color);
89
+ }
90
+
91
+ .anycoder-link {
92
+ font-size: 0.8rem;
93
+ color: var(--dark-gray);
94
+ text-decoration: none;
95
+ margin-left: 1rem;
96
+ }
97
+
98
+ /* Main Content */
99
+ main {
100
+ max-width: 1400px;
101
+ margin: 2rem auto;
102
+ padding: 0 2rem;
103
+ }
104
+
105
+ .product-container {
106
+ display: grid;
107
+ grid-template-columns: 1fr 1fr;
108
+ gap: 3rem;
109
+ margin-bottom: 4rem;
110
+ }
111
+
112
+ /* Product Images */
113
+ .product-images {
114
+ display: flex;
115
+ flex-direction: column;
116
+ gap: 1rem;
117
+ }
118
+
119
+ .main-image {
120
+ width: 100%;
121
+ height: 500px;
122
+ object-fit: contain;
123
+ background-color: var(--secondary-color);
124
+ border-radius: 8px;
125
+ box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
126
+ }
127
+
128
+ .thumbnail-container {
129
+ display: flex;
130
+ gap: 1rem;
131
+ overflow-x: auto;
132
+ padding-bottom: 0.5rem;
133
+ }
134
+
135
+ .thumbnail {
136
+ width: 80px;
137
+ height: 80px;
138
+ object-fit: contain;
139
+ background-color: var(--secondary-color);
140
+ border-radius: 6px;
141
+ cursor: pointer;
142
+ border: 2px solid transparent;
143
+ transition: var(--transition);
144
+ }
145
+
146
+ .thumbnail:hover, .thumbnail.active {
147
+ border-color: var(--accent-color);
148
+ }
149
+
150
+ /* Product Info */
151
+ .product-info {
152
+ display: flex;
153
+ flex-direction: column;
154
+ gap: 1.5rem;
155
+ }
156
+
157
+ .product-title {
158
+ font-size: 2rem;
159
+ font-weight: 600;
160
+ color: var(--primary-color);
161
+ }
162
+
163
+ .product-subtitle {
164
+ font-size: 1.2rem;
165
+ color: var(--dark-gray);
166
+ }
167
+
168
+ .product-price {
169
+ font-size: 1.8rem;
170
+ font-weight: 600;
171
+ color: var(--primary-color);
172
+ }
173
+
174
+ .product-description {
175
+ font-size: 1rem;
176
+ line-height: 1.8;
177
+ color: var(--text-color);
178
+ }
179
+
180
+ .color-options {
181
+ display: flex;
182
+ flex-direction: column;
183
+ gap: 0.5rem;
184
+ }
185
+
186
+ .color-label {
187
+ font-weight: 500;
188
+ margin-bottom: 0.5rem;
189
+ }
190
+
191
+ .color-swatches {
192
+ display: flex;
193
+ gap: 0.5rem;
194
+ }
195
+
196
+ .color-swatch {
197
+ width: 30px;
198
+ height: 30px;
199
+ border-radius: 50%;
200
+ cursor: pointer;
201
+ border: 2px solid transparent;
202
+ transition: var(--transition);
203
+ }
204
+
205
+ .color-swatch:hover, .color-swatch.active {
206
+ transform: scale(1.1);
207
+ border-color: var(--accent-color);
208
+ }
209
+
210
+ .size-options {
211
+ display: flex;
212
+ flex-direction: column;
213
+ gap: 0.5rem;
214
+ }
215
+
216
+ .size-label {
217
+ font-weight: 500;
218
+ margin-bottom: 0.5rem;
219
+ }
220
+
221
+ .size-buttons {
222
+ display: flex;
223
+ gap: 0.5rem;
224
+ }
225
+
226
+ .size-button {
227
+ padding: 0.5rem 1rem;
228
+ border: 1px solid var(--medium-gray);
229
+ background-color: var(--secondary-color);
230
+ cursor: pointer;
231
+ transition: var(--transition);
232
+ font-weight: 500;
233
+ }
234
+
235
+ .size-button:hover, .size-button.active {
236
+ border-color: var(--accent-color);
237
+ color: var(--accent-color);
238
+ }
239
+
240
+ .add-to-cart {
241
+ background-color: var(--primary-color);
242
+ color: var(--secondary-color);
243
+ padding: 1rem 2rem;
244
+ border: none;
245
+ border-radius: 4px;
246
+ font-size: 1rem;
247
+ font-weight: 600;
248
+ cursor: pointer;
249
+ transition: var(--transition);
250
+ margin-top: 1rem;
251
+ }
252
+
253
+ .add-to-cart:hover {
254
+ background-color: var(--accent-color);
255
+ }
256
+
257
+ /* Product Features */
258
+ .product-features {
259
+ display: grid;
260
+ grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
261
+ gap: 2rem;
262
+ margin: 4rem 0;
263
+ }
264
+
265
+ .feature-card {
266
+ background-color: var(--secondary-color);
267
+ padding: 2rem;
268
+ border-radius: 8px;
269
+ box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
270
+ display: flex;
271
+ flex-direction: column;
272
+ gap: 1rem;
273
+ }
274
+
275
+ .feature-icon {
276
+ font-size: 2rem;
277
+ color: var(--accent-color);
278
+ }
279
+
280
+ .feature-title {
281
+ font-size: 1.2rem;
282
+ font-weight: 600;
283
+ }
284
+
285
+ .feature-description {
286
+ color: var(--dark-gray);
287
+ }
288
+
289
+ /* Footer */
290
+ footer {
291
+ background-color: var(--primary-color);
292
+ color: var(--secondary-color);
293
+ padding: 3rem 2rem 1rem;
294
+ margin-top: 4rem;
295
+ }
296
+
297
+ .footer-container {
298
+ max-width: 1400px;
299
+ margin: 0 auto;
300
+ display: grid;
301
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
302
+ gap: 2rem;
303
+ }
304
+
305
+ .footer-section h3 {
306
+ font-size: 1.2rem;
307
+ margin-bottom: 1rem;
308
+ }
309
+
310
+ .footer-section ul {
311
+ list-style: none;
312
+ display: flex;
313
+ flex-direction: column;
314
+ gap: 0.5rem;
315
+ }
316
+
317
+ .footer-section a {
318
+ color: var(--secondary-color);
319
+ text-decoration: none;
320
+ transition: var(--transition);
321
+ }
322
+
323
+ .footer-section a:hover {
324
+ color: var(--accent-color);
325
+ }
326
+
327
+ .social-links {
328
+ display: flex;
329
+ gap: 1rem;
330
+ margin-top: 1rem;
331
+ }
332
+
333
+ .social-links a {
334
+ font-size: 1.5rem;
335
+ transition: var(--transition);
336
+ }
337
+
338
+ .social-links a:hover {
339
+ color: var(--accent-color);
340
+ }
341
+
342
+ .copyright {
343
+ text-align: center;
344
+ margin-top: 2rem;
345
+ padding-top: 1rem;
346
+ border-top: 1px solid rgba(255, 255, 255, 0.1);
347
+ font-size: 0.9rem;
348
+ }
349
+
350
+ /* Responsive Design */
351
+ @media (max-width: 768px) {
352
+ .header-container {
353
+ flex-direction: column;
354
+ gap: 1rem;
355
+ }
356
+
357
+ .nav-links {
358
+ flex-wrap: wrap;
359
+ gap: 1rem;
360
+ }
361
+
362
+ .product-container {
363
+ grid-template-columns: 1fr;
364
+ gap: 2rem;
365
+ }
366
+
367
+ .main-image {
368
+ height: 350px;
369
+ }
370
+
371
+ .thumbnail-container {
372
+ justify-content: center;
373
+ }
374
+
375
+ .product-features {
376
+ grid-template-columns: 1fr;
377
+ }
378
+ }
379
+
380
+ @media (max-width: 480px) {
381
+ .product-title {
382
+ font-size: 1.5rem;
383
+ }
384
+
385
+ .product-price {
386
+ font-size: 1.5rem;
387
+ }
388
+
389
+ .header-actions {
390
+ gap: 1rem;
391
+ }
392
+ }
393
+ </style>
394
+ </head>
395
+ <body>
396
+ <header>
397
+ <div class="header-container">
398
+ <a href="#" class="logo">RAY-BAN</a>
399
+ <nav class="nav-links">
400
+ <a href="#">Men</a>
401
+ <a href="#">Women</a>
402
+ <a href="#">Kids</a>
403
+ <a href="#">Collection</a>
404
+ <a href="#">Meta</a>
405
+ </nav>
406
+ <div class="header-actions">
407
+ <a href="#"><i class="fas fa-search"></i></a>
408
+ <a href="#"><i class="fas fa-user"></i></a>
409
+ <a href="#"><i class="fas fa-heart"></i></a>
410
+ <a href="#"><i class="fas fa-shopping-bag"></i></a>
411
+ <a href="https://huggingface.co/spaces/akhaliq/anycoder" class="anycoder-link">Built with anycoder</a>
412
+ </div>
413
+ </div>
414
+ </header>
415
+
416
+ <main>
417
+ <div class="product-container">
418
+ <div class="product-images">
419
+ <img src="https://via.placeholder.com/600x500/0066cc/ffffff?text=Ray-Ban+Meta+Wayfarer" alt="Ray-Ban Meta Wayfarer - Azul C贸smico" class="main-image" id="mainImage">
420
+ <div class="thumbnail-container">
421
+ <img src="https://via.placeholder.com/80/0066cc/ffffff?text=1" alt="Thumbnail 1" class="thumbnail active" onclick="changeImage(this)">
422
+ <img src="https://via.placeholder.com/80/0066cc/ffffff?text=2" alt="Thumbnail 2" class="thumbnail" onclick="changeImage(this)">
423
+ <img src="https://via.placeholder.com/80/0066cc/ffffff?text=3" alt="Thumbnail 3" class="thumbnail" onclick="changeImage(this)">
424
+ <img src="https://via.placeholder.com/80/0066cc/ffffff?text=4" alt="Thumbnail 4" class="thumbnail" onclick="changeImage(this)">
425
+ </div>
426
+ </div>
427
+
428
+ <div class="product-info">
429
+ <h1 class="product-title">Meta Wayfarer - Gen 2</h1>
430
+ <p class="product-subtitle">Azul C贸smico</p>
431
+ <p class="product-price">R$ 2.499,00</p>
432
+
433
+ <div class="color-options">
434
+ <p class="color-label">Color: Azul C贸smico</p>
435
+ <div class="color-swatches">
436
+ <div class="color-swatch" style="background-color: #0066cc;" onclick="selectColor(this)"></div>
437
+ <div class="color-swatch" style="background-color: #000000;" onclick="selectColor(this)"></div>
438
+ <div class="color-swatch" style="background-color: #8B4513;" onclick="selectColor(this)"></div>
439
+ <div class="color-swatch" style="background-color: #C0C0C0;" onclick="selectColor(this)"></div>
440
+ </div>
441
+ </div>
442
+
443
+ <div class="size-options">
444
+ <p class="size-label">Size</p>
445
+ <div class="size-buttons">
446
+ <button class="size-button active" onclick="selectSize(this)">50mm</button>
447
+ <button class="size-button" onclick="selectSize(this)">52mm</button>
448
+ <button class="size-button" onclick="selectSize(this)">54mm</button>
449
+ </div>
450
+ </div>
451
+
452
+ <button class="add-to-cart">Add to Cart</button>
453
+
454
+ <div class="product-description">
455
+ <p>The Ray-Ban Meta Wayfarer - Gen 2 combines classic style with cutting-edge technology. These smart glasses feature:</p>
456
+ <ul>
457
+ <li>12MP ultra-wide camera for high-quality photos and videos</li>
458
+ <li>Open-ear audio with dual speakers</li>
459
+ <li>Voice control with Meta AI assistant</li>
460
+ <li>Polarized lenses for superior sun protection</li>
461
+ <li>Up to 6 hours of battery life</li>
462
+ </ul>
463
+ <p>Experience the perfect blend of iconic design and modern innovation with these smart sunglasses.</p>
464
+ </div>
465
+ </div>
466
+ </div>
467
+
468
+ <div class="product-features">
469
+ <div class="feature-card">
470
+ <i class="fas fa-camera feature-icon"></i>
471
+ <h3 class="feature-title">12MP Ultra-Wide Camera</h3>
472
+ <p class="feature-description">Capture high-quality photos and videos with the dual 12MP ultra-wide cameras.</p>
473
+ </div>
474
+ <div class="feature-card">
475
+ <i class="fas fa-microphone feature-icon"></i>
476
+ <h3 class="feature-title">Voice Control</h3>
477
+ <p class="feature-description">Control your glasses with simple voice commands using the Meta AI assistant.</p>
478
+ </div>
479
+ <div class="feature-card">
480
+ <i class="fas fa-headphones feature-icon"></i>
481
+ <h3 class="feature-title">Open-Ear Audio</h3>
482
+ <p class="feature-description">Enjoy rich, immersive sound with the dual speakers that don't block your ears.</p>
483
+ </div>
484
+ <div class="feature-card">
485
+ <i class="fas fa-battery-full feature-icon"></i>
486
+ <h3 class="feature-title">Long Battery Life</h3>
487
+ <p class="feature-description">Get up to 6 hours of battery life on a single charge for all-day use.</p>
488
+ </div>
489
+ </div>
490
+ </main>
491
+
492
+ <footer>
493
+ <div class="footer-container">
494
+ <div class="footer-section">
495
+ <h3>Shop</h3>
496
+ <ul>
497
+ <li><a href="#">Men</a></li>
498
+ <li><a href="#">Women</a></li>
499
+ <li><a href="#">Kids</a></li>
500
+ <li><a href="#">Collection</a></li>
501
+ <li><a href="#">Meta</a></li>
502
+ </ul>
503
+ </div>
504
+ <div class="footer-section">
505
+ <h3>Support</h3>
506
+ <ul>
507
+ <li><a href="#">Customer Service</a></li>
508
+ <li><a href="#">Track Order</a></li>
509
+ <li><a href="#">Returns & Exchanges</a></li>
510
+ <li><a href="#">Warranty</a></li>
511
+ <li><a href="#">FAQ</a></li>
512
+ </ul>
513
+ </div>
514
+ <div class="footer-section">
515
+ <h3>About</h3>
516
+ <ul>
517
+ <li><a href="#">Our Story</a></li>
518
+ <li><a href="#">Sustainability</a></li>
519
+ <li><a href="#">Careers</a></li>
520
+ <li><a href="#">Press</a></li>
521
+ <li><a href="#">Blog</a></li>
522
+ </ul>
523
+ </div>
524
+ <div class="footer-section">
525
+ <h3>Connect</h3>
526
+ <div class="social-links">
527
+ <a href="#"><i class="fab fa-facebook"></i></a>
528
+ <a href="#"><i class="fab fa-instagram"></i></a>
529
+ <a href="#"><i class="fab fa-twitter"></i></a>
530
+ <a href="#"><i class="fab fa-youtube"></i></a>
531
+ </div>
532
+ <p>Sign up for our newsletter to receive exclusive offers and updates.</p>
533
+ <form>
534
+ <input type="email" placeholder="Your email address">
535
+ <button type="submit">Subscribe</button>
536
+ </form>
537
+ </div>
538
+ </div>
539
+ <div class="copyright">
540
+ <p>&copy; 2023 Ray-Ban. All rights reserved.</p>
541
+ </div>
542
+ </footer>
543
+
544
+ <script>
545
+ // Image thumbnail functionality
546
+ function changeImage(thumbnail) {
547
+ const mainImage = document.getElementById('mainImage');
548
+ const thumbnails = document.querySelectorAll('.thumbnail');
549
+
550
+ // Remove active class from all thumbnails
551
+ thumbnails.forEach(thumb => thumb.classList.remove('active'));
552
+
553
+ // Add active class to clicked thumbnail
554
+ thumbnail.classList.add('active');
555
+
556
+ // Change main image source (in a real app, you would have actual image paths)
557
+ mainImage.src = thumbnail.src.replace('/80/', '/600/');
558
+ }
559
+
560
+ // Color selection functionality
561
+ function selectColor(swatch) {
562
+ const swatches = document.querySelectorAll('.color-swatch');
563
+
564
+ // Remove active class from all swatches
565
+ swatches.forEach(s => s.classList.remove('active'));
566
+
567
+ // Add active class to clicked swatch
568
+ swatch.classList.add('active');
569
+
570
+ // In a real app, you would update the product image and details based on color
571
+ }
572
+
573
+ // Size selection functionality
574
+ function selectSize(button) {
575
+ const sizeButtons = document.querySelectorAll('.size-button');
576
+
577
+ // Remove active class from all size buttons
578
+ sizeButtons.forEach(btn => btn.classList.remove('active'));
579
+
580
+ // Add active class to clicked button
581
+ button.classList.add('active');
582
+ }
583
+
584
+ // Add to cart functionality
585
+ document.querySelector('.add-to-cart').addEventListener('click', function() {
586
+ alert('Product added to cart!');
587
+ // In a real app, you would add the product to the cart and update the cart count
588
+ });
589
+ </script>
590
+ </body>
591
+ </html>