Spaces:
Running
Running
Download index.html from Design-28/prizes-section: direct link, hf CLI and curl.
- Browser
- Download file 18.7 kB
-
https://huggingface.co/spaces/Design-28/prizes-section/resolve/main/index.html
- Command line
-
hf download hf://spaces/Design-28/prizes-section/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Design-28/prizes-section/resolve/main/index.html
18.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>AI Classroom - Prizes Showcase</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background-color: #F9FBFF; | |
| } | |
| .gradient-text { | |
| background: linear-gradient(90deg, #D6C8F4 0%, #B1D5F7 100%); | |
| -webkit-background-clip: text; | |
| background-clip: text; | |
| color: transparent; | |
| } | |
| .prize-card { | |
| transition: all 0.3s ease; | |
| transform: translateY(0); | |
| } | |
| .prize-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(177, 213, 247, 0.3); | |
| } | |
| .popular-badge { | |
| animation: pulse 2s infinite; | |
| } | |
| .sparkle { | |
| position: absolute; | |
| width: 8px; | |
| height: 8px; | |
| background: #FFD700; | |
| border-radius: 50%; | |
| pointer-events: none; | |
| opacity: 0; | |
| } | |
| @keyframes pulse { | |
| 0% { transform: scale(1); } | |
| 50% { transform: scale(1.05); } | |
| 100% { transform: scale(1); } | |
| } | |
| .carousel { | |
| scroll-snap-type: x mandatory; | |
| } | |
| .carousel-item { | |
| scroll-snap-align: start; | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen py-12 px-4 sm:px-6 lg:px-8"> | |
| <div class="max-w-7xl mx-auto"> | |
| <!-- Section Header --> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-4xl md:text-5xl font-bold mb-4"> | |
| <span class="gradient-text">🏆 Some Amazing Prizes You Can Win</span> | |
| </h2> | |
| <p class="text-lg text-gray-600 max-w-3xl mx-auto"> | |
| We reward your curiosity. Here are just a few of the exciting rewards you could win by participating in weekly contests. | |
| </p> | |
| </div> | |
| <!-- Prizes Grid (Desktop) --> | |
| <div class="hidden md:grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-8 mb-8"> | |
| <!-- Prize Card 1 --> | |
| <div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer" | |
| onmouseenter="addSparkles(this)"> | |
| <div class="absolute top-4 right-4 bg-yellow-100 text-yellow-800 text-xs font-semibold px-2 py-1 rounded-full popular-badge"> | |
| Popular | |
| </div> | |
| <div class="flex justify-center mb-6"> | |
| <div class="w-40 h-40 bg-gradient-to-br from-purple-100 to-blue-100 rounded-lg flex items-center justify-center"> | |
| <i class="fas fa-laptop text-6xl text-purple-500"></i> | |
| </div> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-800 mb-2">Apple MacBook Air</h3> | |
| <p class="text-gray-600 mb-4">Latest M2 chip, 13-inch Retina display, perfect for coding and design.</p> | |
| <div class="flex items-center"> | |
| <span class="bg-purple-100 text-purple-800 text-sm font-medium px-3 py-1 rounded-full"> | |
| <i class="fas fa-trophy mr-1"></i> Top 1 Winner | |
| </span> | |
| </div> | |
| </div> | |
| <!-- Prize Card 2 --> | |
| <div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer" | |
| onmouseenter="addSparkles(this)"> | |
| <div class="flex justify-center mb-6"> | |
| <div class="w-40 h-40 bg-gradient-to-br from-blue-100 to-cyan-100 rounded-lg flex items-center justify-center"> | |
| <i class="fas fa-tablet-alt text-6xl text-blue-500"></i> | |
| </div> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-800 mb-2">Apple iPad Pro</h3> | |
| <p class="text-gray-600 mb-4">12.9-inch Liquid Retina XDR display with M1 chip.</p> | |
| <div class="flex items-center"> | |
| <span class="bg-blue-100 text-blue-800 text-sm font-medium px-3 py-1 rounded-full"> | |
| <i class="fas fa-medal mr-1"></i> Top 3 Winners | |
| </span> | |
| </div> | |
| </div> | |
| <!-- Prize Card 3 --> | |
| <div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer" | |
| onmouseenter="addSparkles(this)"> | |
| <div class="absolute top-4 right-4 bg-green-100 text-green-800 text-xs font-semibold px-2 py-1 rounded-full"> | |
| New | |
| </div> | |
| <div class="flex justify-center mb-6"> | |
| <div class="w-40 h-40 bg-gradient-to-br from-green-100 to-teal-100 rounded-lg flex items-center justify-center"> | |
| <i class="fas fa-watch text-6xl text-green-500"></i> | |
| </div> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-800 mb-2">Apple Watch Series 8</h3> | |
| <p class="text-gray-600 mb-4">Advanced health monitoring and fitness tracking.</p> | |
| <div class="flex items-center"> | |
| <span class="bg-green-100 text-green-800 text-sm font-medium px-3 py-1 rounded-full"> | |
| <i class="fas fa-coins mr-1"></i> 750 Coins | |
| </span> | |
| </div> | |
| </div> | |
| <!-- Prize Card 4 --> | |
| <div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer"> | |
| <div class="flex justify-center mb-6"> | |
| <div class="w-40 h-40 bg-gradient-to-br from-red-100 to-pink-100 rounded-lg flex items-center justify-center"> | |
| <i class="fas fa-headphones text-6xl text-red-500"></i> | |
| </div> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-800 mb-2">Sony WH-1000XM5</h3> | |
| <p class="text-gray-600 mb-4">Industry-leading noise canceling headphones.</p> | |
| <div class="flex items-center"> | |
| <span class="bg-red-100 text-red-800 text-sm font-medium px-3 py-1 rounded-full"> | |
| <i class="fas fa-medal mr-1"></i> Top 5 Winners | |
| </span> | |
| </div> | |
| </div> | |
| <!-- Prize Card 5 --> | |
| <div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer"> | |
| <div class="flex justify-center mb-6"> | |
| <div class="w-40 h-40 bg-gradient-to-br from-yellow-100 to-orange-100 rounded-lg flex items-center justify-center"> | |
| <i class="fas fa-gamepad text-6xl text-yellow-500"></i> | |
| </div> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-800 mb-2">PlayStation 5</h3> | |
| <p class="text-gray-600 mb-4">Next-gen gaming console with ultra-high speed SSD.</p> | |
| <div class="flex items-center"> | |
| <span class="bg-yellow-100 text-yellow-800 text-sm font-medium px-3 py-1 rounded-full"> | |
| <i class="fas fa-trophy mr-1"></i> Top 1 Winner | |
| </span> | |
| </div> | |
| </div> | |
| <!-- Prize Card 6 --> | |
| <div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer"> | |
| <div class="flex justify-center mb-6"> | |
| <div class="w-40 h-40 bg-gradient-to-br from-indigo-100 to-purple-100 rounded-lg flex items-center justify-center"> | |
| <i class="fas fa-graduation-cap text-6xl text-indigo-500"></i> | |
| </div> | |
| </div> | |
| <h3 class="text-xl font-bold text-gray-800 mb-2">Premium Course Bundle</h3> | |
| <p class="text-gray-600 mb-4">Access to all AI Classroom premium courses for 1 year.</p> | |
| <div class="flex items-center"> | |
| <span class="bg-indigo-100 text-indigo-800 text-sm font-medium px-3 py-1 rounded-full"> | |
| <i class="fas fa-coins mr-1"></i> 300 Coins | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Prizes Carousel (Mobile) --> | |
| <div class="md:hidden mb-8"> | |
| <div class="carousel flex overflow-x-auto pb-4 gap-4" style="scrollbar-width: none;"> | |
| <div class="carousel-item flex-none w-64"> | |
| <div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer"> | |
| <div class="absolute top-4 right-4 bg-yellow-100 text-yellow-800 text-xs font-semibold px-2 py-1 rounded-full popular-badge"> | |
| Popular | |
| </div> | |
| <div class="flex justify-center mb-6"> | |
| <div class="w-32 h-32 bg-gradient-to-br from-purple-100 to-blue-100 rounded-lg flex items-center justify-center"> | |
| <i class="fas fa-laptop text-5xl text-purple-500"></i> | |
| </div> | |
| </div> | |
| <h3 class="text-lg font-bold text-gray-800 mb-2">MacBook Air</h3> | |
| <p class="text-sm text-gray-600 mb-4">M2 chip, 13-inch Retina display</p> | |
| <div class="flex items-center"> | |
| <span class="bg-purple-100 text-purple-800 text-xs font-medium px-2 py-1 rounded-full"> | |
| <i class="fas fa-trophy mr-1"></i> Top 1 | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="carousel-item flex-none w-64"> | |
| <div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer"> | |
| <div class="flex justify-center mb-6"> | |
| <div class="w-32 h-32 bg-gradient-to-br from-blue-100 to-cyan-100 rounded-lg flex items-center justify-center"> | |
| <i class="fas fa-tablet-alt text-5xl text-blue-500"></i> | |
| </div> | |
| </div> | |
| <h3 class="text-lg font-bold text-gray-800 mb-2">iPad Pro</h3> | |
| <p class="text-sm text-gray-600 mb-4">12.9-inch with M1 chip</p> | |
| <div class="flex items-center"> | |
| <span class="bg-blue-100 text-blue-800 text-xs font-medium px-2 py-1 rounded-full"> | |
| <i class="fas fa-medal mr-1"></i> Top 3 | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="carousel-item flex-none w-64"> | |
| <div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer"> | |
| <div class="absolute top-4 right-4 bg-green-100 text-green-800 text-xs font-semibold px-2 py-1 rounded-full"> | |
| New | |
| </div> | |
| <div class="flex justify-center mb-6"> | |
| <div class="w-32 h-32 bg-gradient-to-br from-green-100 to-teal-100 rounded-lg flex items-center justify-center"> | |
| <i class="fas fa-watch text-5xl text-green-500"></i> | |
| </div> | |
| </div> | |
| <h3 class="text-lg font-bold text-gray-800 mb-2">Apple Watch</h3> | |
| <p class="text-sm text-gray-600 mb-4">Series 8 with health monitoring</p> | |
| <div class="flex items-center"> | |
| <span class="bg-green-100 text-green-800 text-xs font-medium px-2 py-1 rounded-full"> | |
| <i class="fas fa-coins mr-1"></i> 750 | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="carousel-item flex-none w-64"> | |
| <div class="prize-card bg-white rounded-xl p-6 shadow-md relative overflow-hidden hover:shadow-lg transition-all duration-300 cursor-pointer"> | |
| <div class="flex justify-center mb-6"> | |
| <div class="w-32 h-32 bg-gradient-to-br from-red-100 to-pink-100 rounded-lg flex items-center justify-center"> | |
| <i class="fas fa-headphones text-5xl text-red-500"></i> | |
| </div> | |
| </div> | |
| <h3 class="text-lg font-bold text-gray-800 mb-2">Sony Headphones</h3> | |
| <p class="text-sm text-gray-600 mb-4">WH-1000XM5 noise canceling</p> | |
| <div class="flex items-center"> | |
| <span class="bg-red-100 text-red-800 text-xs font-medium px-2 py-1 rounded-full"> | |
| <i class="fas fa-medal mr-1"></i> Top 5 | |
| </span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- View All Button --> | |
| <div class="text-center mt-8"> | |
| <button class="bg-gradient-to-r from-purple-400 to-blue-500 hover:from-purple-500 hover:to-blue-600 text-white font-semibold py-3 px-8 rounded-full shadow-md transition-all duration-300 transform hover:scale-105"> | |
| View All Prizes | |
| <i class="fas fa-arrow-right ml-2"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <script> | |
| // Function to add sparkle effects | |
| function addSparkles(element) { | |
| // Only add sparkles to premium prizes | |
| if(element.querySelector('.fa-trophy') || element.querySelector('.popular-badge')) { | |
| const colors = ['#FFD700', '#FFA500', '#FF6347', '#FF69B4', '#9370DB']; | |
| for(let i = 0; i < 15; i++) { | |
| const sparkle = document.createElement('div'); | |
| sparkle.classList.add('sparkle'); | |
| // Random position | |
| const rect = element.getBoundingClientRect(); | |
| const x = Math.random() * rect.width; | |
| const y = Math.random() * rect.height; | |
| sparkle.style.left = `${x}px`; | |
| sparkle.style.top = `${y}px`; | |
| sparkle.style.background = colors[Math.floor(Math.random() * colors.length)]; | |
| element.appendChild(sparkle); | |
| // Animate sparkle | |
| setTimeout(() => { | |
| sparkle.style.opacity = '0.8'; | |
| sparkle.style.transform = 'scale(1.5)'; | |
| setTimeout(() => { | |
| sparkle.style.opacity = '0'; | |
| sparkle.style.transform = 'scale(0.5)'; | |
| setTimeout(() => { | |
| if(sparkle.parentNode) { | |
| sparkle.parentNode.removeChild(sparkle); | |
| } | |
| }, 300); | |
| }, 500); | |
| }, Math.random() * 300); | |
| } | |
| } | |
| } | |
| // Add tooltip functionality | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const prizeCards = document.querySelectorAll('.prize-card'); | |
| prizeCards.forEach(card => { | |
| // Create tooltip | |
| const tooltip = document.createElement('div'); | |
| tooltip.className = 'absolute z-10 invisible bg-gray-800 text-white text-xs rounded py-1 px-2 bottom-full mb-2 left-1/2 transform -translate-x-1/2 whitespace-nowrap'; | |
| // Set tooltip content based on prize | |
| if(card.querySelector('.fa-trophy')) { | |
| tooltip.textContent = 'Awarded to contest winner with highest score'; | |
| } else if(card.querySelector('.fa-medal')) { | |
| tooltip.textContent = 'Awarded to top performers in weekly contest'; | |
| } else if(card.querySelector('.fa-coins')) { | |
| tooltip.textContent = 'Redeemable in our rewards marketplace'; | |
| } | |
| card.appendChild(tooltip); | |
| // Show/hide tooltip | |
| card.addEventListener('mouseenter', function() { | |
| tooltip.classList.remove('invisible'); | |
| }); | |
| card.addEventListener('mouseleave', function() { | |
| tooltip.classList.add('invisible'); | |
| }); | |
| }); | |
| }); | |
| </script> | |
| <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=Design-28/prizes-section" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |