From ce5c242a6b1b23a54bff2dafc2896b824f296dc8 Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Thu, 12 Dec 2024 19:30:50 +0100 Subject: [PATCH] edit video --- templates/partials/action/video.html | 53 ++++++++++++++++++++---- templates/partials/action/web4tools.html | 2 +- 2 files changed, 47 insertions(+), 8 deletions(-) diff --git a/templates/partials/action/video.html b/templates/partials/action/video.html index 5a6942020..4aa1a1b5c 100644 --- a/templates/partials/action/video.html +++ b/templates/partials/action/video.html @@ -1,16 +1,28 @@
-
-

Join the Web4 Revolution

+
+ +

+ Join the Web4 Revolution +

+ +

Join us on our journey to the decentralized internet. Watch the video below to learn more about our mission and products.

+ +
+
- +
- -
@@ -32,11 +44,38 @@ } } - /* Ensure video is centered */ + /* Responsive iframe for YouTube video */ + .responsive-iframe { + width: 100%; + height: 0; + padding-bottom: 56.25%; /* 16:9 Aspect Ratio */ + position: relative; + border: none; + } + .responsive-iframe iframe { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } + + /* Ensure content aligns properly */ .flex.justify-center { display: flex; justify-content: center; } + + /* Style for the button */ + .blinking-effect { + animation: blink 1.5s step-start infinite; + } + + @keyframes blink { + 50% { + opacity: 0.5; + } + }