From 73ed6ce3b89bcc160b5ec3aaafe4dfa90df4dd74 Mon Sep 17 00:00:00 2001 From: Rafi Arrafif Date: Thu, 26 Mar 2026 15:22:01 +0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix:=20correct=20watch=20button?= =?UTF-8?q?=20and=20genre=20on=20swiper?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../home/sections/Hero/components/Swiper.tsx | 50 ++++++++++--------- 1 file changed, 27 insertions(+), 23 deletions(-) diff --git a/features/home/sections/Hero/components/Swiper.tsx b/features/home/sections/Hero/components/Swiper.tsx index f722fbb..09c1362 100644 --- a/features/home/sections/Hero/components/Swiper.tsx +++ b/features/home/sections/Hero/components/Swiper.tsx @@ -2,10 +2,10 @@ import "swiper/css"; import { Badge } from "@/shared/libs/shadcn/ui/badge"; import { Button } from "@/shared/libs/shadcn/ui/button"; -import { useRouter } from "next/navigation"; import { Autoplay, Navigation, Pagination } from "swiper/modules"; import { Swiper, SwiperSlide } from "swiper/react"; import { Icon } from "@iconify/react"; +import Link from "next/link"; export interface HeroSwiperProps { data: { @@ -22,7 +22,6 @@ export interface HeroSwiperProps { } const HeroSwiper = (props: HeroSwiperProps) => { - const router = useRouter(); return (
{
{slide.genres.map((genre) => ( - - {genre.name} - + + + {genre.name} + + ))}

{slide.synopsis}

- +
+ + + +
))}