1- import React from ' react'
1+ import React from " react" ;
22
33const Video = ( ) => {
4- return (
5- < div id = 'demo' className = "w-full border-b border-[#252525] py-2 " >
6- < div className = "w-full border border-dashed border-[#252525] p-8 relative " >
7- < div
8- style = { {
9- height : "100%" ,
10- "--pattern-fg" : "#252525" ,
11- borderRight : "1px dashed #252525" ,
12- backgroundImage :
13- "repeating-linear-gradient(315deg, #252525 0, #252525 1px, transparent 0, transparent 50%)" ,
14- backgroundSize : "10px 10px" ,
15- backgroundAttachment : "fixed" ,
16- } as React . CSSProperties }
17- className = 'w-[30px] lg:w-[50px] absolute left-0 top-0 hidden lg:block'
18- />
19- < div
20- style = { {
21- height : "100%" ,
22- "--pattern-fg" : "#252525" ,
23- borderLeft : "1px dashed #252525" ,
24- backgroundImage :
25- "repeating-linear-gradient(315deg, #252525 0, #252525 1px, transparent 0, transparent 50%)" ,
26- backgroundSize : "10px 10px" ,
27- backgroundAttachment : "fixed" ,
28- } as React . CSSProperties }
29- className = 'w-[30px] lg:w-[50px] absolute right-0 top-0 hidden lg:block'
30- />
31- < video autoPlay muted className = "lg:w-[70%] mx-auto rounded-2xl" >
32- < source src = "/videos/os-demo.mp4" type = "video/mp4" />
33- </ video >
34- </ div >
4+ return (
5+ < div id = "demo" className = "w-full border-b border-[#252525] py-2 " >
6+ < div className = "w-full border border-dashed border-[#252525] p-8 relative " >
7+ < div
8+ style = {
9+ {
10+ height : "100%" ,
11+ "--pattern-fg" : "#252525" ,
12+ borderRight : "1px dashed #252525" ,
13+ backgroundImage :
14+ "repeating-linear-gradient(315deg, #252525 0, #252525 1px, transparent 0, transparent 50%)" ,
15+ backgroundSize : "10px 10px" ,
16+ backgroundAttachment : "fixed" ,
17+ } as React . CSSProperties
18+ }
19+ className = "w-[30px] lg:w-[50px] absolute left-0 top-0 hidden lg:block"
20+ />
21+ < div
22+ style = {
23+ {
24+ height : "100%" ,
25+ "--pattern-fg" : "#252525" ,
26+ borderLeft : "1px dashed #252525" ,
27+ backgroundImage :
28+ "repeating-linear-gradient(315deg, #252525 0, #252525 1px, transparent 0, transparent 50%)" ,
29+ backgroundSize : "10px 10px" ,
30+ backgroundAttachment : "fixed" ,
31+ } as React . CSSProperties
32+ }
33+ className = "w-[30px] lg:w-[50px] absolute right-0 top-0 hidden lg:block"
34+ />
35+ < div className = "relative w-full lg:w-[70%] mx-auto overflow-hidden rounded-2xl aspect-video" >
36+ < iframe
37+ className = "absolute top-0 left-0 w-full h-full"
38+ src = "https://www.youtube.com/embed/q3I15TCRa88?si=Fg3NxVkUhKrLjvm8"
39+ title = "Opensox Demo"
40+ allow = "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
41+ allowFullScreen
42+ > </ iframe >
3543 </ div >
36- )
37- }
44+ </ div >
45+ </ div >
46+ ) ;
47+ } ;
3848
39- export default Video
49+ export default Video ;
0 commit comments