import { Check } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Separator } from "@/components/ui/separator"; import { cn } from "@/lib/utils"; const formatPrice = (value: string | number) => `${(typeof value === "string" ? Number(value) : value).toLocaleString("fa-IR")} ریال`; interface Pricing6Props { heading: string; description?: string; price?: string | number; priceSuffix?: string; features?: string[][]; buttonText?: string; className?: string; } const defaultFeatures = [ ["نامحدود", "یکپارچه‌سازی‌ها", "پشتیبانی اولویت‌دار"], ["هم‌زمانی تیم فروش روی یک قیف", "فضای فایل نامحدود", "بازگشت وجه ۳۰ روزه"], ["اعضای نامحدود", "شخصی‌سازی", "عضو نامحدود فضای کاری"], ]; const Pricing6 = ({ heading = "تعرفه‌ها", description = "قیمت‌گذاری ساده با ۷ روز آزمایش رایگان.", price = 290000, priceSuffix = "در ماه", features = defaultFeatures, buttonText = "شروع آزمایش رایگان", className, }: Pricing6Props) => { return (

{heading}

{description}

{formatPrice(price)} {priceSuffix}
{features.map((featureGroup, idx) => (
    {featureGroup.map((feature, i) => (
  • {feature}
  • ))}
{idx < features.length - 1 && }
))}
); }; export { Pricing6 };