diff --git a/public/images/play.svg b/public/images/play.svg new file mode 100644 index 0000000..d03448b --- /dev/null +++ b/public/images/play.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/Reviews.tsx b/src/components/Reviews.tsx index 237b318..d825cb9 100644 --- a/src/components/Reviews.tsx +++ b/src/components/Reviews.tsx @@ -130,7 +130,6 @@ function Reviews() { > {reviews.map((review, index) => (
onVideoClick(review.video)} key={review.id} className={`relative aspect-video bg-black transition-transform duration-300 h-full xl:w-auto flex items-center justify-center min-w-[100vw] xl:min-w-0`} style={{ @@ -145,6 +144,12 @@ function Reviews() { ref={imageRefs[index]} className="aspect-video object-cover w-full h-full select-none pointer-events-none" /> +
onVideoClick(review.video)} + > + +
))}