"use client"; import { ArrowRight } from "lucide-react"; import { useEffect, useState } from "react"; import { Button } from "@/components/ui/button"; import type { CarouselApi } from "@/components/ui/carousel"; import { Carousel, CarouselContent, CarouselItem, } from "@/components/ui/carousel"; import { cn } from "@/lib/utils"; interface DataItem { id: string; title: string; description: string; href: string; image: string; } const DATA: DataItem[] = [ { id: "item-1", title: "کشف آلپ", description: "مناظری بی‌نظیر", href: "#", image: "/block-media/shadcnblocks/block/placeholder-3.svg", }, { id: "item-2", title: "بهشت استوایی", description: "استراحت در سواحل بکر", href: "#", image: "/block-media/shadcnblocks/block/placeholder-2.svg", }, { id: "item-3", title: "شگفتی‌های فرهنگی", description: "غوطه‌وری در تاریخ غنی", href: "#", image: "/block-media/shadcnblocks/block/placeholder-1.svg", }, { id: "item-4", title: "مردم دل‌انگیز", description: "آشنایی با افراد شگفت‌انگیز جهان", href: "#", image: "/block-media/shadcnblocks/block/placeholder-4.svg", }, ]; interface Gallery11Props { className?: string; } const Gallery11 = ({ className }: Gallery11Props) => { const [carouselApi, setCarouselApi] = useState(); useEffect(() => { if (!carouselApi) { return; } carouselApi.reInit(); }, [carouselApi]); return (

کشف مقاصد سفر

{DATA.map((item) => (
{item.title}
{item.title}

{item.description}

))}
); }; export { Gallery11 };