Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,104 @@
|
||||
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: "SLA هوشمند",
|
||||
summary:
|
||||
"پاسخهای پرتکرار را ذخیره کنید و با یک کلیک ارسال کنید.",
|
||||
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 Feature217Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const Feature217 = ({ className }: Feature217Props) => {
|
||||
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="grid items-start justify-start gap-14 xl:grid-cols-2 xl:items-center xl:justify-center">
|
||||
<div className="flex flex-col gap-8 text-start">
|
||||
<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="flex items-center justify-end">
|
||||
<div className="max-w-xl xl:w-full">
|
||||
<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>
|
||||
<div className="container">
|
||||
<div className="grid items-start gap-16 py-20 lg:grid-cols-3">
|
||||
{FEATURES.map((item) => (
|
||||
<FeatureItem key={item.id} {...item} />
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { Feature217 };
|
||||
Reference in New Issue
Block a user