Spaces:
Running
Running
Add 3 files
Browse files- README.md +6 -4
- index.html +257 -19
- prompts.txt +1 -0
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: timer
|
| 3 |
+
emoji: 🐳
|
| 4 |
colorFrom: yellow
|
| 5 |
+
colorTo: purple
|
| 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,257 @@
|
|
| 1 |
-
<!
|
| 2 |
-
<html>
|
| 3 |
-
|
| 4 |
-
|
| 5 |
-
|
| 6 |
-
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
|
| 12 |
-
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 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>Season Countdown Timer</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 |
+
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Poppins:wght@300;400;600&display=swap');
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Poppins', sans-serif;
|
| 14 |
+
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
| 15 |
+
min-height: 100vh;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.title-font {
|
| 19 |
+
font-family: 'Playfair Display', serif;
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
.season-card {
|
| 23 |
+
background: rgba(255, 255, 255, 0.8);
|
| 24 |
+
backdrop-filter: blur(10px);
|
| 25 |
+
border-radius: 20px;
|
| 26 |
+
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
|
| 27 |
+
transition: all 0.3s ease;
|
| 28 |
+
}
|
| 29 |
+
|
| 30 |
+
.season-card:hover {
|
| 31 |
+
transform: translateY(-5px);
|
| 32 |
+
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
|
| 33 |
+
}
|
| 34 |
+
|
| 35 |
+
.countdown-item {
|
| 36 |
+
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
| 37 |
+
color: white;
|
| 38 |
+
border-radius: 12px;
|
| 39 |
+
}
|
| 40 |
+
|
| 41 |
+
.progress-bar {
|
| 42 |
+
height: 6px;
|
| 43 |
+
background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
|
| 44 |
+
border-radius: 3px;
|
| 45 |
+
transition: width 0.5s ease;
|
| 46 |
+
}
|
| 47 |
+
|
| 48 |
+
.leaf {
|
| 49 |
+
position: absolute;
|
| 50 |
+
opacity: 0.7;
|
| 51 |
+
animation: float 10s infinite ease-in-out;
|
| 52 |
+
}
|
| 53 |
+
|
| 54 |
+
@keyframes float {
|
| 55 |
+
0%, 100% {
|
| 56 |
+
transform: translateY(0) rotate(0deg);
|
| 57 |
+
}
|
| 58 |
+
50% {
|
| 59 |
+
transform: translateY(-20px) rotate(10deg);
|
| 60 |
+
}
|
| 61 |
+
}
|
| 62 |
+
</style>
|
| 63 |
+
</head>
|
| 64 |
+
<body class="flex flex-col items-center justify-center p-4">
|
| 65 |
+
<div class="absolute top-0 left-0 w-full h-full overflow-hidden pointer-events-none">
|
| 66 |
+
<i class="leaf fas fa-leaf text-green-400 text-xl" style="top: 10%; left: 5%; animation-delay: 0s;"></i>
|
| 67 |
+
<i class="leaf fas fa-leaf text-yellow-400 text-2xl" style="top: 30%; left: 15%; animation-delay: 2s;"></i>
|
| 68 |
+
<i class="leaf fas fa-leaf text-orange-500 text-lg" style="top: 20%; right: 10%; animation-delay: 4s;"></i>
|
| 69 |
+
<i class="leaf fas fa-leaf text-red-400 text-xl" style="bottom: 15%; left: 20%; animation-delay: 1s;"></i>
|
| 70 |
+
<i class="leaf fas fa-leaf text-green-500 text-2xl" style="bottom: 25%; right: 15%; animation-delay: 3s;"></i>
|
| 71 |
+
</div>
|
| 72 |
+
|
| 73 |
+
<div class="text-center mb-8">
|
| 74 |
+
<h1 class="title-font text-4xl md:text-5xl font-bold text-gray-800 mb-2">Season Countdown</h1>
|
| 75 |
+
<p class="text-gray-600 max-w-md">Mark your calendars! The excitement begins soon with the Golden Ticket tournament leading into the new season.</p>
|
| 76 |
+
</div>
|
| 77 |
+
|
| 78 |
+
<div class="w-full max-w-4xl grid grid-cols-1 md:grid-cols-2 gap-6">
|
| 79 |
+
<!-- Golden Ticket Tournament Card -->
|
| 80 |
+
<div class="season-card p-6 relative overflow-hidden">
|
| 81 |
+
<div class="absolute -right-10 -top-10 w-32 h-32 bg-purple-200 rounded-full opacity-20"></div>
|
| 82 |
+
<div class="absolute -left-10 -bottom-10 w-40 h-40 bg-yellow-200 rounded-full opacity-20"></div>
|
| 83 |
+
|
| 84 |
+
<div class="relative z-10">
|
| 85 |
+
<div class="flex items-center mb-4">
|
| 86 |
+
<div class="w-12 h-12 rounded-full bg-purple-100 flex items-center justify-center mr-4">
|
| 87 |
+
<i class="fas fa-ticket-alt text-purple-600 text-xl"></i>
|
| 88 |
+
</div>
|
| 89 |
+
<h2 class="title-font text-2xl font-bold text-gray-800">Golden Ticket Tournament</h2>
|
| 90 |
+
</div>
|
| 91 |
+
|
| 92 |
+
<p class="text-gray-600 mb-6">The exclusive tournament that kicks off the competitive season.</p>
|
| 93 |
+
|
| 94 |
+
<div class="mb-4">
|
| 95 |
+
<p class="text-sm text-gray-500 mb-1">Starts in:</p>
|
| 96 |
+
<div class="grid grid-cols-4 gap-2">
|
| 97 |
+
<div class="countdown-item p-3 text-center">
|
| 98 |
+
<div class="text-2xl font-bold" id="gt-days">00</div>
|
| 99 |
+
<div class="text-xs">Days</div>
|
| 100 |
+
</div>
|
| 101 |
+
<div class="countdown-item p-3 text-center">
|
| 102 |
+
<div class="text-2xl font-bold" id="gt-hours">00</div>
|
| 103 |
+
<div class="text-xs">Hours</div>
|
| 104 |
+
</div>
|
| 105 |
+
<div class="countdown-item p-3 text-center">
|
| 106 |
+
<div class="text-2xl font-bold" id="gt-minutes">00</div>
|
| 107 |
+
<div class="text-xs">Minutes</div>
|
| 108 |
+
</div>
|
| 109 |
+
<div class="countdown-item p-3 text-center">
|
| 110 |
+
<div class="text-2xl font-bold" id="gt-seconds">00</div>
|
| 111 |
+
<div class="text-xs">Seconds</div>
|
| 112 |
+
</div>
|
| 113 |
+
</div>
|
| 114 |
+
</div>
|
| 115 |
+
|
| 116 |
+
<div class="mb-2">
|
| 117 |
+
<p class="text-sm text-gray-500">Countdown progress:</p>
|
| 118 |
+
<div class="w-full bg-gray-200 rounded-full h-2 mt-1">
|
| 119 |
+
<div class="progress-bar h-2 rounded-full" id="gt-progress"></div>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
|
| 123 |
+
<div class="flex items-center text-sm text-gray-500 mt-4">
|
| 124 |
+
<i class="far fa-calendar-alt mr-2"></i>
|
| 125 |
+
<span>September 1, 2025</span>
|
| 126 |
+
</div>
|
| 127 |
+
</div>
|
| 128 |
+
</div>
|
| 129 |
+
|
| 130 |
+
<!-- Season Start Card -->
|
| 131 |
+
<div class="season-card p-6 relative overflow-hidden">
|
| 132 |
+
<div class="absolute -right-10 -top-10 w-32 h-32 bg-blue-200 rounded-full opacity-20"></div>
|
| 133 |
+
<div class="absolute -left-10 -bottom-10 w-40 h-40 bg-green-200 rounded-full opacity-20"></div>
|
| 134 |
+
|
| 135 |
+
<div class="relative z-10">
|
| 136 |
+
<div class="flex items-center mb-4">
|
| 137 |
+
<div class="w-12 h-12 rounded-full bg-blue-100 flex items-center justify-center mr-4">
|
| 138 |
+
<i class="fas fa-flag-checkered text-blue-600 text-xl"></i>
|
| 139 |
+
</div>
|
| 140 |
+
<h2 class="title-font text-2xl font-bold text-gray-800">Season Start</h2>
|
| 141 |
+
</div>
|
| 142 |
+
|
| 143 |
+
<p class="text-gray-600 mb-6">The official beginning of the competitive season.</p>
|
| 144 |
+
|
| 145 |
+
<div class="mb-4">
|
| 146 |
+
<p class="text-sm text-gray-500 mb-1">Starts in:</p>
|
| 147 |
+
<div class="grid grid-cols-4 gap-2">
|
| 148 |
+
<div class="countdown-item p-3 text-center">
|
| 149 |
+
<div class="text-2xl font-bold" id="season-days">00</div>
|
| 150 |
+
<div class="text-xs">Days</div>
|
| 151 |
+
</div>
|
| 152 |
+
<div class="countdown-item p-3 text-center">
|
| 153 |
+
<div class="text-2xl font-bold" id="season-hours">00</div>
|
| 154 |
+
<div class="text-xs">Hours</div>
|
| 155 |
+
</div>
|
| 156 |
+
<div class="countdown-item p-3 text-center">
|
| 157 |
+
<div class="text-2xl font-bold" id="season-minutes">00</div>
|
| 158 |
+
<div class="text-xs">Minutes</div>
|
| 159 |
+
</div>
|
| 160 |
+
<div class="countdown-item p-3 text-center">
|
| 161 |
+
<div class="text-2xl font-bold" id="season-seconds">00</div>
|
| 162 |
+
<div class="text-xs">Seconds</div>
|
| 163 |
+
</div>
|
| 164 |
+
</div>
|
| 165 |
+
</div>
|
| 166 |
+
|
| 167 |
+
<div class="mb-2">
|
| 168 |
+
<p class="text-sm text-gray-500">Countdown progress:</p>
|
| 169 |
+
<div class="w-full bg-gray-200 rounded-full h-2 mt-1">
|
| 170 |
+
<div class="progress-bar h-2 rounded-full" id="season-progress"></div>
|
| 171 |
+
</div>
|
| 172 |
+
</div>
|
| 173 |
+
|
| 174 |
+
<div class="flex items-center text-sm text-gray-500 mt-4">
|
| 175 |
+
<i class="far fa-calendar-alt mr-2"></i>
|
| 176 |
+
<span>September 4, 2025</span>
|
| 177 |
+
</div>
|
| 178 |
+
</div>
|
| 179 |
+
</div>
|
| 180 |
+
</div>
|
| 181 |
+
|
| 182 |
+
<div class="mt-8 text-center text-gray-500 text-sm">
|
| 183 |
+
<p>Get ready for an exciting season of competition!</p>
|
| 184 |
+
</div>
|
| 185 |
+
|
| 186 |
+
<script>
|
| 187 |
+
// Set the target dates
|
| 188 |
+
const goldenTicketDate = new Date('September 1, 2025 00:00:00').getTime();
|
| 189 |
+
const seasonStartDate = new Date('September 4, 2025 00:00:00').getTime();
|
| 190 |
+
|
| 191 |
+
// Get current date for reference point
|
| 192 |
+
const now = new Date().getTime();
|
| 193 |
+
|
| 194 |
+
// Calculate the full duration from now to each event
|
| 195 |
+
const fullGtDuration = goldenTicketDate - now;
|
| 196 |
+
const fullSeasonDuration = seasonStartDate - now;
|
| 197 |
+
|
| 198 |
+
// Update the countdown every second
|
| 199 |
+
const countdown = setInterval(function() {
|
| 200 |
+
const now = new Date().getTime();
|
| 201 |
+
|
| 202 |
+
// Golden Ticket calculations
|
| 203 |
+
const gtDistance = goldenTicketDate - now;
|
| 204 |
+
const gtDays = Math.floor(gtDistance / (1000 * 60 * 60 * 24));
|
| 205 |
+
const gtHours = Math.floor((gtDistance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
| 206 |
+
const gtMinutes = Math.floor((gtDistance % (1000 * 60 * 60)) / (1000 * 60));
|
| 207 |
+
const gtSeconds = Math.floor((gtDistance % (1000 * 60)) / 1000);
|
| 208 |
+
|
| 209 |
+
// Update Golden Ticket display
|
| 210 |
+
document.getElementById("gt-days").innerHTML = gtDays.toString().padStart(2, '0');
|
| 211 |
+
document.getElementById("gt-hours").innerHTML = gtHours.toString().padStart(2, '0');
|
| 212 |
+
document.getElementById("gt-minutes").innerHTML = gtMinutes.toString().padStart(2, '0');
|
| 213 |
+
document.getElementById("gt-seconds").innerHTML = gtSeconds.toString().padStart(2, '0');
|
| 214 |
+
|
| 215 |
+
// Calculate Golden Ticket progress (inverse since we're counting down)
|
| 216 |
+
const gtProgress = ((fullGtDuration - gtDistance) / fullGtDuration) * 100;
|
| 217 |
+
document.getElementById("gt-progress").style.width = Math.min(100, Math.max(0, gtProgress)) + "%";
|
| 218 |
+
|
| 219 |
+
// Season Start calculations
|
| 220 |
+
const seasonDistance = seasonStartDate - now;
|
| 221 |
+
const seasonDays = Math.floor(seasonDistance / (1000 * 60 * 60 * 24));
|
| 222 |
+
const seasonHours = Math.floor((seasonDistance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
|
| 223 |
+
const seasonMinutes = Math.floor((seasonDistance % (1000 * 60 * 60)) / (1000 * 60));
|
| 224 |
+
const seasonSeconds = Math.floor((seasonDistance % (1000 * 60)) / 1000);
|
| 225 |
+
|
| 226 |
+
// Update Season Start display
|
| 227 |
+
document.getElementById("season-days").innerHTML = seasonDays.toString().padStart(2, '0');
|
| 228 |
+
document.getElementById("season-hours").innerHTML = seasonHours.toString().padStart(2, '0');
|
| 229 |
+
document.getElementById("season-minutes").innerHTML = seasonMinutes.toString().padStart(2, '0');
|
| 230 |
+
document.getElementById("season-seconds").innerHTML = seasonSeconds.toString().padStart(2, '0');
|
| 231 |
+
|
| 232 |
+
// Calculate Season Start progress (inverse since we're counting down)
|
| 233 |
+
const seasonProgress = ((fullSeasonDuration - seasonDistance) / fullSeasonDuration) * 100;
|
| 234 |
+
document.getElementById("season-progress").style.width = Math.min(100, Math.max(0, seasonProgress)) + "%";
|
| 235 |
+
|
| 236 |
+
// If the countdown is finished for either event
|
| 237 |
+
if (gtDistance < 0) {
|
| 238 |
+
clearInterval(countdown);
|
| 239 |
+
document.getElementById("gt-days").innerHTML = "00";
|
| 240 |
+
document.getElementById("gt-hours").innerHTML = "00";
|
| 241 |
+
document.getElementById("gt-minutes").innerHTML = "00";
|
| 242 |
+
document.getElementById("gt-seconds").innerHTML = "00";
|
| 243 |
+
document.getElementById("gt-progress").style.width = "100%";
|
| 244 |
+
}
|
| 245 |
+
|
| 246 |
+
if (seasonDistance < 0) {
|
| 247 |
+
clearInterval(countdown);
|
| 248 |
+
document.getElementById("season-days").innerHTML = "00";
|
| 249 |
+
document.getElementById("season-hours").innerHTML = "00";
|
| 250 |
+
document.getElementById("season-minutes").innerHTML = "00";
|
| 251 |
+
document.getElementById("season-seconds").innerHTML = "00";
|
| 252 |
+
document.getElementById("season-progress").style.width = "100%";
|
| 253 |
+
}
|
| 254 |
+
}, 1000);
|
| 255 |
+
</script>
|
| 256 |
+
<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=cyberheronova69/timer" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 257 |
+
</html>
|
prompts.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
Where is the timer with the season starting Sept. 4,2025 with the Golden Ticket tournament starts Sept.1, 2025
|