rahul7star commited on
Commit
195e4cf
·
verified ·
1 Parent(s): 2086f23

when your click on demo then let the player play the video - Follow Up Deployment

Browse files
Files changed (1) hide show
  1. index.html +54 -0
index.html CHANGED
@@ -61,6 +61,7 @@
61
  <a href="#features" class="nav-link text-purple-200 hover:text-white font-medium">Features</a>
62
  <a href="#create" class="nav-link text-purple-200 hover:text-white font-medium">Create</a>
63
  <a href="#pricing" class="nav-link text-purple-200 hover:text-white font-medium">Pricing</a>
 
64
  </div>
65
  <button id="mobile-menu-button" class="md:hidden text-gray-600">
66
  <i class="fas fa-bars text-xl"></i>
@@ -134,6 +135,41 @@
134
  </div>
135
  </section>
136
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  <!-- Upload Section -->
138
  <section id="create" class="mb-12 bg-white rounded-xl shadow-lg p-6 hidden border border-gray-200">
139
  <h2 class="text-xl font-semibold text-gray-800 mb-6">Create Your AI Clone</h2>
@@ -871,6 +907,24 @@
871
  document.getElementById('mobile-menu-button').addEventListener('click', () => {
872
  showToast("Mobile menu would open here");
873
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
874
  </script>
875
  <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=rahul7star/ai-clone-me" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
876
  </html>
 
61
  <a href="#features" class="nav-link text-purple-200 hover:text-white font-medium">Features</a>
62
  <a href="#create" class="nav-link text-purple-200 hover:text-white font-medium">Create</a>
63
  <a href="#pricing" class="nav-link text-purple-200 hover:text-white font-medium">Pricing</a>
64
+ <button id="demo-toggle" class="text-purple-200 hover:text-white font-medium">Demo</button>
65
  </div>
66
  <button id="mobile-menu-button" class="md:hidden text-gray-600">
67
  <i class="fas fa-bars text-xl"></i>
 
135
  </div>
136
  </section>
137
 
138
+ <!-- Social Promo Box -->
139
+ <section id="social-promo" class="mb-16 bg-gradient-to-r from-purple-50 to-indigo-50 py-12 rounded-2xl hidden">
140
+ <div class="max-w-6xl mx-auto px-4">
141
+ <h2 class="text-3xl font-bold text-gray-800 mb-6 text-center">See Our AI in Action</h2>
142
+ <p class="text-lg text-gray-600 mb-8 text-center">Explore our latest creations on social media</p>
143
+
144
+ <!-- Full-width video -->
145
+ <div class="w-full aspect-video bg-black rounded-xl overflow-hidden mb-6">
146
+ <iframe
147
+ class="w-full h-full"
148
+ src="about:blank"
149
+ data-src="https://www.youtube.com/embed/videoseries?list=PL8HXQOLwB6k0N8m2Ql2paDAY_n_KdXSSM"
150
+ allow="accelerometer; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
151
+ allowfullscreen
152
+ title="YouTube Playlist Player">
153
+ </iframe>
154
+ </div>
155
+
156
+ <!-- Small social buttons centered below -->
157
+ <div class="flex justify-center gap-4">
158
+ <a href="https://www.instagram.com/ohamlab/reels" target="_blank"
159
+ class="flex items-center gap-2 text-xs bg-gradient-to-r from-pink-500 to-purple-500 text-white px-3 py-1.5 rounded-full shadow hover:opacity-90 transition">
160
+ <i class="fab fa-instagram text-base"></i>
161
+ <span>Instagram</span>
162
+ </a>
163
+ <a href="https://www.youtube.com/@Rahul7starAI/shorts" target="_blank"
164
+ class="flex items-center gap-2 text-xs bg-gradient-to-r from-red-600 to-red-500 text-white px-3 py-1.5 rounded-full shadow hover:opacity-90 transition">
165
+ <i class="fab fa-youtube text-base"></i>
166
+ <span>YouTube</span>
167
+ </a>
168
+ </div>
169
+ </div>
170
+ </section>
171
+
172
+
173
  <!-- Upload Section -->
174
  <section id="create" class="mb-12 bg-white rounded-xl shadow-lg p-6 hidden border border-gray-200">
175
  <h2 class="text-xl font-semibold text-gray-800 mb-6">Create Your AI Clone</h2>
 
907
  document.getElementById('mobile-menu-button').addEventListener('click', () => {
908
  showToast("Mobile menu would open here");
909
  });
910
+
911
+ // Demo toggle functionality
912
+ document.getElementById('demo-toggle').addEventListener('click', () => {
913
+ const promoSection = document.getElementById('social-promo');
914
+ const iframe = promoSection.querySelector('iframe');
915
+
916
+ promoSection.classList.toggle('hidden');
917
+
918
+ if (!promoSection.classList.contains('hidden')) {
919
+ // Load video when showing
920
+ iframe.src = iframe.dataset.src + '&autoplay=1';
921
+ // Scroll to the promo section
922
+ promoSection.scrollIntoView({ behavior: 'smooth' });
923
+ } else {
924
+ // Unload video when hiding
925
+ iframe.src = 'about:blank';
926
+ }
927
+ });
928
  </script>
929
  <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=rahul7star/ai-clone-me" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
930
  </html>