Skip to content

Commit 198451a

Browse files
authored
site: add demo video (#261)
Signed-off-by: Ignasi Barrera <ignasi@tetrate.io>
1 parent 1a4c2c7 commit 198451a

3 files changed

Lines changed: 61 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
---
2+
---
3+
4+
<section class="video-showcase">
5+
<div class="container">
6+
<h2>See it in Action</h2>
7+
<p class="section-subtitle">Watch how easy it is to discover, run, and build Envoy extensions</p>
8+
<div class="video-wrapper">
9+
<iframe
10+
src="https://www.youtube.com/embed/wttcM9VvFB0"
11+
title="Built on Envoy - Demo"
12+
frameborder="0"
13+
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture"
14+
allowfullscreen
15+
></iframe>
16+
</div>
17+
</div>
18+
</section>

website/src/pages/index.astro

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import Head from '../components/Head.astro';
44
import Header from '../components/Header.astro';
55
import Hero from '../components/Hero.astro';
66
import Features from '../components/Features.astro';
7+
import VideoShowcase from '../components/VideoShowcase.astro';
78
import Extensions from '../components/Extensions.astro';
89
import CLIFeatures from '../components/CLIFeatures.astro';
910
import Testimonials from '../components/Testimonials.astro';
@@ -25,6 +26,7 @@ import Footer from '../components/Footer.astro';
2526
<Hero />
2627
<Features />
2728
<Extensions />
29+
<VideoShowcase />
2830
<CLIFeatures />
2931
<Testimonials />
3032
<CTA />

website/src/styles/main.css

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -437,6 +437,38 @@ header nav a:focus {
437437
white-space: pre;
438438
}
439439

440+
/* Video Showcase */
441+
.video-showcase {
442+
padding: 80px 0;
443+
background: var(--bg-subtle);
444+
}
445+
446+
.video-showcase h2 {
447+
font-size: 40px;
448+
text-align: center;
449+
margin-bottom: 12px;
450+
color: var(--primary-dark);
451+
}
452+
453+
.video-wrapper {
454+
max-width: 800px;
455+
margin: 0 auto;
456+
position: relative;
457+
padding-bottom: 56.25%; /* 16:9 aspect ratio */
458+
height: 0;
459+
border-radius: 16px;
460+
overflow: hidden;
461+
box-shadow: 0 8px 30px rgba(124, 58, 237, 0.15);
462+
}
463+
464+
.video-wrapper iframe {
465+
position: absolute;
466+
top: 0;
467+
left: 0;
468+
width: 100%;
469+
height: 100%;
470+
}
471+
440472
/* Extensions */
441473
.extensions {
442474
padding: 80px 0;
@@ -1139,6 +1171,15 @@ footer {
11391171
border-bottom: 2px solid var(--primary-light);
11401172
}
11411173

1174+
/* Video Showcase */
1175+
.video-showcase {
1176+
padding: 48px 0;
1177+
}
1178+
1179+
.video-showcase h2 {
1180+
font-size: 32px;
1181+
}
1182+
11421183
/* Extensions */
11431184
.extensions {
11441185
padding: 48px 0;

0 commit comments

Comments
 (0)