"use client";
import NumberFlow from "@number-flow/react";
import { motion, useInView } from "framer-motion";
import { ArrowLeft, RefreshCcw } from "lucide-react";
import { useRef, useState } from "react";
import { Button } from "@/components/ui/button";
import { cn } from "@/lib/utils";
const numberFlowLocales = "fa-IR-u-nu-latn";
const STATS = {
monthly: {
TotalRevenue: 12.3,
TotalUsers: 0.3,
CompanyGrowth: 300,
NewCustomers: 100,
BigCorpClients: 10,
},
yearly: {
TotalRevenue: 105,
TotalUsers: 50,
CompanyGrowth: 30,
NewCustomers: 1.5,
BigCorpClients: 75,
},
} as const;
const ZERO_STATS = {
monthly: {
TotalRevenue: 0,
TotalUsers: 0,
CompanyGrowth: 0,
NewCustomers: 0,
BigCorpClients: 0,
},
yearly: {
TotalRevenue: 0,
TotalUsers: 0,
CompanyGrowth: 0,
NewCustomers: 0,
BigCorpClients: 0,
},
};
interface Stats12Props {
className?: string;
}
const Stats12 = ({ className }: Stats12Props) => {
const [showMonthlyStats, setShowMonthlyStats] = useState(false);
const ref = useRef(null);
const isInView = useInView(ref);
const stats = isInView ? STATS : ZERO_STATS;
return (
با رصد پایپلاین، نرخ تبدیل و MRR، نتایج واقعی فروش را برای تیم
خود شفاف کنید.
و این فقط درآمد یک سال است کاربر فعال رشد MRR حساب جدید قرارداد سازمانی
درآمد قابل اندازهگیری، نه وعده