File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
1
import React from "react"
2
2
import { useTheme } from "@emotion/react"
3
- import { AspectRatio } from "@chakra-ui/react"
3
+ import { Box } from "@chakra-ui/react"
4
4
5
5
import darkVideo from "../assets/ethereum-hero-dark.mp4"
6
6
import lightVideo from "../assets/ethereum-hero-light.mp4"
@@ -18,7 +18,7 @@ const EthVideo: React.FC<IProps> = ({ className, videoSrc }) => {
18
18
const src = videoSrc ? videoSrc : isDarkTheme ? darkVideo : lightVideo
19
19
20
20
return (
21
- < AspectRatio ratio = { 1 / 1 } className = { className } >
21
+ < Box className = { className } >
22
22
< video
23
23
id = "hero-video"
24
24
width = "100%"
@@ -29,7 +29,7 @@ const EthVideo: React.FC<IProps> = ({ className, videoSrc }) => {
29
29
loop
30
30
muted
31
31
/>
32
- </ AspectRatio >
32
+ </ Box >
33
33
)
34
34
}
35
35
You can’t perform that action at this time.
0 commit comments