Skip to content

Commit

Permalink
landing-page: add overview video
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
szczys committed Nov 27, 2023
1 parent 667f57c commit fe5cd65
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/landing_page.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ need from the cloud, from establishing secure connections and providing
over-the-air updates, to managing data to/from your fleet and connecting that to
any cloud service you may need.

<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>

## Get started today

Our [Quickstart Guide](/getting-started/) gets you set up with a Golioth account
Expand Down
5 changes: 5 additions & 0 deletions src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,8 @@ html[data-theme="dark"] {
flex-direction: column;
}
}

iframe.youtube-embed {
width: 100%;
aspect-ratio: 16 / 9;
}

0 comments on commit fe5cd65

Please sign in to comment.