Spaces:
Paused
Paused
Add 2 files
Browse files- README.md +7 -5
- index.html +426 -19
README.md
CHANGED
|
@@ -1,10 +1,12 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 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: aqu-bells
|
| 3 |
+
emoji: 🐳
|
| 4 |
+
colorFrom: pink
|
| 5 |
+
colorTo: yellow
|
| 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,426 @@
|
|
| 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>Aquapod - Bell Economy</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=Inter:wght@300;400;600;700&display=swap');
|
| 11 |
+
|
| 12 |
+
body {
|
| 13 |
+
font-family: 'Inter', sans-serif;
|
| 14 |
+
background-color: #f8fafc;
|
| 15 |
+
color: #1e293b;
|
| 16 |
+
}
|
| 17 |
+
|
| 18 |
+
.bell-animation {
|
| 19 |
+
animation: ring 2s ease-in-out infinite;
|
| 20 |
+
transform-origin: top center;
|
| 21 |
+
}
|
| 22 |
+
|
| 23 |
+
@keyframes ring {
|
| 24 |
+
0% { transform: rotate(0deg); }
|
| 25 |
+
25% { transform: rotate(5deg); }
|
| 26 |
+
50% { transform: rotate(-5deg); }
|
| 27 |
+
75% { transform: rotate(2deg); }
|
| 28 |
+
100% { transform: rotate(0deg); }
|
| 29 |
+
}
|
| 30 |
+
|
| 31 |
+
.floating-panel {
|
| 32 |
+
transition: all 0.3s ease;
|
| 33 |
+
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
|
| 34 |
+
}
|
| 35 |
+
|
| 36 |
+
.floating-panel.closed {
|
| 37 |
+
transform: translateY(100%);
|
| 38 |
+
opacity: 0;
|
| 39 |
+
pointer-events: none;
|
| 40 |
+
}
|
| 41 |
+
|
| 42 |
+
.bell-tone {
|
| 43 |
+
position: absolute;
|
| 44 |
+
width: 0;
|
| 45 |
+
height: 0;
|
| 46 |
+
opacity: 0;
|
| 47 |
+
}
|
| 48 |
+
</style>
|
| 49 |
+
</head>
|
| 50 |
+
<body class="min-h-screen">
|
| 51 |
+
<!-- Floating Action Buttons -->
|
| 52 |
+
<div class="fixed bottom-6 right-6 space-y-3 z-50">
|
| 53 |
+
<button id="services-btn" class="w-14 h-14 bg-blue-600 text-white rounded-full flex items-center justify-center shadow-lg hover:bg-blue-700 transition">
|
| 54 |
+
<i class="fas fa-concierge-bell text-xl"></i>
|
| 55 |
+
</button>
|
| 56 |
+
<button id="defi-btn" class="w-14 h-14 bg-green-600 text-white rounded-full flex items-center justify-center shadow-lg hover:bg-green-700 transition">
|
| 57 |
+
<i class="fas fa-coins text-xl"></i>
|
| 58 |
+
</button>
|
| 59 |
+
<button id="contact-btn" class="w-14 h-14 bg-purple-600 text-white rounded-full flex items-center justify-center shadow-lg hover:bg-purple-700 transition">
|
| 60 |
+
<i class="fas fa-envelope text-xl"></i>
|
| 61 |
+
</button>
|
| 62 |
+
</div>
|
| 63 |
+
|
| 64 |
+
<!-- Current Time Bell Display -->
|
| 65 |
+
<div class="container mx-auto px-4 py-8">
|
| 66 |
+
<div class="flex flex-col items-center justify-center min-h-[60vh]">
|
| 67 |
+
<div class="relative mb-8">
|
| 68 |
+
<div id="current-bell" class="bg-blue-100 rounded-full p-8 shadow-lg">
|
| 69 |
+
<i class="fas fa-bell text-blue-600 text-6xl bell-animation"></i>
|
| 70 |
+
</div>
|
| 71 |
+
<div id="bell-count" class="absolute -top-2 -right-2 bg-red-500 text-white rounded-full w-12 h-12 flex items-center justify-center font-bold text-xl">1</div>
|
| 72 |
+
</div>
|
| 73 |
+
|
| 74 |
+
<h1 id="bell-time" class="text-4xl font-bold text-center mb-2">12:30 PM</h1>
|
| 75 |
+
<p id="bell-duration" class="text-xl text-gray-600 mb-6">1 Bell (1:30 Hours)</p>
|
| 76 |
+
|
| 77 |
+
<div class="bg-white rounded-lg shadow-md p-6 max-w-md w-full text-center">
|
| 78 |
+
<h3 class="text-xl font-semibold mb-2">Current Service Cost</h3>
|
| 79 |
+
<p class="text-gray-700 mb-4">Based on the current bell time</p>
|
| 80 |
+
<div class="p-3 bg-blue-50 rounded-lg">
|
| 81 |
+
<p class="text-blue-700 font-medium text-lg">10 <span class="text-blue-900">AQUAPOD</span></p>
|
| 82 |
+
</div>
|
| 83 |
+
</div>
|
| 84 |
+
</div>
|
| 85 |
+
</div>
|
| 86 |
+
|
| 87 |
+
<!-- Floating Panels -->
|
| 88 |
+
<div id="services-panel" class="fixed bottom-0 left-0 right-0 bg-white rounded-t-3xl p-6 floating-panel closed transition-all duration-300 z-40" style="height: 70vh;">
|
| 89 |
+
<div class="flex justify-between items-center mb-6">
|
| 90 |
+
<h2 class="text-2xl font-bold">Community Services</h2>
|
| 91 |
+
<button id="close-services" class="text-gray-500 hover:text-gray-700">
|
| 92 |
+
<i class="fas fa-times text-xl"></i>
|
| 93 |
+
</button>
|
| 94 |
+
</div>
|
| 95 |
+
|
| 96 |
+
<div class="overflow-y-auto h-[calc(70vh-80px)] space-y-4">
|
| 97 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 98 |
+
<div class="flex items-center">
|
| 99 |
+
<div class="bg-blue-100 p-3 rounded-full mr-4">
|
| 100 |
+
<i class="fas fa-home text-blue-600"></i>
|
| 101 |
+
</div>
|
| 102 |
+
<div class="flex-grow">
|
| 103 |
+
<h3 class="font-semibold">Floating Home Services</h3>
|
| 104 |
+
<p class="text-gray-600 text-sm">Minor repairs and maintenance</p>
|
| 105 |
+
</div>
|
| 106 |
+
<div class="text-blue-600 font-bold">10 AQUAPOD/bell</div>
|
| 107 |
+
</div>
|
| 108 |
+
</div>
|
| 109 |
+
|
| 110 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 111 |
+
<div class="flex items-center">
|
| 112 |
+
<div class="bg-blue-100 p-3 rounded-full mr-4">
|
| 113 |
+
<i class="fas fa-ship text-blue-600"></i>
|
| 114 |
+
</div>
|
| 115 |
+
<div class="flex-grow">
|
| 116 |
+
<h3 class="font-semibold">Marine Services</h3>
|
| 117 |
+
<p class="text-gray-600 text-sm">Vessel cleaning and maintenance</p>
|
| 118 |
+
</div>
|
| 119 |
+
<div class="text-blue-600 font-bold">2 bells</div>
|
| 120 |
+
</div>
|
| 121 |
+
</div>
|
| 122 |
+
|
| 123 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 124 |
+
<div class="flex items-center">
|
| 125 |
+
<div class="bg-blue-100 p-3 rounded-full mr-4">
|
| 126 |
+
<i class="fas fa-chalkboard-teacher text-blue-600"></i>
|
| 127 |
+
</div>
|
| 128 |
+
<div class="flex-grow">
|
| 129 |
+
<h3 class="font-semibold">DIY Workshops</h3>
|
| 130 |
+
<p class="text-gray-600 text-sm">Learn pod maintenance skills</p>
|
| 131 |
+
</div>
|
| 132 |
+
<div class="text-blue-600 font-bold">2 bells/person</div>
|
| 133 |
+
</div>
|
| 134 |
+
</div>
|
| 135 |
+
|
| 136 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 137 |
+
<div class="flex items-center">
|
| 138 |
+
<div class="bg-blue-100 p-3 rounded-full mr-4">
|
| 139 |
+
<i class="fas fa-tshirt text-blue-600"></i>
|
| 140 |
+
</div>
|
| 141 |
+
<div class="flex-grow">
|
| 142 |
+
<h3 class="font-semibold">Local Crafts</h3>
|
| 143 |
+
<p class="text-gray-600 text-sm">Handcrafted community items</p>
|
| 144 |
+
</div>
|
| 145 |
+
<div class="text-blue-600 font-bold">Varies</div>
|
| 146 |
+
</div>
|
| 147 |
+
</div>
|
| 148 |
+
|
| 149 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 150 |
+
<div class="flex items-center">
|
| 151 |
+
<div class="bg-blue-100 p-3 rounded-full mr-4">
|
| 152 |
+
<i class="fas fa-utensils text-blue-600"></i>
|
| 153 |
+
</div>
|
| 154 |
+
<div class="flex-grow">
|
| 155 |
+
<h3 class="font-semibold">Community Meal Kits</h3>
|
| 156 |
+
<p class="text-gray-600 text-sm">Weekly fresh ingredient delivery</p>
|
| 157 |
+
</div>
|
| 158 |
+
<div class="text-blue-600 font-bold">Subscription</div>
|
| 159 |
+
</div>
|
| 160 |
+
</div>
|
| 161 |
+
</div>
|
| 162 |
+
</div>
|
| 163 |
+
|
| 164 |
+
<div id="defi-panel" class="fixed bottom-0 left-0 right-0 bg-white rounded-t-3xl p-6 floating-panel closed transition-all duration-300 z-40" style="height: 70vh;">
|
| 165 |
+
<div class="flex justify-between items-center mb-6">
|
| 166 |
+
<h2 class="text-2xl font-bold">DeFi Exchange</h2>
|
| 167 |
+
<button id="close-defi" class="text-gray-500 hover:text-gray-700">
|
| 168 |
+
<i class="fas fa-times text-xl"></i>
|
| 169 |
+
</button>
|
| 170 |
+
</div>
|
| 171 |
+
|
| 172 |
+
<div class="overflow-y-auto h-[calc(70vh-80px)] space-y-6">
|
| 173 |
+
<div class="bg-white border border-gray-200 rounded-lg shadow-sm p-6">
|
| 174 |
+
<div class="mb-4">
|
| 175 |
+
<label class="block text-gray-700 mb-2">From</label>
|
| 176 |
+
<div class="flex border border-gray-300 rounded-lg overflow-hidden">
|
| 177 |
+
<input type="number" class="flex-grow p-3 outline-none" placeholder="Amount" value="100">
|
| 178 |
+
<select class="bg-gray-100 p-3 border-l">
|
| 179 |
+
<option>AQUAPOD</option>
|
| 180 |
+
</select>
|
| 181 |
+
</div>
|
| 182 |
+
</div>
|
| 183 |
+
|
| 184 |
+
<div class="flex justify-center my-4">
|
| 185 |
+
<button class="bg-gray-200 p-2 rounded-full text-gray-700">
|
| 186 |
+
<i class="fas fa-exchange-alt"></i>
|
| 187 |
+
</button>
|
| 188 |
+
</div>
|
| 189 |
+
|
| 190 |
+
<div class="mb-4">
|
| 191 |
+
<label class="block text-gray-700 mb-2">To</label>
|
| 192 |
+
<div class="flex border border-gray-300 rounded-lg overflow-hidden">
|
| 193 |
+
<input type="number" class="flex-grow p-3 outline-none" placeholder="Amount" value="25">
|
| 194 |
+
<select class="bg-gray-100 p-3 border-l">
|
| 195 |
+
<option>XLM</option>
|
| 196 |
+
<option>BCH</option>
|
| 197 |
+
</select>
|
| 198 |
+
</div>
|
| 199 |
+
</div>
|
| 200 |
+
|
| 201 |
+
<button class="w-full bg-green-600 text-white py-3 rounded-lg font-semibold hover:bg-green-700 transition">
|
| 202 |
+
Exchange Now
|
| 203 |
+
</button>
|
| 204 |
+
</div>
|
| 205 |
+
|
| 206 |
+
<div class="bg-gray-50 p-4 rounded-lg">
|
| 207 |
+
<h3 class="font-semibold mb-2">Current Rates</h3>
|
| 208 |
+
<div class="space-y-2">
|
| 209 |
+
<div class="flex justify-between">
|
| 210 |
+
<span class="text-gray-600">1 AQUAPOD =</span>
|
| 211 |
+
<span class="font-medium">0.25 XLM</span>
|
| 212 |
+
</div>
|
| 213 |
+
<div class="flex justify-between">
|
| 214 |
+
<span class="text-gray-600">1 AQUAPOD =</span>
|
| 215 |
+
<span class="font-medium">0.00015 BCH</span>
|
| 216 |
+
</div>
|
| 217 |
+
</div>
|
| 218 |
+
</div>
|
| 219 |
+
|
| 220 |
+
<div class="bg-blue-50 p-4 rounded-lg">
|
| 221 |
+
<h3 class="font-semibold mb-2 text-blue-800">Pegged Stability</h3>
|
| 222 |
+
<p class="text-blue-700 text-sm">AQUAPOD is pegged to XLM and BCH for stable exchange rates and liquidity.</p>
|
| 223 |
+
</div>
|
| 224 |
+
</div>
|
| 225 |
+
</div>
|
| 226 |
+
|
| 227 |
+
<div id="contact-panel" class="fixed bottom-0 left-0 right-0 bg-white rounded-t-3xl p-6 floating-panel closed transition-all duration-300 z-40" style="height: 70vh;">
|
| 228 |
+
<div class="flex justify-between items-center mb-6">
|
| 229 |
+
<h2 class="text-2xl font-bold">Contact Aquapod</h2>
|
| 230 |
+
<button id="close-contact" class="text-gray-500 hover:text-gray-700">
|
| 231 |
+
<i class="fas fa-times text-xl"></i>
|
| 232 |
+
</button>
|
| 233 |
+
</div>
|
| 234 |
+
|
| 235 |
+
<div class="overflow-y-auto h-[calc(70vh-80px)] space-y-4">
|
| 236 |
+
<form>
|
| 237 |
+
<div class="mb-4">
|
| 238 |
+
<label class="block text-gray-700 mb-2">Name</label>
|
| 239 |
+
<input type="text" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 240 |
+
</div>
|
| 241 |
+
|
| 242 |
+
<div class="mb-4">
|
| 243 |
+
<label class="block text-gray-700 mb-2">Email</label>
|
| 244 |
+
<input type="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500">
|
| 245 |
+
</div>
|
| 246 |
+
|
| 247 |
+
<div class="mb-4">
|
| 248 |
+
<label class="block text-gray-700 mb-2">Message</label>
|
| 249 |
+
<textarea rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-purple-500"></textarea>
|
| 250 |
+
</div>
|
| 251 |
+
|
| 252 |
+
<button type="submit" class="w-full bg-purple-600 text-white py-3 rounded-lg font-semibold hover:bg-purple-700 transition">
|
| 253 |
+
Send Message
|
| 254 |
+
</button>
|
| 255 |
+
</form>
|
| 256 |
+
|
| 257 |
+
<div class="pt-4 mt-4 border-t border-gray-200">
|
| 258 |
+
<h3 class="font-semibold mb-2">Community Support</h3>
|
| 259 |
+
<p class="text-gray-600 text-sm">Email: support@aquapod.com</p>
|
| 260 |
+
<p class="text-gray-600 text-sm">Phone: +1 (555) 123-4567</p>
|
| 261 |
+
</div>
|
| 262 |
+
</div>
|
| 263 |
+
</div>
|
| 264 |
+
|
| 265 |
+
<!-- Bell sound (hidden) -->
|
| 266 |
+
<audio id="bell-sound" class="bell-tone" src="https://assets.mixkit.co/sfx/preview/mixkit-bell-notification-933.mp3" preload="auto"></audio>
|
| 267 |
+
|
| 268 |
+
<script>
|
| 269 |
+
// Bell system data
|
| 270 |
+
const bellSchedule = [
|
| 271 |
+
{ time: "00:00", bells: 8, duration: "5:00 Hours" },
|
| 272 |
+
{ time: "04:00", bells: 8, duration: "5:00 Hours" },
|
| 273 |
+
{ time: "08:00", bells: 8, duration: "5:00 Hours" },
|
| 274 |
+
{ time: "12:30", bells: 1, duration: "1:30 Hours" },
|
| 275 |
+
{ time: "13:00", bells: 2, duration: "2:00 Hours" },
|
| 276 |
+
{ time: "13:30", bells: 3, duration: "2:30 Hours" },
|
| 277 |
+
{ time: "14:00", bells: 4, duration: "3:00 Hours" },
|
| 278 |
+
{ time: "14:30", bells: 5, duration: "3:30 Hours" },
|
| 279 |
+
{ time: "15:00", bells: 6, duration: "4:00 Hours" },
|
| 280 |
+
{ time: "15:30", bells: 7, duration: "4:30 Hours" },
|
| 281 |
+
{ time: "16:00", bells: 8, duration: "5:00 Hours" },
|
| 282 |
+
{ time: "16:30", bells: 1, duration: "1:30 Hours" },
|
| 283 |
+
{ time: "17:00", bells: 2, duration: "2:00 Hours" },
|
| 284 |
+
{ time: "17:30", bells: 3, duration: "2:30 Hours" },
|
| 285 |
+
{ time: "18:00", bells: 4, duration: "3:00 Hours" },
|
| 286 |
+
{ time: "18:30", bells: 5, duration: "3:30 Hours" },
|
| 287 |
+
{ time: "19:00", bells: 6, duration: "4:00 Hours" },
|
| 288 |
+
{ time: "19:30", bells: 7, duration: "4:30 Hours" },
|
| 289 |
+
{ time: "20:00", bells: 8, duration: "5:00 Hours" },
|
| 290 |
+
{ time: "20:30", bells: 1, duration: "1:30 Hours" },
|
| 291 |
+
{ time: "21:00", bells: 2, duration: "2:00 Hours" },
|
| 292 |
+
{ time: "21:30", bells: 3, duration: "2:30 Hours" },
|
| 293 |
+
{ time: "22:00", bells: 4, duration: "3:00 Hours" },
|
| 294 |
+
{ time: "22:30", bells: 5, duration: "3:30 Hours" },
|
| 295 |
+
{ time: "23:00", bells: 6, duration: "4:00 Hours" },
|
| 296 |
+
{ time: "23:30", bells: 7, duration: "4:30 Hours" }
|
| 297 |
+
];
|
| 298 |
+
|
| 299 |
+
const bellCosts = {
|
| 300 |
+
1: 10,
|
| 301 |
+
2: 15,
|
| 302 |
+
3: 20,
|
| 303 |
+
4: 25,
|
| 304 |
+
5: 30,
|
| 305 |
+
6: 35,
|
| 306 |
+
7: 40,
|
| 307 |
+
8: 45
|
| 308 |
+
};
|
| 309 |
+
|
| 310 |
+
// Update bell display based on current time
|
| 311 |
+
function updateBellDisplay() {
|
| 312 |
+
const now = new Date();
|
| 313 |
+
const hours = String(now.getHours()).padStart(2, '0');
|
| 314 |
+
const minutes = String(now.getMinutes()).padStart(2, '0');
|
| 315 |
+
const currentTime = `${hours}:${minutes}`;
|
| 316 |
+
|
| 317 |
+
// Find the current or next bell period
|
| 318 |
+
let currentBell = bellSchedule[0];
|
| 319 |
+
for (const bell of bellSchedule) {
|
| 320 |
+
if (bell.time <= currentTime) {
|
| 321 |
+
currentBell = bell;
|
| 322 |
+
} else {
|
| 323 |
+
break;
|
| 324 |
+
}
|
| 325 |
+
}
|
| 326 |
+
|
| 327 |
+
// Update UI
|
| 328 |
+
document.getElementById('bell-count').textContent = currentBell.bells;
|
| 329 |
+
document.getElementById('bell-time').textContent = formatTime(currentBell.time);
|
| 330 |
+
document.getElementById('bell-duration').textContent = `${currentBell.bells} Bell${currentBell.bells > 1 ? 's' : ''} (${currentBell.duration})`;
|
| 331 |
+
|
| 332 |
+
// Calculate cost
|
| 333 |
+
const cost = bellCosts[currentBell.bells];
|
| 334 |
+
document.querySelector('#current-bell + div + div + div .text-blue-900').textContent = `${cost} AQUAPOD`;
|
| 335 |
+
|
| 336 |
+
// Add animation class if it's exactly a bell time
|
| 337 |
+
const bellElement = document.getElementById('current-bell');
|
| 338 |
+
const bellSound = document.getElementById('bell-sound');
|
| 339 |
+
|
| 340 |
+
if (currentTime === currentBell.time) {
|
| 341 |
+
bellElement.classList.add('bell-animation');
|
| 342 |
+
bellSound.play();
|
| 343 |
+
|
| 344 |
+
// Remove animation after 2 seconds
|
| 345 |
+
setTimeout(() => {
|
| 346 |
+
bellElement.classList.remove('bell-animation');
|
| 347 |
+
}, 2000);
|
| 348 |
+
}
|
| 349 |
+
}
|
| 350 |
+
|
| 351 |
+
// Format time as 12-hour with AM/PM
|
| 352 |
+
function formatTime(time24) {
|
| 353 |
+
const [hours, minutes] = time24.split(':');
|
| 354 |
+
const period = hours >= 12 ? 'PM' : 'AM';
|
| 355 |
+
const hours12 = hours % 12 || 12;
|
| 356 |
+
return `${hours12}:${minutes} ${period}`;
|
| 357 |
+
}
|
| 358 |
+
|
| 359 |
+
// Initialize bell display
|
| 360 |
+
updateBellDisplay();
|
| 361 |
+
|
| 362 |
+
// Update every minute
|
| 363 |
+
setInterval(updateBellDisplay, 60000);
|
| 364 |
+
|
| 365 |
+
// Floating panel controls
|
| 366 |
+
const servicesBtn = document.getElementById('services-btn');
|
| 367 |
+
const defiBtn = document.getElementById('defi-btn');
|
| 368 |
+
const contactBtn = document.getElementById('contact-btn');
|
| 369 |
+
|
| 370 |
+
const servicesPanel = document.getElementById('services-panel');
|
| 371 |
+
const defiPanel = document.getElementById('defi-panel');
|
| 372 |
+
const contactPanel = document.getElementById('contact-panel');
|
| 373 |
+
|
| 374 |
+
const closeServices = document.getElementById('close-services');
|
| 375 |
+
const closeDefi = document.getElementById('close-defi');
|
| 376 |
+
const closeContact = document.getElementById('close-contact');
|
| 377 |
+
|
| 378 |
+
// Toggle panels
|
| 379 |
+
servicesBtn.addEventListener('click', () => {
|
| 380 |
+
servicesPanel.classList.remove('closed');
|
| 381 |
+
defiPanel.classList.add('closed');
|
| 382 |
+
contactPanel.classList.add('closed');
|
| 383 |
+
});
|
| 384 |
+
|
| 385 |
+
defiBtn.addEventListener('click', () => {
|
| 386 |
+
defiPanel.classList.remove('closed');
|
| 387 |
+
servicesPanel.classList.add('closed');
|
| 388 |
+
contactPanel.classList.add('closed');
|
| 389 |
+
});
|
| 390 |
+
|
| 391 |
+
contactBtn.addEventListener('click', () => {
|
| 392 |
+
contactPanel.classList.remove('closed');
|
| 393 |
+
servicesPanel.classList.add('closed');
|
| 394 |
+
defiPanel.classList.add('closed');
|
| 395 |
+
});
|
| 396 |
+
|
| 397 |
+
// Close panels
|
| 398 |
+
closeServices.addEventListener('click', () => {
|
| 399 |
+
servicesPanel.classList.add('closed');
|
| 400 |
+
});
|
| 401 |
+
|
| 402 |
+
closeDefi.addEventListener('click', () => {
|
| 403 |
+
defiPanel.classList.add('closed');
|
| 404 |
+
});
|
| 405 |
+
|
| 406 |
+
closeContact.addEventListener('click', () => {
|
| 407 |
+
contactPanel.classList.add('closed');
|
| 408 |
+
});
|
| 409 |
+
|
| 410 |
+
// Close panels when clicking outside
|
| 411 |
+
document.addEventListener('click', (e) => {
|
| 412 |
+
if (!servicesPanel.contains(e.target) && e.target !== servicesBtn) {
|
| 413 |
+
servicesPanel.classList.add('closed');
|
| 414 |
+
}
|
| 415 |
+
|
| 416 |
+
if (!defiPanel.contains(e.target) && e.target !== defiBtn) {
|
| 417 |
+
defiPanel.classList.add('closed');
|
| 418 |
+
}
|
| 419 |
+
|
| 420 |
+
if (!contactPanel.contains(e.target) && e.target !== contactBtn) {
|
| 421 |
+
contactPanel.classList.add('closed');
|
| 422 |
+
}
|
| 423 |
+
});
|
| 424 |
+
</script>
|
| 425 |
+
<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=privateuserh/aqu-bells" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
|
| 426 |
+
</html>
|