web3district commited on
Commit
5e66ee6
·
verified ·
1 Parent(s): 34b3c7b

make the box 20% more transparent for the title: GOALS FOR 2025 SBC I SUMMIT - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. index.html +57 -1
index.html CHANGED
@@ -26,6 +26,27 @@
26
  </script>
27
  <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
28
  <style type="text/tailwindcss">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  @layer base {
30
  body {
31
  @apply bg-gray-900 text-white font-sans;
@@ -259,6 +280,12 @@
259
  </p>
260
  </div>
261
 
 
 
 
 
 
 
262
  <div class="bg-gradient-to-r from-purple-start to-fuchsia-end p-1 rounded-xl mb-8 mx-auto max-w-xl">
263
  <div class="bg-gray-900 rounded-xl px-6 py-4">
264
  <div class="grid grid-cols-3 gap-2">
@@ -1130,6 +1157,35 @@
1130
  // Initialize with scroll
1131
  window.dispatchEvent(new Event('scroll'));
1132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1133
  // Video Modal Handling
1134
  const videoModal = document.getElementById('videoModal');
1135
  const watchTrailerBtn = document.getElementById('watchTrailer');
@@ -1157,5 +1213,5 @@
1157
  }
1158
  });
1159
  </script>
1160
- <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://deepsite.hf.co/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://deepsite.hf.co" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://deepsite.hf.co?remix=web3district/sbcxweb3dstrict" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
1161
  </html>
 
26
  </script>
27
  <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
28
  <style type="text/tailwindcss">
29
+ /* Confetti styles */
30
+ .confetti {
31
+ position: absolute;
32
+ width: 10px;
33
+ height: 10px;
34
+ background-color: #00f5ff;
35
+ opacity: 0;
36
+ animation: confetti-fall 3s ease-in-out forwards;
37
+ }
38
+
39
+ @keyframes confetti-fall {
40
+ 0% {
41
+ transform: translateY(-100px) rotate(0deg);
42
+ opacity: 1;
43
+ }
44
+ 100% {
45
+ transform: translateY(100px) rotate(360deg);
46
+ opacity: 0;
47
+ }
48
+ }
49
+
50
  @layer base {
51
  body {
52
  @apply bg-gray-900 text-white font-sans;
 
280
  </p>
281
  </div>
282
 
283
+ <div class="speaker-card group relative max-w-md mx-auto mb-4">
284
+ <div class="absolute inset-0 bg-gradient-to-br from-purple-900/24 to-fuchsia-900/24 rounded-2xl shadow-2xl"></div>
285
+ <div class="relative bg-gray-900/60 backdrop-blur-sm border border-purple-700/50 rounded-2xl p-6 text-center">
286
+ <h3 class="text-xl md:text-2xl font-bold gradient-text confetti-trigger drop-shadow-lg">GOALS FOR 2025 SBC I SUMMIT</h3>
287
+ </div>
288
+ </div>
289
  <div class="bg-gradient-to-r from-purple-start to-fuchsia-end p-1 rounded-xl mb-8 mx-auto max-w-xl">
290
  <div class="bg-gray-900 rounded-xl px-6 py-4">
291
  <div class="grid grid-cols-3 gap-2">
 
1157
  // Initialize with scroll
1158
  window.dispatchEvent(new Event('scroll'));
1159
 
1160
+ // Confetti creation on hover
1161
+ const confettiTriggers = document.querySelectorAll('.confetti-trigger');
1162
+
1163
+ confettiTriggers.forEach(trigger => {
1164
+ trigger.addEventListener('mouseenter', (e) => {
1165
+ const colors = ['#00f5ff', '#b300ff', '#ff00b3', '#ffffff'];
1166
+ const rect = e.target.getBoundingClientRect();
1167
+ const centerX = rect.left + rect.width / 2;
1168
+
1169
+ // Create 30 confetti pieces
1170
+ for (let i = 0; i < 30; i++) {
1171
+ const confetti = document.createElement('div');
1172
+ confetti.className = 'confetti';
1173
+ confetti.style.left = `${centerX - 5 + Math.random() * 100 - 50}px`;
1174
+ confetti.style.top = `${rect.top - 10}px`;
1175
+ confetti.style.backgroundColor = colors[Math.floor(Math.random() * colors.length)];
1176
+ confetti.style.animationDuration = `${1 + Math.random() * 2}s`;
1177
+ confetti.style.width = `${5 + Math.random() * 10}px`;
1178
+ confetti.style.height = `${5 + Math.random() * 10}px`;
1179
+
1180
+ document.body.appendChild(confetti);
1181
+
1182
+ // Remove confetti after animation
1183
+ setTimeout(() => {
1184
+ confetti.remove();
1185
+ }, 3000);
1186
+ }
1187
+ });
1188
+
1189
  // Video Modal Handling
1190
  const videoModal = document.getElementById('videoModal');
1191
  const watchTrailerBtn = document.getElementById('watchTrailer');
 
1213
  }
1214
  });
1215
  </script>
1216
+ <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://deepsite.hf.co/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://deepsite.hf.co" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://deepsite.hf.co?remix=web3district/sbcxweb3dstrict" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p><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=web3district/sbcxweb3dstrict" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
1217
  </html>