Spaces:
Running
Running
make it completly for free with challanges to score the best results - Initial Deployment
Browse files- README.md +6 -4
- index.html +128 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: yellow
|
| 5 |
-
colorTo:
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
|
|
|
|
|
|
| 8 |
---
|
| 9 |
|
| 10 |
-
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 1 |
---
|
| 2 |
+
title: fasting
|
| 3 |
+
emoji: 🐳
|
| 4 |
colorFrom: yellow
|
| 5 |
+
colorTo: gray
|
| 6 |
sdk: static
|
| 7 |
pinned: false
|
| 8 |
+
tags:
|
| 9 |
+
- deepsite
|
| 10 |
---
|
| 11 |
|
| 12 |
+
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
index.html
CHANGED
|
@@ -1,19 +1,128 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>Challenge Arena - Test Your Skills!</title>
|
| 7 |
+
<script src="https://cdn.tailwindcss.com"></script>
|
| 8 |
+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
|
| 9 |
+
<style>
|
| 10 |
+
@keyframes pulse {
|
| 11 |
+
0%, 100% { transform: scale(1); }
|
| 12 |
+
50% { transform: scale(1.05); }
|
| 13 |
+
}
|
| 14 |
+
.pulse-animation {
|
| 15 |
+
animation: pulse 2s infinite;
|
| 16 |
+
}
|
| 17 |
+
.progress-ring__circle {
|
| 18 |
+
transition: stroke-dashoffset 0.35s;
|
| 19 |
+
transform: rotate(-90deg);
|
| 20 |
+
transform-origin: 50% 50%;
|
| 21 |
+
}
|
| 22 |
+
.flip-card {
|
| 23 |
+
perspective: 1000px;
|
| 24 |
+
}
|
| 25 |
+
.flip-card-inner {
|
| 26 |
+
transition: transform 0.6s;
|
| 27 |
+
transform-style: preserve-3d;
|
| 28 |
+
}
|
| 29 |
+
.flip-card:hover .flip-card-inner {
|
| 30 |
+
transform: rotateY(180deg);
|
| 31 |
+
}
|
| 32 |
+
.flip-card-front, .flip-card-back {
|
| 33 |
+
backface-visibility: hidden;
|
| 34 |
+
}
|
| 35 |
+
.flip-card-back {
|
| 36 |
+
transform: rotateY(180deg);
|
| 37 |
+
}
|
| 38 |
+
</style>
|
| 39 |
+
</head>
|
| 40 |
+
<body class="bg-gradient-to-br from-indigo-900 via-purple-900 to-pink-800 min-h-screen text-white">
|
| 41 |
+
<header class="container mx-auto px-4 py-6">
|
| 42 |
+
<div class="flex justify-between items-center">
|
| 43 |
+
<div class="flex items-center space-x-2">
|
| 44 |
+
<i class="fas fa-trophy text-yellow-400 text-3xl"></i>
|
| 45 |
+
<h1 class="text-2xl md:text-3xl font-bold bg-clip-text text-transparent bg-gradient-to-r from-yellow-400 to-pink-400">
|
| 46 |
+
Challenge Arena
|
| 47 |
+
</h1>
|
| 48 |
+
</div>
|
| 49 |
+
<div class="flex items-center space-x-4">
|
| 50 |
+
<div class="hidden md:flex items-center space-x-2 bg-white/10 backdrop-blur-sm px-4 py-2 rounded-full">
|
| 51 |
+
<i class="fas fa-coins text-yellow-400"></i>
|
| 52 |
+
<span id="totalScore" class="font-bold">0</span>
|
| 53 |
+
<span>points</span>
|
| 54 |
+
</div>
|
| 55 |
+
<button id="soundToggle" class="bg-white/10 hover:bg-white/20 p-2 rounded-full transition">
|
| 56 |
+
<i class="fas fa-volume-up"></i>
|
| 57 |
+
</button>
|
| 58 |
+
</div>
|
| 59 |
+
</div>
|
| 60 |
+
</header>
|
| 61 |
+
|
| 62 |
+
<main class="container mx-auto px-4 py-8">
|
| 63 |
+
<!-- Hero Section -->
|
| 64 |
+
<section class="text-center mb-16">
|
| 65 |
+
<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">
|
| 66 |
+
Test Your Skills!
|
| 67 |
+
</h2>
|
| 68 |
+
<p class="text-lg md:text-xl max-w-3xl mx-auto opacity-90 mb-8">
|
| 69 |
+
Complete challenges, earn points, and climb the leaderboard. How high can you score?
|
| 70 |
+
</p>
|
| 71 |
+
<div class="flex justify-center space-x-4">
|
| 72 |
+
<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">
|
| 73 |
+
Start Challenge
|
| 74 |
+
</button>
|
| 75 |
+
<button id="howToPlay" class="bg-white/10 hover:bg-white/20 px-6 py-3 rounded-full font-medium transition">
|
| 76 |
+
How to Play
|
| 77 |
+
</button>
|
| 78 |
+
</div>
|
| 79 |
+
</section>
|
| 80 |
+
|
| 81 |
+
<!-- Challenges Grid -->
|
| 82 |
+
<section class="mb-16">
|
| 83 |
+
<h3 class="text-2xl font-bold mb-6 flex items-center">
|
| 84 |
+
<i class="fas fa-list-check mr-3 text-yellow-400"></i>
|
| 85 |
+
Available Challenges
|
| 86 |
+
</h3>
|
| 87 |
+
|
| 88 |
+
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
|
| 89 |
+
<!-- Challenge 1 -->
|
| 90 |
+
<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">
|
| 91 |
+
<div class="p-6">
|
| 92 |
+
<div class="flex justify-between items-start mb-4">
|
| 93 |
+
<div>
|
| 94 |
+
<h4 class="text-xl font-bold flex items-center">
|
| 95 |
+
<i class="fas fa-keyboard mr-2 text-blue-400"></i>
|
| 96 |
+
Typing Test
|
| 97 |
+
</h4>
|
| 98 |
+
<span class="text-sm opacity-75">60 seconds</span>
|
| 99 |
+
</div>
|
| 100 |
+
<span class="bg-blue-500/20 text-blue-400 px-3 py-1 rounded-full text-sm font-medium">+100 pts</span>
|
| 101 |
+
</div>
|
| 102 |
+
<p class="opacity-90 mb-4">Type as many words as you can in 60 seconds. Accuracy matters!</p>
|
| 103 |
+
<div class="flex justify-between items-center">
|
| 104 |
+
<div class="flex items-center space-x-2">
|
| 105 |
+
<div class="w-8 h-8 relative">
|
| 106 |
+
<svg class="w-full h-full" viewBox="0 0 36 36">
|
| 107 |
+
<path d="M18 2.0845
|
| 108 |
+
a 15.9155 15.9155 0 0 1 0 31.831
|
| 109 |
+
a 15.9155 15.9155 0 0 1 0 -31.831"
|
| 110 |
+
fill="none" stroke="#3b82f6" stroke-width="3" stroke-dasharray="75, 100"/>
|
| 111 |
+
</svg>
|
| 112 |
+
<span class="absolute inset-0 flex items-center justify-center text-xs font-bold">75%</span>
|
| 113 |
+
</div>
|
| 114 |
+
<span class="text-sm opacity-75">Difficulty</span>
|
| 115 |
+
</div>
|
| 116 |
+
<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">
|
| 117 |
+
Start
|
| 118 |
+
</button>
|
| 119 |
+
</div>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
|
| 123 |
+
<!-- Challenge 2 -->
|
| 124 |
+
<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">
|
| 125 |
+
<div class="p-6">
|
| 126 |
+
<div class="flex justify-between items-start mb
|
| 127 |
+
<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>
|
| 128 |
+
</html>
|