"use client"; import { AnimatePresence, motion } from "framer-motion"; import React, { useState } from "react"; import { FaCog, FaDollarSign, FaPalette, FaRocket, FaShieldAlt, FaUsers, } from "react-icons/fa"; import { cn } from "@/lib/utils"; const FEATURES = [ { id: "performance", title: "مدیریت دارایی", description: "درخواست خرید تا سفارش تأمین‌کننده را در یک مسیر مدیریت کنید.", icon: FaRocket, color: "text-pink-500", bgColor: "bg-pink-500/10", }, { id: "setup", title: "بودجه‌بندی", description: "فاکتور را سریع صادر کنید و وضعیت تسویه را شفاف ببینید.", icon: FaCog, color: "text-green-500", bgColor: "bg-green-500/10", }, { id: "design", title: "مدیریت مالی", description: "درآمد و هزینه را در یک دفتر کل متمرکز دنبال کنید.", icon: FaPalette, color: "text-sky-500", bgColor: "bg-sky-500/10", }, { id: "value", title: "ERP", description: "ورود و خروج کالا را لحظه‌ای ثبت کنید و اختلاف انبار را کم کنید.", icon: FaDollarSign, color: "text-green-500", bgColor: "bg-green-500/10", }, { id: "security", title: "ERP", description: "درخواست خرید تا سفارش تأمین‌کننده را در یک مسیر مدیریت کنید.", icon: FaShieldAlt, color: "text-purple-500", bgColor: "bg-purple-500/10", }, { id: "support", title: "ERP", description: "فاکتور را سریع صادر کنید و وضعیت تسویه را شفاف ببینید.", icon: FaUsers, color: "text-orange-500", bgColor: "bg-orange-500/10", }, ] as const; interface Feature278Props { className?: string; } const Feature278 = ({ className }: Feature278Props) => { const [hoveredIndex, setHoveredIndex] = useState(null); return (

ویژگی‌هایی که{" "}
ERP

{FEATURES.map((item, idx) => (
setHoveredIndex(idx)} onMouseLeave={() => setHoveredIndex(null)} > {hoveredIndex === idx && ( )}
))}
); }; export { Feature278 }; const Card = ({ className, title, description, bgColor, icon: Icon, color, }: { className?: string; title: string; description: string; icon: React.ComponentType<{ className?: string }>; bgColor: string; color: string; }) => { return (

{title}

{description}

); };