"use client"; import { Swiper, SwiperSlide } from "swiper/react"; import { Navigation, Autoplay } from "swiper/modules"; import "swiper/css"; import "swiper/css/navigation"; import { ChevronLeft, ChevronRight } from "lucide-react"; import Image from "next/image"; import Link from "next/link"; import { useLocale, useTranslations } from "next-intl"; import DotAnimatsiya from "@/components/dot/DotAnimatsiya"; // The custom CSS selectors for navigation const navigationPrevEl = ".hero-swiper-prev"; const navigationNextEl = ".hero-swiper-next"; export function BannerSlider() { const t = useTranslations(); const locale = useLocale(); const BANNER_DATA = [ { image: "/images/homeBanner3.png", title: t("home.banner.title2"), description: t("home.banner.description"), }, { image: "/images/homeBanner4.png", title: t("home.banner.title2"), description: t("home.banner.description"), }, ]; return (
{item.description}
{/* CTA Button */}{t("home.banner.description")}
{/* CTA Button */} {t("home.banner.cta")}