Skip to content

Commit f57d544

Browse files
committed
video player nits
1 parent d41ce4d commit f57d544

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

src/landing/HeroExample.tsx

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,20 +96,22 @@ export default function HeroExample() {
9696
</p>
9797

9898
<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">
101103
<PlayCircle
102104
size={80}
103105
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"
105107
/>
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>
107110
</div>
108111
)}
109112

110113
<video
111114
className="border-2 rounded-xl object-cover w-full h-full"
112-
loop
113115
controls={played}
114116
id="main-video"
115117
src="/videos/main.mp4"

0 commit comments

Comments
 (0)