import type { LucideIcon } from "lucide-react"; import { Gift, Headphones, RefreshCw, ShieldCheck } from "lucide-react"; import { Carousel, CarouselContent, CarouselItem, } from "@/components/ui/carousel"; import { cn } from "@/lib/utils"; type Incentive = { title: string; icon: LucideIcon; text: string; id: string; }; interface Incentives1Props { incentives: Incentive[]; className?: string; } const INCENTIVES: Incentive[] = [ { id: "1", title: "پشتیبانی فنی", text: "هفت روز هفته، پشتیبانی ۲۴ ساعته", icon: Headphones, }, { id: "2", title: "تعویض سریع", text: "پردازش مرجوعی تا ۶۰ روز", icon: RefreshCw, }, { id: "3", title: "بسته‌بندی ویژه", text: "بسته‌بندی رایگان برای خریدهای بالای ۱۰۰ دلار", icon: Gift, }, { id: "4", title: "ضمانت محصول", text: "گارانتی بی‌دردسر و بدون پیچیدگی", icon: ShieldCheck, }, ]; const Incentives1 = ({ incentives = INCENTIVES, className, }: Incentives1Props) => { return (
{incentives.map(({ title, icon: Icon, text, id }) => (

{title}

{text}

))}
); }; export { Incentives1 };