Skip to content

Commit 0dba7cd

Browse files
authored
Add video to getting-started (#175)
1 parent 97c3c83 commit 0dba7cd

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

spiceaidocs/docs/getting-started/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ description: 'Get started with Spice in 5 minutes'
66
pagination_next: null
77
---
88

9+
<div className="video-container">
10+
<iframe width="560" height="420" src="https://www.youtube.com/embed/AZyrecVWnEs?si=2s_2jLTJlUdgItyC" 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>
11+
</div>
12+
913
### Follow these steps to get started with Spice.
1014

1115
**Step 1.** Install the Spice CLI:

spiceaidocs/src/css/custom.css

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,4 +116,19 @@ pre {
116116
var(--ifm-color-emphasis-200) 0%,
117117
var(--ifm-color-emphasis-100) 100%
118118
);
119+
}
120+
121+
.video-container {
122+
display: flex;
123+
flex-flow: column;
124+
justify-content: center;
125+
align-items: center;
126+
aspect-ratio: 28 / 21;
127+
overflow: hidden;
128+
border-radius: 4px;
129+
}
130+
131+
.video-container iframe {
132+
width: 100%;
133+
height: 100%;
119134
}

0 commit comments

Comments
 (0)