92 lines
3.1 KiB
TypeScript
92 lines
3.1 KiB
TypeScript
import { ArrowRight } from "lucide-react";
|
|
|
|
import { AspectRatio } from "@/components/ui/aspect-ratio";
|
|
import { Button } from "@/components/ui/button";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const STATS = [
|
|
{
|
|
id: "retention",
|
|
number: "یکپارچگی",
|
|
text: "کنترل بودجه بخش",
|
|
},
|
|
{
|
|
id: "development-time",
|
|
number: "عملیات",
|
|
text: "ردیابی دارایی",
|
|
},
|
|
{
|
|
id: "adoption",
|
|
number: "مدیریت سازمان",
|
|
text: "گزارش سود و زیان",
|
|
},
|
|
];
|
|
|
|
interface Feature220Props {
|
|
className?: string;
|
|
}
|
|
|
|
const Feature220 = ({ className }: Feature220Props) => {
|
|
return (
|
|
<section
|
|
dir="rtl"
|
|
lang="fa"
|
|
className={cn(
|
|
"bg-muted bg-[url('/block-media/shadcnblocks/block/patterns/dot-pattern-2.svg')] bg-[length:3.125rem_3.125rem] bg-repeat py-20",
|
|
className,
|
|
)}
|
|
>
|
|
<div className="container flex flex-wrap-reverse gap-12 lg:grid lg:grid-cols-[1fr_1.5fr] lg:gap-[7.5rem]">
|
|
<div className="flex flex-col justify-between gap-20">
|
|
<div className="mt-10 flex flex-col gap-5 text-start">
|
|
<h2 className="text-xl leading-none font-semibold tracking-tight text-balance md:text-2xll">
|
|
از خرید تا فروش در یک سیستم
|
|
</h2>
|
|
<p className="text-lg leading-[1.4] font-medium text-pretty text-muted-foreground md:text-xl">
|
|
گزارشهای یکپارچه نشان میدهد کدام بخش بیشترین تأثیر را روی سودآوری دارد.
|
|
</p>
|
|
<div>
|
|
<Button size="lg" className="gap-2 px-8 py-6 text-lg">
|
|
ERP
|
|
<ArrowRight className="size-4 rtl:rotate-180" />
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div className="group flex w-full max-w-[30rem] flex-col gap-10 rounded-[.5rem] bg-background p-5 text-start transition-shadow hover:shadow-[0_0_2px_theme('colors.gray.300')]">
|
|
<div className="flex w-full flex-col gap-8 sm:flex-row">
|
|
{STATS.map((item) => (
|
|
<div className="flex flex-col gap-1" key={item.id}>
|
|
<div className="text-xl font-semibold">{item.number}</div>
|
|
<div className="text-sm font-medium text-pretty text-muted-foreground">
|
|
{item.text}
|
|
</div>
|
|
</div>
|
|
))}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div className="w-full max-w-[46.5rem]">
|
|
<AspectRatio
|
|
ratio={0.873239437}
|
|
className="overflow-hidden rounded-2xl"
|
|
>
|
|
<video
|
|
src="/block-media/shadcnblocks/block/video-8.mp4"
|
|
className="block size-full object-cover object-center"
|
|
loop
|
|
autoPlay
|
|
muted
|
|
controls={false}
|
|
aria-label="عملیات سازمان را یکپارچه کنید"
|
|
/>
|
|
</AspectRatio>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { Feature220 };
|