"use client"; import type { LucideIcon } from "lucide-react"; import { Bell, Clock, Clock11Icon, Cloud, CloudDrizzle, CloudLightning, CloudRain, CloudSnow, CloudSun, Eye, FileInput, FilePlus, FileSearch, FileText, HardDrive, Key, LifeBuoy, Lock, Mail, Palette, Shield, ShieldAlert, ShieldCheck, ShieldPlus, ShieldQuestion, Star, UserCheck, UserCog, UserPlus, Users, VoicemailIcon, } from "lucide-react"; import { useState } from "react"; import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { Label } from "@/components/ui/label"; import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group"; import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, } from "@/components/ui/tooltip"; import { cn } from "@/lib/utils"; const formatPrice = (value: string | number) => `${(typeof value === "string" ? Number(value) : value).toLocaleString("fa-IR")} ریال`; interface PricingPackage { id: string; title: string; monthlyPrice: number; annualPrice: number; description: string; features: { title: string; items: { icon: LucideIcon; text: string }[]; }[]; isPopular?: boolean; } interface Pricing28Props { className?: string; } const Pricing28 = ({ className }: Pricing28Props) => { const [isAnnually, setIsAnnually] = useState(false); const packages: PricingPackage[] = [ { id: "basic", title: "طرح پایه", monthlyPrice: 790000, annualPrice: 630000, description: "۱۰ اعتبار در مجموع", features: [ { title: "امنیت", items: [ { icon: ShieldCheck, text: "امنیت استاندارد" }, { icon: Lock, text: "رمزنگاری پایه" }, { icon: Key, text: "احراز هویت دو مرحله‌ای" }, ], }, { title: "ظاهر", items: [ { icon: Palette, text: "برندسازی پایه" }, { icon: Eye, text: "قالب ایمیل و فیلد سفارشی پایه ظاهر" }, ], }, { title: "ذخیره‌سازی", items: [ { icon: HardDrive, text: "۵ گیگابایت فضای ذخیره" }, { icon: FileText, text: "نسخه‌بندی فایل" }, ], }, { title: "پشتیبانی", items: [ { icon: Mail, text: "فقط پشتیبانی ایمیل" }, { icon: Clock, text: "ثبت زمان پایه" }, ], }, { title: "همکاری", items: [ { icon: Users, text: "تا ۳ کاربر" }, { icon: UserPlus, text: "همکاری پایه تیمی" }, ], }, ], }, { id: "pro", title: "طرح حرفه‌ای", monthlyPrice: 299000, annualPrice: 239000, description: "۵۰ اعتبار در مجموع", features: [ { title: "امنیت", items: [ { icon: ShieldPlus, text: "امنیت پیشرفته" }, { icon: Shield, text: "رمزنگاری پیشرفته" }, { icon: Key, text: "احراز هویت دو مرحله‌ای" }, { icon: ShieldAlert, text: "جلوگیری از از دست رفتن داده" }, ], }, { title: "ظاهر", items: [ { icon: Palette, text: "برندسازی سفارشی" }, { icon: Eye, text: "شخصی‌سازی پیشرفته ظاهر" }, { icon: Star, text: "تم‌های سفارشی" }, ], }, { title: "ذخیره‌سازی", items: [ { icon: HardDrive, text: "۵۰ گیگابایت فضای ذخیره" }, { icon: FilePlus, text: "نسخه‌بندی فایل" }, { icon: Cloud, text: "پشتیبان‌گیری و بازیابی" }, ], }, { title: "پشتیبانی", items: [ { icon: Bell, text: "پشتیبانی اولویت‌دار" }, { icon: Clock, text: "پشتیبانی اولویت‌دار ۲۴/۷" }, { icon: Mail, text: "پشتیبانی ایمیل و چت" }, ], }, { title: "همکاری", items: [ { icon: Users, text: "عضو نامحدود فضای کاری" }, { icon: UserCheck, text: "همکاری پیشرفته تیمی" }, { icon: UserCog, text: "کنترل دسترسی مبتنی بر نقش" }, ], }, ], }, { id: "business", title: "طرح تجاری", monthlyPrice: 599000, annualPrice: 479000, description: "۱۰۰ اعتبار در مجموع", features: [ { title: "امنیت", items: [ { icon: ShieldPlus, text: "امنیت پیشرفته" }, { icon: ShieldCheck, text: "رمزنگاری در سطح سازمانی" }, { icon: Key, text: "احراز هویت دو مرحله‌ای" }, { icon: ShieldAlert, text: "جلوگیری از از دست رفتن داده" }, { icon: LifeBuoy, text: "تیم امنیتی اختصاصی" }, ], }, { title: "ظاهر", items: [ { icon: Palette, text: "برندسازی سفارشی" }, { icon: Eye, text: "شخصی‌سازی پیشرفته ظاهر" }, { icon: Star, text: "تم‌های سفارشی" }, { icon: Star, text: "برچسب سفید" }, ], }, { title: "ذخیره‌سازی", items: [ { icon: HardDrive, text: "۵۰۰ گیگابایت فضای ذخیره" }, { icon: FileSearch, text: "نسخه‌بندی فایل" }, { icon: CloudRain, text: "پشتیبان‌گیری و بازیابی" }, { icon: CloudSnow, text: "آپلود فایل نامحدود" }, ], }, { title: "پشتیبانی", items: [ { icon: Bell, text: "پشتیبانی اولویت‌دار" }, { icon: Clock, text: "پشتیبانی اولویت‌دار ۲۴/۷" }, { icon: Mail, text: "پشتیبانی ایمیل، چت و تلفن" }, { icon: Star, text: "مدیر موفقیت مشتری اختصاصی" }, ], }, { title: "همکاری", items: [ { icon: Users, text: "اعضای تیم نامحدود" }, { icon: UserCheck, text: "همکاری پیشرفته تیمی" }, { icon: UserCog, text: "کنترل دسترسی مبتنی بر نقش" }, { icon: Clock11Icon, text: "گردش‌کارهای سفارشی" }, ], }, ], isPopular: true, }, { id: "enterprise", title: "طرح سازمانی", monthlyPrice: 1199000, annualPrice: 959000, description: "اعتبار نامحدود", features: [ { title: "امنیت", items: [ { icon: ShieldPlus, text: "امنیت در سطح سازمانی" }, { icon: ShieldCheck, text: "رمزنگاری پیشرفته" }, { icon: Key, text: "احراز هویت دو مرحله‌ای" }, { icon: ShieldAlert, text: "جلوگیری از از دست رفتن داده" }, { icon: LifeBuoy, text: "تیم امنیتی اختصاصی" }, { icon: ShieldQuestion, text: "گواهی‌های انطباق" }, ], }, { title: "ظاهر", items: [ { icon: Palette, text: "برندسازی سفارشی" }, { icon: Eye, text: "شخصی‌سازی پیشرفته ظاهر" }, { icon: Star, text: "تم‌های سفارشی" }, { icon: Star, text: "برچسب سفید" }, { icon: Star, text: "انیمیشن‌های سفارشی" }, ], }, { title: "ذخیره‌سازی", items: [ { icon: HardDrive, text: "۱ ترابایت فضای ذخیره" }, { icon: FileInput, text: "نسخه‌بندی فایل" }, { icon: CloudLightning, text: "پشتیبان‌گیری و بازیابی" }, { icon: CloudDrizzle, text: "آپلود فایل نامحدود" }, { icon: CloudSun, text: "راهکار ذخیره‌سازی سفارشی" }, ], }, { title: "پشتیبانی", items: [ { icon: Bell, text: "پشتیبانی پریمیوم ۲۴/۷" }, { icon: Clock, text: "مدیر موفقیت مشتری اختصاصی" }, { icon: Mail, text: "پشتیبانی ایمیل، چت و تلفن" }, { icon: Star, text: "توافق‌نامه SLA سفارشی" }, ], }, { title: "همکاری", items: [ { icon: Users, text: "عضو نامحدود فضای کاری" }, { icon: UserCheck, text: "همکاری پیشرفته تیمی" }, { icon: UserCog, text: "کنترل دسترسی مبتنی بر نقش" }, { icon: Clock11Icon, text: "گردش‌کارهای سفارشی" }, { icon: VoicemailIcon, text: "یکپارچه‌سازی نامحدود" }, ], }, ], }, ]; return (

طرح مناسب خود را انتخاب کنید

U1 U2 U3
بیش از ۵۰ هزار توسعه‌دهنده به ما اعتماد دارند
لغو در هر زمان، بدون دردسر
دوره صورتحساب
{ setIsAnnually(value === "annually"); }} >
{packages.map((pkg) => (

{pkg.title}

{pkg.isPopular && محبوب}
{formatPrice( isAnnually ? pkg.annualPrice : pkg.monthlyPrice, )} {isAnnually ? "در ماه، صورتحساب سالانه" : "در ماه"}
{pkg.description} اعتبارها برای امکانات و خدمات پریمیوم قابل استفاده هستند.
{pkg.features.map((feature, i) => (

{feature.title}

    {feature.items.map((item, j) => (
  • {item.text}
  • ))}
))}
))}
پرداخت امن. قدرت گرفته از{" "} نوافروش
); }; export { Pricing28 };