add popup to youtube section
Browse files- index.html +8 -7
index.html
CHANGED
|
@@ -387,13 +387,12 @@ class="inline-flex items-center text-[#002060] hover:text-[#8DC63F] px-3 py-2 te
|
|
| 387 |
<i data-feather="shopping-bag" class="w-5 h-5" aria-hidden="true"></i>
|
| 388 |
<span>View VLC SWM on AppSource</span>
|
| 389 |
</a>
|
| 390 |
-
|
| 391 |
-
<a href="https://www.youtube.com/watch?v=PfH2WFXYydI" rel="noopener" target="_blank"
|
| 392 |
class="cta-btn flex-1 inline-flex items-center justify-center gap-2 rounded-lg px-4 py-3 text-sm md:text-base font-semibold focus-ring">
|
| 393 |
<i data-feather="play-circle" class="w-5 h-5" aria-hidden="true"></i>
|
| 394 |
<span>Watch it in action</span>
|
| 395 |
-
</
|
| 396 |
-
|
| 397 |
</div>
|
| 398 |
</section>
|
| 399 |
<!-- Description Section -->
|
|
@@ -649,11 +648,13 @@ class="inline-flex items-center text-[#002060] hover:text-[#8DC63F] px-3 py-2 te
|
|
| 649 |
</div>
|
| 650 |
</div>
|
| 651 |
</footer>
|
| 652 |
-
|
| 653 |
-
|
|
|
|
| 654 |
<!-- Scripts -->
|
|
|
|
| 655 |
<script>
|
| 656 |
-
|
| 657 |
// --- Init AOS ---
|
| 658 |
if (window.AOS) {
|
| 659 |
AOS.init({
|
|
|
|
| 387 |
<i data-feather="shopping-bag" class="w-5 h-5" aria-hidden="true"></i>
|
| 388 |
<span>View VLC SWM on AppSource</span>
|
| 389 |
</a>
|
| 390 |
+
<button onclick="document.querySelector('youtube-modal').open('PfH2WFXYydI')"
|
|
|
|
| 391 |
class="cta-btn flex-1 inline-flex items-center justify-center gap-2 rounded-lg px-4 py-3 text-sm md:text-base font-semibold focus-ring">
|
| 392 |
<i data-feather="play-circle" class="w-5 h-5" aria-hidden="true"></i>
|
| 393 |
<span>Watch it in action</span>
|
| 394 |
+
</button>
|
| 395 |
+
</div>
|
| 396 |
</div>
|
| 397 |
</section>
|
| 398 |
<!-- Description Section -->
|
|
|
|
| 648 |
</div>
|
| 649 |
</div>
|
| 650 |
</footer>
|
| 651 |
+
<!-- YouTube Modal Component -->
|
| 652 |
+
<youtube-modal></youtube-modal>
|
| 653 |
+
|
| 654 |
<!-- Scripts -->
|
| 655 |
+
<script src="components/youtube-modal.js"></script>
|
| 656 |
<script>
|
| 657 |
+
document.addEventListener('DOMContentLoaded', () => {
|
| 658 |
// --- Init AOS ---
|
| 659 |
if (window.AOS) {
|
| 660 |
AOS.init({
|