130 lines
5.9 KiB
TypeScript
130 lines
5.9 KiB
TypeScript
import { Badge } from "@/components/ui/badge";
|
|
import { Separator } from "@/components/ui/separator";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const formatDecimal = (value: number) =>
|
|
new Intl.NumberFormat("fa-IR", {
|
|
minimumFractionDigits: 1,
|
|
maximumFractionDigits: 1,
|
|
}).format(value);
|
|
|
|
const formatPercent = (value: number) => `${formatDecimal(value)}٪`;
|
|
|
|
interface Stats9Props {
|
|
className?: string;
|
|
}
|
|
|
|
const Stats9 = ({ className }: Stats9Props) => {
|
|
return (
|
|
<section dir="rtl" lang="fa" className={cn("py-32", className)}>
|
|
<div className="container">
|
|
<div className="grid items-center gap-12 lg:grid-cols-2">
|
|
<div className="mx-auto max-w-2xl lg:mx-0 lg:max-w-none">
|
|
<div className="flex flex-col items-center gap-3 text-center lg:items-start lg:text-start">
|
|
<Badge
|
|
variant="outline"
|
|
className="flex w-fit items-center gap-1"
|
|
>
|
|
امکانات
|
|
</Badge>
|
|
<h1 className="mb-5 text-xl font-semibold text-pretty">
|
|
همین امروز تجربه دیجیتال خود را متحول کنید
|
|
</h1>
|
|
<p className="text-muted-foreground">
|
|
با فناوری پیشرفته، گردش کار خود را ساده کنید و امکانات تازهای
|
|
در فضای دیجیتال کشف کنید.
|
|
</p>
|
|
</div>
|
|
<div className="mt-12 flex justify-center gap-7 lg:justify-start">
|
|
<div className="flex flex-col gap-1.5">
|
|
<p className="text-xl font-bold text-foreground sm:text-3xl">
|
|
{formatDecimal(2.5)} میلیون+
|
|
</p>
|
|
<p className="text-muted-foreground">کاربران خدمترسانیشده</p>
|
|
</div>
|
|
<Separator orientation="vertical" className="h-auto" />
|
|
<div className="flex flex-col gap-1.5">
|
|
<p className="text-xl font-bold text-foreground sm:text-3xl">
|
|
{formatPercent(99.9)}
|
|
</p>
|
|
<p className="text-muted-foreground">در دسترس بودن</p>
|
|
</div>
|
|
<Separator orientation="vertical" className="h-auto" />
|
|
<div className="flex flex-col gap-1.5">
|
|
<p className="text-xl font-bold text-foreground sm:text-3xl">
|
|
{formatDecimal(4.8)}
|
|
</p>
|
|
<p className="text-muted-foreground">امتیاز کاربران</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div className="grid gap-2.5 text-start sm:grid-cols-2 sm:text-center lg:text-start">
|
|
<div className="flex items-center gap-5 rounded-lg border border-border bg-muted p-6 sm:flex-col sm:items-start sm:p-7">
|
|
<img
|
|
src="/block-media/shadcnblocks/block/block-1.svg"
|
|
alt="لوگوی یکپارچهسازی ابری"
|
|
className="mx-0 size-12 sm:mx-auto lg:mx-0"
|
|
/>
|
|
<div className="flex flex-col gap-1">
|
|
<p className="text-sm font-semibold text-foreground sm:text-base">
|
|
یکپارچهسازی ابری
|
|
</p>
|
|
<p className="text-sm text-muted-foreground sm:text-base">
|
|
راهکارهای ابری یکپارچه برای نیازهای کسبوکار مدرن
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div className="flex items-center gap-5 rounded-lg border border-border bg-muted p-6 sm:flex-col sm:items-start sm:p-7">
|
|
<img
|
|
src="/block-media/shadcnblocks/block/block-2.svg"
|
|
alt="لوگوی پایش ۲۴ ساعته"
|
|
className="mx-0 size-12 sm:mx-auto lg:mx-0"
|
|
/>
|
|
<div className="flex flex-col gap-1">
|
|
<p className="text-sm font-semibold text-foreground sm:text-base">
|
|
پایش ۲۴ ساعته
|
|
</p>
|
|
<p className="text-sm text-muted-foreground sm:text-base">
|
|
پایش و پشتیبانی بیوقفه سامانه
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div className="flex items-center gap-5 rounded-lg border border-border bg-muted p-6 sm:flex-col sm:items-start sm:p-7">
|
|
<img
|
|
src="/block-media/shadcnblocks/block/block-3.svg"
|
|
alt="لوگوی ابزارهای هوش مصنوعی"
|
|
className="mx-0 size-12 sm:mx-auto lg:mx-0"
|
|
/>
|
|
<div className="flex flex-col gap-1">
|
|
<p className="text-sm font-semibold text-foreground sm:text-base">
|
|
ابزارهای مبتنی بر هوش مصنوعی
|
|
</p>
|
|
<p className="text-sm text-muted-foreground sm:text-base">
|
|
الگوریتمهای یادگیری ماشین پیشرفته با بینشهای هوشمند
|
|
</p>
|
|
</div>
|
|
</div>
|
|
<div className="flex items-center gap-5 rounded-lg border border-border bg-muted p-6 sm:flex-col sm:items-start sm:p-7">
|
|
<img
|
|
src="/block-media/shadcnblocks/block/block-4.svg"
|
|
alt="لوگوی امنیت سازمانی"
|
|
className="mx-0 size-12 sm:mx-auto lg:mx-0"
|
|
/>
|
|
<div className="flex flex-col gap-1">
|
|
<p className="text-sm font-semibold text-foreground sm:text-base">
|
|
امنیت سازمانی
|
|
</p>
|
|
<p className="text-sm text-muted-foreground sm:text-base">
|
|
رمزنگاری در سطح نظامی و محافظت پیشرفته در برابر تهدیدها
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { Stats9 };
|