import { Check, ChevronRight } from "lucide-react";
import { type SVGProps, useId } from "react";
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
const formatPrice = (value: string | number) =>
`${(typeof value === "string" ? Number(value) : value).toLocaleString("fa-IR")} ریال`;
type PricingTier = {
id: string;
name: string;
price: string;
description: string;
features: string[];
cta: {
text: string;
href: string;
};
};
const ITEMS: PricingTier[] = [
{
id: "starter",
name: "شروع",
price: formatPrice(0),
description: "رایگان برای همه",
features: ["اعضای نامحدود", "۲۵۰ تراکنش", "بدون پشتیبانی"],
cta: {
text: "رایگان شروع رایگان",
href: "/signup",
},
},
{
id: "basic",
name: "پایه",
price: formatPrice(299900),
description: "به ازای هر کاربر در ماه",
features: [
"همهچیز در طرح رایگان، بهعلاوه:",
"هوش مصنوعی نوافروش",
"تیمهای نامحدود",
],
cta: {
text: "۷ روز رایگان",
href: "/signup",
},
},
{
id: "enterprise",
name: "سازمانی",
price: "سفارشی",
description: "قیمتگذاری سفارشی",
features: [
"همهچیز در طرح پایه، بهعلاوه:",
"کنترلهای امنیتی پیشرفته",
"پشتیبانی مهاجرت",
],
cta: {
text: "رزرو دمو",
href: "/",
},
},
];
export const Pricing29 = () => {
return (
نوافروش را رایگان با کل تیم خود استفاده کنید. با ارتقای طرح،
امکانات پیشرفتهتر را فعال کنید.
تعرفهها
{tier.price}
{tier.description}