/* eslint-disable @next/next/no-img-element */ import { fluxgore } from "@/utils/fonts"; import { useRef, useState } from "react"; import { Swiper, SwiperSlide } from "swiper/react"; import type { Swiper as SwiperType } from "swiper"; import "swiper/css"; const iconPath = "/icons/swiper.svg"; function SwiperButton({ onClick, direction = "next", disabled = false, }: { onClick: () => void; direction?: "next" | "prev"; disabled?: boolean; }) { return ( ); } function Slide({ title, imageSrc }: { title: string; imageSrc: string }) { return (

{title}

Slide Image Background Tear
); } function Activities() { const swiperRef = useRef(null); const [isBeginning, setIsBeginning] = useState(true); const [isEnd, setIsEnd] = useState(false); const handlePrevious = () => { swiperRef.current?.slidePrev(); }; const handleNext = () => { swiperRef.current?.slideNext(); }; const handleSwiperInit = (swiper: SwiperType) => { swiperRef.current = swiper; setIsBeginning(swiper.isBeginning); setIsEnd(swiper.isEnd); }; const handleSlideChange = (swiper: SwiperType) => { setIsBeginning(swiper.isBeginning); setIsEnd(swiper.isEnd); }; return (

Активности фестиваля

); } export default Activities;