File tree Expand file tree Collapse file tree 4 files changed +177
-6
lines changed Expand file tree Collapse file tree 4 files changed +177
-6
lines changed Original file line number Diff line number Diff line change 18
18
"@docusaurus/preset-classic" : " 3.0.1" ,
19
19
"@docusaurus/theme-mermaid" : " ^3.0.1" ,
20
20
"@mdx-js/react" : " ^3.0.0" ,
21
+ "@mux/mux-player-react" : " ^2.5.0" ,
21
22
"clsx" : " ^2.0.0" ,
22
23
"prism-react-renderer" : " ^2.3.0" ,
23
24
"react" : " ^18.0.0" ,
Original file line number Diff line number Diff line change @@ -13,6 +13,7 @@ import {
13
13
XIcon2 ,
14
14
} from "../../icons" ;
15
15
import useDocusaurusContext from "@docusaurus/useDocusaurusContext" ;
16
+ import MuxPlayer from '@mux/mux-player-react' ;
16
17
17
18
export default function Home ( { recentPosts } ) {
18
19
const {
@@ -231,12 +232,21 @@ export default function Home({ recentPosts }) {
231
232
</ main >
232
233
233
234
{ /* OVERVIEW SECTION */ }
234
- { /* <section className="st_overview">
235
- <h2>3DSTREET OVERVIEW</h2>
236
- <video className="st_overview_video" controls preload="metadata">
235
+ < section className = "st_overview" >
236
+ < h2 > 3DSTREET IN 2 MINUTES</ h2 >
237
+ < MuxPlayer
238
+ streamType = "on-demand"
239
+ playbackId = "lXImH9p0000L4fsSSEHgz6RudBQv02CgqQh"
240
+ metadataVideoTitle = "Placeholder (optional)"
241
+ metadataViewerUserId = "Placeholder (optional)"
242
+ primaryColor = "#FFFFFF"
243
+ secondaryColor = "#000000"
244
+ accentColor = "#653CB0"
245
+ />
246
+ { /* <video className="st_overview_video" controls preload="metadata">
237
247
<source src="/video/3d-streets-overview.mp4" type="video/mp4" />
238
- </video>
239
- </section> */ }
248
+ </video> */ }
249
+ </ section >
240
250
241
251
< div className = "st_grid_3_wrapper" >
242
252
{ /* VISION SECTION */ }
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ section h2 {
260
260
----------------------------------------------------------------*/
261
261
262
262
.st_overview {
263
- margin-top : 64 px ;
263
+ margin-top : 4 px ;
264
264
display : flex;
265
265
flex-direction : column;
266
266
row-gap : 24px ;
You can’t perform that action at this time.
0 commit comments