103 lines
3.7 KiB
TypeScript
103 lines
3.7 KiB
TypeScript
import type { LucideIcon } from "lucide-react";
|
|
import { Eye, Keyboard, Volume2 } from "lucide-react";
|
|
|
|
import { AspectRatio } from "@/components/ui/aspect-ratio";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface Item {
|
|
id: string;
|
|
title: string;
|
|
summary: string;
|
|
icon: LucideIcon;
|
|
}
|
|
|
|
const FEATURES: Item[] = [
|
|
{
|
|
id: "keyboard-navigation",
|
|
title: "طبقهبندی خودکار",
|
|
summary:
|
|
"مدلهای هوشمند الگوهای پنهان در داده فروش و پشتیبانی را پیدا میکنند. تیمها با پیشنهادهای عملی، سریعتر اقدام میکنند.",
|
|
icon: Keyboard,
|
|
},
|
|
{
|
|
id: "screen-reader",
|
|
title: "پیشبینی ریزش",
|
|
summary:
|
|
"از خلاصهسازی مکالمه تا پیشنهاد پاسخ، AI زمان کار دستی را کم میکند و کیفیت خروجی را بالا میبرد.",
|
|
icon: Volume2,
|
|
},
|
|
{
|
|
id: "color-contrast",
|
|
title: "جستجوی معنایی",
|
|
summary:
|
|
"سیستم با داده سازمان شما یاد میگیرد و هر بار پیشنهادهای دقیقتری برای بهبود نتیجه ارائه میدهد.",
|
|
icon: Eye,
|
|
},
|
|
];
|
|
|
|
const FeatureItem = ({ title, summary, icon: Icon }: Item) => {
|
|
return (
|
|
<div className="flex flex-col items-center justify-center gap-4">
|
|
<Icon className="size-7 stroke-muted-foreground" />
|
|
<div className="max-w-xs text-center text-xl font-semibold text-balance">
|
|
{title}
|
|
</div>
|
|
<div className="max-w-lg text-center text-base text-pretty text-muted-foreground">
|
|
{summary}
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
interface Feature217aProps {
|
|
className?: string;
|
|
}
|
|
|
|
const Feature217a = ({ className }: Feature217aProps) => {
|
|
return (
|
|
<section dir="rtl" lang="fa" className={cn(className)}>
|
|
<div
|
|
className="relative bg-cover bg-center bg-no-repeat py-10 after:absolute after:inset-0 after:z-10 after:block after:size-full after:bg-black/40 after:content-[''] md:py-16 xl:px-6 xl:py-28"
|
|
style={{
|
|
backgroundImage:
|
|
"url('/block-media/shadcnblocks/block/photos/futuristic-device-design-qcufu.png')",
|
|
}}
|
|
>
|
|
<div className="relative z-20 container">
|
|
<div className="flex flex-col items-center justify-center gap-12 text-center">
|
|
<div className="flex max-w-4xl flex-col gap-5">
|
|
<h2 className="text-xl tracking-tight text-balance text-white md:text-2xll">
|
|
با هوش مصنوعی سریعتر تصمیم بگیرید
|
|
</h2>
|
|
<p className="text-lg font-medium tracking-tight text-pretty text-white">
|
|
مدلهای هوشمند الگوهای پنهان در داده فروش و پشتیبانی را پیدا میکنند. تیمها با پیشنهادهای عملی، سریعتر اقدام میکنند.
|
|
</p>
|
|
</div>
|
|
<div className="max-w-xl">
|
|
<AspectRatio
|
|
ratio={0.80239521}
|
|
className="w-full overflow-hidden rounded-xl shadow-xl"
|
|
>
|
|
<img
|
|
src="/block-media/shadcnblocks/block/placeholder-dark-1.svg"
|
|
alt="دستیار هوش مصنوعی"
|
|
className="block size-full object-cover object-center"
|
|
/>
|
|
</AspectRatio>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div className="container">
|
|
<div className="grid items-start gap-8 py-20 lg:grid-cols-3">
|
|
{FEATURES.map((item) => (
|
|
<FeatureItem key={item.id} {...item} />
|
|
))}
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { Feature217a };
|