Skip to content

Commit 7be9ed4

Browse files
committed
Add livestream video in home page.
1 parent 244f021 commit 7be9ed4

File tree

2 files changed

+34
-2
lines changed

2 files changed

+34
-2
lines changed

docs/index.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,10 @@ import BranchIcon from '@site/static/icons/branch_New.png';
2222

2323
<FlutterFlowLogo></FlutterFlowLogo>
2424

25-
# Visual Development Platform
26-
FlutterFlow is a visual development platform that lets you build mobile, web, and desktop apps incredibly fast, without sacrificing quality or features.
25+
# Visual Development Environment
26+
FlutterFlow is a visual development environment that lets you build mobile, web, and desktop apps incredibly fast, without sacrificing quality or features.
27+
28+
<div class="video-container small"><iframe src="https://www.youtube.com/embed/gYOrgBrX4jM" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy="strict-origin-when-cross-origin" allowfullscreen></iframe></div>
2729

2830
<InfoCards>
2931
<InfoCard title="Before You Begin" description="Ensure you meet system requirements and grasp technical concepts for smooth building in FlutterFlow." pagePath="/before-you-begin/setup-flutterflow" />

src/css/custom.css

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,22 @@ html[data-theme='dark'] {
174174
height: 100%;
175175
}
176176

177+
.video-container.small {
178+
position: relative;
179+
width: 75%;
180+
padding-bottom: 42.1875%; /* 16:9 ratio of 75% width */
181+
height: 0;
182+
overflow: hidden;
183+
}
184+
185+
.video-container.small iframe {
186+
position: absolute;
187+
top: 0;
188+
left: 0;
189+
width: 100%;
190+
height: 100%;
191+
}
192+
177193
/* table {
178194
max-height: 20px;
179195
} */
@@ -204,4 +220,18 @@ code {
204220
/* Override styles for inline code within admonitions */
205221
.theme-admonition code {
206222
background-color: inherit; /* Ensures the background color is inherited */
223+
}
224+
225+
.navbar-flutterflow-button {
226+
background-color: #4B39EFFF; /* Use your preferred purple */
227+
color: white !important;
228+
border-radius: 6px;
229+
padding: 6px 12px;
230+
margin-left: 12px;
231+
font-weight: 600;
232+
transition: background-color 0.3s ease;
233+
}
234+
235+
.navbar-flutterflow-button:hover {
236+
background-color: #3B39EFFF; /* Slightly darker purple on hover */
207237
}

0 commit comments

Comments
 (0)