Skip to content

Commit 7deb245

Browse files
szczysChrisGammell
authored andcommitted
landing-page: add overview video
* Add overview video * Add CSS for YouTube video embed * Usage: * on YouTube page, click Share->Embed and copy code into Docusuarus * remove the width and height properties * add `class="youtube-embed"` Signed-off-by: Mike Szczys <mike@golioth.io>
1 parent 108ba96 commit 7deb245

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

docs/landing_page.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ need from the cloud, from establishing secure connections and providing
1616
over-the-air updates, to managing data to/from your fleet and connecting that to
1717
any cloud service you may need.
1818

19+
<iframe class="youtube-embed" src="https://www.youtube.com/embed/CgQg6ifrWfU?si=9MKtgs4jlCvQLWfz" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
20+
1921
## Get started today
2022

2123
Our [Quickstart Guide](/getting-started/) gets you set up with a Golioth account

src/css/custom.css

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,3 +146,8 @@ html[data-theme="dark"] {
146146
flex-direction: column;
147147
}
148148
}
149+
150+
iframe.youtube-embed {
151+
width: 100%;
152+
aspect-ratio: 16 / 9;
153+
}

0 commit comments

Comments
 (0)