From 613eb58cba27cf2408fb7b8bcc7215f97fb9baf6 Mon Sep 17 00:00:00 2001 From: Kevin Satria D <130447401+kevinnsd1@users.noreply.github.com> Date: Wed, 20 May 2026 15:46:39 +0700 Subject: [PATCH] feat: add Hero component with auto-playing video carousel and search functionality --- src/components/Hero.tsx | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/src/components/Hero.tsx b/src/components/Hero.tsx index 4a295f2..e8856b5 100644 --- a/src/components/Hero.tsx +++ b/src/components/Hero.tsx @@ -5,15 +5,15 @@ import { Search } from "lucide-react"; const SLIDES = [ { id: 1, - videoUrl: "https://videos.pexels.com/video-files/3253245/3253245-uhd_2560_1440_25fps.mp4", + videoId: "Fpn1imb9qZg", // Konser }, { id: 2, - videoUrl: "https://videos.pexels.com/video-files/2086119/2086119-uhd_2560_1440_24fps.mp4", + videoId: "qqvBnmUBP8g", // Lari }, { id: 3, - videoUrl: "https://videos.pexels.com/video-files/3163534/3163534-uhd_2560_1440_30fps.mp4", + videoId: "DK3hsi6NBjw", // Seminar }, ]; @@ -71,18 +71,16 @@ export default function Hero() {