Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,55 @@
|
||||
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 = "این پلتفرم نحوه کار تیم ما را متحول کرد. سرعت تحویل افزایش یافت و کیفیت محصول بهطور محسوسی بهتر شد.",
|
||||
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 };
|
||||
Reference in New Issue
Block a user