File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -96,20 +96,22 @@ export default function HeroExample() {
96
96
</ p >
97
97
98
98
< div className = "relative" >
99
- { ! played && (
100
- < div className = "absolute top-0 bottom-0 left-0 right-0 bg-black opacity-75 rounded-xl z-50 flex justify-center items-center flex-col gap-2" >
99
+ { ! played && ( < div >
100
+ < div className = "absolute top-0 bottom-0 left-0 right-0 bg-black opacity-10 rounded-xl z-50 flex justify-center items-center flex-col gap-2" >
101
+ </ div >
102
+ < div className = "absolute top-0 bottom-0 left-0 right-0 rounded-xl z-50 flex justify-center items-center flex-col gap-2" >
101
103
< PlayCircle
102
104
size = { 80 }
103
105
onClick = { ( ) => setPlayed ( true ) }
104
- className = "text-white hover:text-blue-400 cursor-pointer transition-all"
106
+ className = "text-gray-700 hover:text-blue-400 cursor-pointer transition-all"
105
107
/>
106
- < span className = "text-white font-bold text-2xl" > Windmill in 58 secs</ span >
108
+ < span className = "text-gray-700 font-bold text-2xl" > Windmill in 58 secs</ span >
109
+ </ div >
107
110
</ div >
108
111
) }
109
112
110
113
< video
111
114
className = "border-2 rounded-xl object-cover w-full h-full"
112
- loop
113
115
controls = { played }
114
116
id = "main-video"
115
117
src = "/videos/main.mp4"
You can’t perform that action at this time.
0 commit comments