Spaces:
Running
Running
make it completly for free with challanges to score the best results - Initial Deployment
b902dbd verified Download index.html from Oceanrunner/fasting: direct link, hf CLI and curl.
- Browser
- Download file 7.16 kB
-
https://huggingface.co/spaces/Oceanrunner/fasting/resolve/main/index.html
- Command line
-
hf download hf://spaces/Oceanrunner/fasting/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Oceanrunner/fasting/resolve/main/index.html
7.16 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Challenge Arena - Test Your Skills!</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> | |
| @keyframes pulse { | |
| 0%, 100% { transform: scale(1); } | |
| 50% { transform: scale(1.05); } | |
| } | |
| .pulse-animation { | |
| animation: pulse 2s infinite; | |
| } | |
| .progress-ring__circle { | |
| transition: stroke-dashoffset 0.35s; | |
| transform: rotate(-90deg); | |
| transform-origin: 50% 50%; | |
| } | |
| .flip-card { | |
| perspective: 1000px; | |
| } | |
| .flip-card-inner { | |
| transition: transform 0.6s; | |
| transform-style: preserve-3d; | |
| } | |
| .flip-card:hover .flip-card-inner { | |
| transform: rotateY(180deg); | |
| } | |
| .flip-card-front, .flip-card-back { | |
| backface-visibility: hidden; | |
| } | |
| .flip-card-back { | |
| transform: rotateY(180deg); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gradient-to-br from-indigo-900 via-purple-900 to-pink-800 min-h-screen text-white"> | |
| <header class="container mx-auto px-4 py-6"> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i class="fas fa-trophy text-yellow-400 text-3xl"></i> | |
| <h1 class="text-2xl md:text-3xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-yellow-400 to-pink-400"> | |
| Challenge Arena | |
| </h1> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="hidden md:flex items-center space-x-2 bg-white/10 backdrop-blur-sm px-4 py-2 rounded-full"> | |
| <i class="fas fa-coins text-yellow-400"></i> | |
| <span id="totalScore" class="font-bold">0</span> | |
| <span>points</span> | |
| </div> | |
| <button id="soundToggle" class="bg-white/10 hover:bg-white/20 p-2 rounded-full transition"> | |
| <i class="fas fa-volume-up"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <main class="container mx-auto px-4 py-8"> | |
| <!-- Hero Section --> | |
| <section class="text-center mb-16"> | |
| <h2 class="text-4xl md:text-6xl font-bold mb-4 bg-clip-text text-transparent bg-gradient-to-r from-yellow-400 to-pink-400"> | |
| Test Your Skills! | |
| </h2> | |
| <p class="text-lg md:text-xl max-w-3xl mx-auto opacity-90 mb-8"> | |
| Complete challenges, earn points, and climb the leaderboard. How high can you score? | |
| </p> | |
| <div class="flex justify-center space-x-4"> | |
| <button id="startChallenge" class="bg-gradient-to-r from-yellow-400 to-pink-500 hover:from-yellow-500 hover:to-pink-600 text-black font-bold px-8 py-3 rounded-full text-lg transition-all transform hover:scale-105 shadow-lg"> | |
| Start Challenge | |
| </button> | |
| <button id="howToPlay" class="bg-white/10 hover:bg-white/20 px-6 py-3 rounded-full font-medium transition"> | |
| How to Play | |
| </button> | |
| </div> | |
| </section> | |
| <!-- Challenges Grid --> | |
| <section class="mb-16"> | |
| <h3 class="text-2xl font-bold mb-6 flex items-center"> | |
| <i class="fas fa-list-check mr-3 text-yellow-400"></i> | |
| Available Challenges | |
| </h3> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- Challenge 1 --> | |
| <div class="bg-white/5 backdrop-blur-sm rounded-xl overflow-hidden border border-white/10 hover:border-white/20 transition-all transform hover:-translate-y-1 shadow-lg"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb-4"> | |
| <div> | |
| <h4 class="text-xl font-bold flex items-center"> | |
| <i class="fas fa-keyboard mr-2 text-blue-400"></i> | |
| Typing Test | |
| </h4> | |
| <span class="text-sm opacity-75">60 seconds</span> | |
| </div> | |
| <span class="bg-blue-500/20 text-blue-400 px-3 py-1 rounded-full text-sm font-medium">+100 pts</span> | |
| </div> | |
| <p class="opacity-90 mb-4">Type as many words as you can in 60 seconds. Accuracy matters!</p> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-8 h-8 relative"> | |
| <svg class="w-full h-full" viewBox="0 0 36 36"> | |
| <path d="M18 2.0845 | |
| a 15.9155 15.9155 0 0 1 0 31.831 | |
| a 15.9155 15.9155 0 0 1 0 -31.831" | |
| fill="none" stroke="#3b82f6" stroke-width="3" stroke-dasharray="75, 100"/> | |
| </svg> | |
| <span class="absolute inset-0 flex items-center justify-center text-xs font-bold">75%</span> | |
| </div> | |
| <span class="text-sm opacity-75">Difficulty</span> | |
| </div> | |
| <button class="challenge-start bg-blue-500 hover:bg-blue-600 px-4 py-2 rounded-lg text-sm font-medium transition" data-challenge="typing"> | |
| Start | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Challenge 2 --> | |
| <div class="bg-white/5 backdrop-blur-sm rounded-xl overflow-hidden border border-white/10 hover:border-white/20 transition-all transform hover:-translate-y-1 shadow-lg"> | |
| <div class="p-6"> | |
| <div class="flex justify-between items-start mb | |
| <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=Oceanrunner/fasting" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |