Skip to content

Commit a6f4a47

Browse files
authored
Add quickstart video to website
Add quickstart guide video as "Getting started with VirtualShip" section
2 parents cdf6cc4 + ff265f0 commit a6f4a47

File tree

2 files changed

+33
-0
lines changed

2 files changed

+33
-0
lines changed

src/components/video-demo.js

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
import { Box, Container } from '@chakra-ui/react'
2+
import { Heading } from '@/components/mdx'
3+
import React from 'react'
4+
5+
export const VideoDemo = () => {
6+
return (
7+
<Box id={'video-demo'} as='section' my={12}>
8+
<Container maxW='container.lg' centerContent>
9+
<Heading as='h1' size='2xl' mb={4}>
10+
Getting started with VirtualShip
11+
</Heading>
12+
<Box
13+
w='100%'
14+
maxW='800px'
15+
borderRadius='lg'
16+
overflow='hidden'
17+
boxShadow='md'
18+
>
19+
<iframe
20+
width='100%'
21+
height='450'
22+
src='https://www.youtube.com/embed/ypafzoTBj_A?si=gjQBAxzfNzslN4B_'
23+
title='VirtualShip Classroom Demonstration'
24+
allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share'
25+
allowFullScreen
26+
></iframe>
27+
</Box>
28+
</Container>
29+
</Box>
30+
)
31+
}

src/pages/index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import { Projects, Features, HeroBanner, Funders } from '@/components'
2+
import { VideoDemo } from '@/components/video-demo'
23

34
import { Layout } from '@/components/layout'
45

@@ -14,6 +15,7 @@ export default function IndexPage() {
1415
>
1516
<HeroBanner />
1617
<Features />
18+
<VideoDemo />
1719
{/* <Projects /> TODO uncomment when projects are ready */}
1820
<Funders />
1921
</Layout>

0 commit comments

Comments
 (0)