import { Activity, ArrowRight, Receipt, Zap } from "lucide-react"; import React from "react"; import { Button } from "@/components/ui/button"; import type { HeroFeatureIconsProps } from "@/lib/hero-feature-icons"; import { cn } from "@/lib/utils"; const Hero256 = ({ badge = "با عملیات درآمد هوشمند، کسب‌وکار خود را متحول کنید", heading = "تمام چرخه درآمد خود را ساده و یکپارچه کنید", buttonPrimary = { text: "شروع آزمایش رایگان", href: "#", }, buttonSecondary = { text: "درخواست مشاوره", href: "#", }, features = [ { title: "مدل‌سازی", description: "مدل‌های قیمت‌گذاری پویا که با شرایط بازار و گروه‌های مشتری سازگار می‌شوند", icon: Zap, color: "bg-teal-500", href: "#", }, { title: "صدور فاکتور", description: "صدور فاکتور و پردازش پرداخت یکپارچه با مدیریت هوشمند مطالبات معوق", icon: Receipt, color: "bg-blue-500", href: "#", }, { title: "تحلیل‌ها", description: "بینش و پیش‌بینی بلادرنگ برای بهینه‌سازی جریان‌های درآمد", icon: Activity, color: "bg-purple-500", href: "#", }, ], images = [ { src: "/block-media/shadcnblocks/block/placeholder-1.svg", alt: "داشبورد مدیریت درآمد با تحلیل‌ها و معیارها", }, ], className, }: HeroFeatureIconsProps) => { return (
{/* Main Hero Section */}
{/* Background Pattern - only for hero section */}
{/* Grid Background */}
{/* Decorative Diamond Pattern - positioned on the right */}
{/* Diamond pattern - circular arrangement */}
{Array.from({ length: 12 }).map((_, i) => { const angle = (i * 360) / 12; const radius = 80; const x = Math.cos((angle * Math.PI) / 180) * radius; const y = Math.sin((angle * Math.PI) / 180) * radius; return (
); })}
{/* Inner circle */}
{Array.from({ length: 8 }).map((_, i) => { const angle = (i * 360) / 8; const radius = 50; const x = Math.cos((angle * Math.PI) / 180) * radius; const y = Math.sin((angle * Math.PI) / 180) * radius; return (
); })}
{/* Hero Content */}
{/* Badge */}

{badge}

{/* Heading */}

{heading}

{/* Buttons */}
{buttonPrimary && ( )} {buttonSecondary && ( )}
{/* Features Section */}
{features.map((feature, index) => ( ))}
{images[0].alt}
); }; export { Hero256 };