d10g commited on
Commit
73ca00b
·
1 Parent(s): 1607e30

Added YouTube video

Browse files
Files changed (2) hide show
  1. index.html +17 -0
  2. style.css +33 -0
index.html CHANGED
@@ -30,6 +30,23 @@
30
  </div>
31
  </section>
32
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  <section class="features">
34
  <div class="container">
35
  <h2>Features</h2>
 
30
  </div>
31
  </section>
32
 
33
+ <section class="video-demo">
34
+ <div class="container">
35
+ <h2>See It In Action</h2>
36
+ <div class="video-wrapper">
37
+ <iframe
38
+ width="560"
39
+ height="315"
40
+ src="https://www.youtube.com/embed/lnIk2DD-noM"
41
+ title="Reachy F1 Commentator Demo"
42
+ frameborder="0"
43
+ allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
44
+ allowfullscreen>
45
+ </iframe>
46
+ </div>
47
+ </div>
48
+ </section>
49
+
50
  <section class="features">
51
  <div class="container">
52
  <h2>Features</h2>
style.css CHANGED
@@ -73,6 +73,39 @@ header h1 {
73
  line-height: 1.8;
74
  }
75
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
76
  /* Buttons */
77
  .cta-buttons {
78
  display: flex;
 
73
  line-height: 1.8;
74
  }
75
 
76
+ /* Video Demo Section */
77
+ .video-demo {
78
+ background-color: var(--bg-light);
79
+ padding: 80px 0;
80
+ }
81
+
82
+ .video-demo h2 {
83
+ font-size: 2.5rem;
84
+ text-align: center;
85
+ margin-bottom: 50px;
86
+ color: var(--secondary-color);
87
+ }
88
+
89
+ .video-wrapper {
90
+ max-width: 900px;
91
+ margin: 0 auto;
92
+ position: relative;
93
+ padding-bottom: 56.25%; /* 16:9 aspect ratio */
94
+ height: 0;
95
+ overflow: hidden;
96
+ border-radius: 12px;
97
+ box-shadow: var(--shadow-lg);
98
+ }
99
+
100
+ .video-wrapper iframe {
101
+ position: absolute;
102
+ top: 0;
103
+ left: 0;
104
+ width: 100%;
105
+ height: 100%;
106
+ border-radius: 12px;
107
+ }
108
+
109
  /* Buttons */
110
  .cta-buttons {
111
  display: flex;