"use client"; import { ShoppingBag, X } from "lucide-react"; import { useState } from "react"; import { Button } from "@/components/ui/button"; import { cn } from "@/lib/utils"; interface Banner3Props { title: string; description: string; buttonText: string; buttonUrl: string; defaultVisible?: boolean; className?: string; } const Banner3 = ({ title = "پیشنهاد ویژه سازمانی - ۳۰٪ تخفیف", description = "ویژه تیم‌های ۱۰ نفره و بزرگ‌تر. ثبت‌نام تا پایان ماه", buttonText = "درخواست مشاوره", buttonUrl = "https://ShadcnBlocks", defaultVisible = true, className, }: Banner3Props) => { const [isVisible, setIsVisible] = useState(defaultVisible); const handleClose = () => { setIsVisible(false); }; if (!isVisible) return null; return (

{title}

{description}

); }; export { Banner3 };