56 lines
1.7 KiB
TypeScript
56 lines
1.7 KiB
TypeScript
import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface Testimonial10Props {
|
|
className?: string;
|
|
quote?: string;
|
|
author?: {
|
|
name: string;
|
|
role: string;
|
|
avatar: {
|
|
src: string;
|
|
alt: string;
|
|
className?: string;
|
|
};
|
|
};
|
|
}
|
|
|
|
const Testimonial10 = ({
|
|
className,
|
|
quote = "این CRM نحوه کار تیم فروش ما را متحول کرد. زمان پاسخ به لید کوتاه شد و نرخ تبدیل فرصتها بهطور محسوسی بالا رفت.",
|
|
author = {
|
|
name: "رضا کریمی",
|
|
role: "مدیر فروش و بنیانگذار",
|
|
avatar: {
|
|
src: "/block-media/shadcnblocks/block/avatar-1.webp",
|
|
alt: "رضا کریمی",
|
|
},
|
|
},
|
|
}: Testimonial10Props) => {
|
|
return (
|
|
<section dir="rtl" lang="fa" className={cn("py-32", className)}>
|
|
<div className="container">
|
|
<div className="flex flex-col items-center text-center">
|
|
<p className="mb-16 max-w-4xl px-8 font-medium lg:text-3xl">
|
|
“{quote}”
|
|
</p>
|
|
<div className="flex items-center gap-2 md:gap-4">
|
|
<Avatar className="size-12 md:size-16">
|
|
<AvatarImage src={author.avatar.src} alt={author.avatar.alt} />
|
|
<AvatarFallback>{author.name}</AvatarFallback>
|
|
</Avatar>
|
|
<div className="text-start">
|
|
<p className="text-sm font-medium md:text-base">{author.name}</p>
|
|
<p className="text-sm text-muted-foreground md:text-base">
|
|
{author.role}
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { Testimonial10 };
|