Skip to content

Commit e094a73

Browse files
Merge pull request #4394 from FlowFuse/4393-add-video-to-the-why-flowfuse-page
/why-flowfuse: Add video to hero section
2 parents 0818379 + f3ad3df commit e094a73

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

src/platform/why-flowfuse.njk

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -74,20 +74,22 @@ meta:
7474
<p><span class="font-semibold">FlowFuse takes that power further</span>—enabling secure, governed, and AI-accelerated scale for your most critical operations.</p>
7575
</div>
7676
<!-- Mobile image -->
77-
<div class="flex md:hidden justify-center m-auto mb-10 ff-image-rounded rounded-lg border-2 border-indigo-300 drop-shadow-lg">
78-
{% set image = ["./", heroSection.imageMobile ] | join %}
79-
{% set imageAlt = heroSection.imgAlt %}
80-
{% image image, imageAlt, [400] %}
77+
<div class="flex md:hidden justify-center m-auto mb-10 ff-image-rounded rounded-lg drop-shadow-lg">
78+
<lite-youtube videoid="n9HhZCh0Ndg" params="rel=0"
79+
style="width: 472px; overflow: hidden; background-image: url('https://img.youtube.com/vi/n9HhZCh0Ndg/maxresdefault.jpg'); background-size: cover; background-position: center;"
80+
class="rounded-xl sm:max-w-none sm:max-h-full">
81+
</lite-youtube>
8182
</div>
8283
<div class="flex gap-3 max-md:mx-auto max-sm:flex-col max-md:justify-center">
8384
<a class="ff-btn ff-btn--primary min-h-[40px]" href="/book-demo/" onclick="capture('cta-book-demo', {'position': 'primary'}, {'page': 'why-flowfuse'})">GET A FREE DEMO</a>
8485
<a class="ff-btn min-h-[40px] flex gap-2" href="https://app.flowfuse.com/account/create" onclick="capture('cta-get-started', {'position': 'primary'}, {'page': 'why-flowfuse'})">GET STARTED {% include "components/icons/arrow-right.svg" %}</a>
8586
</div>
8687
</div>
87-
<div class="flex max-md:hidden justify-center m-auto max-w-[550px] ff-image-rounded rounded-lg border-2 border-indigo-300 drop-shadow-lg w-full">
88-
{% set image = ["./", heroSection.image ] | join %}
89-
{% set imageAlt = heroSection.imgAlt %}
90-
{% image image, imageAlt, [550] %}
88+
<div class="flex max-md:hidden justify-center m-auto max-w-[550px] ff-image-rounded rounded-lg drop-shadow-lg w-full">
89+
<lite-youtube videoid="n9HhZCh0Ndg" params="rel=0"
90+
style="width: 472px; overflow: hidden; background-image: url('https://img.youtube.com/vi/n9HhZCh0Ndg/maxresdefault.jpg'); background-size: cover; background-position: center;"
91+
class="rounded-xl sm:max-w-none sm:max-h-full">
92+
</lite-youtube>
9193
</div>
9294
</div>
9395
</div>

0 commit comments

Comments
 (0)