"use client"; import NumberFlow from "@number-flow/react"; import { motion } from "framer-motion"; import { ArrowLeft } from "lucide-react"; import React, { useRef, useState } from "react"; import { Button } from "@/components/ui/button"; import { cn } from "@/lib/utils"; const numberFlowLocales = "fa-IR-u-nu-latn"; const formatNumber = (value: number) => value.toLocaleString("fa-IR"); interface Stats15Props { className?: string; } const Stats15 = ({ className }: Stats15Props) => { const ref = useRef(null); const IllustrationRef = useRef(null); const [selectedYear, setSelectedYear] = useState(2021); const Stats = { 2021: { TotalRevenue: 12.3, TotalUsers: 0.3, CompanyGrowth: 300, NewCustomers: 100, BigCorpClients: 10, PathHeight: 0, }, 2022: { TotalRevenue: 105, TotalUsers: 50, CompanyGrowth: 30, NewCustomers: 1.5, BigCorpClients: 75, PathHeight: 55, }, 2023: { TotalRevenue: 250, TotalUsers: 120, CompanyGrowth: 45, NewCustomers: 2.8, BigCorpClients: 150, PathHeight: 105, }, 2024: { TotalRevenue: 500, TotalUsers: 300, CompanyGrowth: 65, NewCustomers: 4.2, BigCorpClients: 250, PathHeight: 160, }, }; const years = Object.keys(Stats).map(Number); return (

مسیر رشد درآمد، سال‌به‌سال

کاربران فعال، رشد MRR و حساب‌های جدید را در یک نمای زمانی شفاف مقایسه کنید.

کاربر فعال

رشد MRR

حساب جدید

قرارداد سازمانی

{years.map((year) => (
))}
); }; export { Stats15 }; const LinkIllustration = ({ className = "", PathHeight = 0 }) => { return ( ); };