80 lines
3.3 KiB
TypeScript
80 lines
3.3 KiB
TypeScript
import { ArrowRight } from "lucide-react";
|
|
|
|
import { BackgroundBeams } from "@/components/aceternity/background-beams";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
const STEPS = [
|
|
{
|
|
id: "copy-cli",
|
|
title: "پاسخ آماده",
|
|
description:
|
|
"پاسخهای پرتکرار را ذخیره کنید و با یک کلیک ارسال کنید.",
|
|
},
|
|
{
|
|
id: "paste-cli",
|
|
title: "SLA هوشمند",
|
|
description:
|
|
"همه کانالهای ارتباطی را در یک محیط مدیریت کنید و هیچ پیامی گم نشود.",
|
|
},
|
|
{
|
|
id: "edit",
|
|
title: "نظرسنجی رضایت",
|
|
description:
|
|
"تیکتهای مهم بر اساس قرارداد یا شدت مسئله در صف بالاتر قرار میگیرند.",
|
|
},
|
|
] as const;
|
|
|
|
interface Feature272Props {
|
|
className?: string;
|
|
}
|
|
|
|
const Feature272 = ({ className }: Feature272Props) => {
|
|
return (
|
|
<section
|
|
dir="rtl"
|
|
lang="fa"
|
|
className={cn(
|
|
"dark relative h-full w-full overflow-hidden bg-background py-32 text-foreground",
|
|
className,
|
|
)}
|
|
>
|
|
<div className="relative z-20 container flex h-full min-w-0 flex-col items-center justify-center gap-10">
|
|
<p className="max-w-3xl text-center text-sm tracking-wide text-balance text-muted-foreground">
|
|
پاسخهای آماده و پایگاه دانش، زمان پاسخ را کم میکند و کیفیت را در کل تیم یکسان نگه میدارد.
|
|
</p>
|
|
<h2 className="text-center text-2xll font-semibold tracking-tighter text-balance lg:text-2xll">
|
|
زمان حل مسئله را کوتاه کنید
|
|
</h2>
|
|
<p className="max-w-3xl text-center text-pretty text-muted-foreground">
|
|
رضایت مشتری و زمان حل را پیگیری کنید تا نقاط ضعف فرایند پشتیبانی را بهبود دهید.
|
|
</p>
|
|
<div className="relative grid w-full min-w-0 grid-cols-1 md:grid-cols-3">
|
|
{STEPS.map((step, index) => (
|
|
<div
|
|
key={step.id}
|
|
className="relative min-w-0 space-y-5 border p-10 text-start"
|
|
>
|
|
<h3 className="text-xl font-semibold tracking-tighter">
|
|
{step.title}
|
|
</h3>
|
|
<p className="text-pretty text-muted-foreground">
|
|
{step.description}
|
|
</p>
|
|
{index < STEPS.length - 1 && (
|
|
<div className="absolute start-1/2 -bottom-5 z-10 flex size-10 -translate-x-1/2 rotate-90 items-center justify-center gap-2 rounded-full border bg-background rtl:translate-x-1/2 md:top-1/2 md:-end-5 md:start-auto md:translate-x-0 md:-translate-y-1/2 md:rotate-0 rtl:md:translate-x-0">
|
|
<ArrowRight className="size-6 rtl:rotate-180" />
|
|
</div>
|
|
)}
|
|
</div>
|
|
))}
|
|
<div className="pointer-events-none absolute start-0 z-10 h-full w-10 bg-gradient-to-r from-background to-transparent rtl:bg-gradient-to-l" />
|
|
<div className="pointer-events-none absolute end-0 z-10 h-full w-10 bg-gradient-to-l from-background to-transparent rtl:bg-gradient-to-r" />
|
|
</div>
|
|
</div>
|
|
<BackgroundBeams className="dark bg-background text-foreground" />
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { Feature272 };
|