This commit is contained in:
Ubuntu
2026-07-03 16:58:28 +08:00
commit 32b43f85bd
6240 changed files with 1987678 additions and 0 deletions
+35
View File
@@ -0,0 +1,35 @@
import { Text, Card, Avatar } from "@/components/retroui";
interface TestimonialCardProps {
quote: string;
avatarSrc: string;
name: string;
title: string;
}
export default function TestimonialCard({
quote,
avatarSrc,
name,
title,
}: TestimonialCardProps) {
return (
<Card className="w-full max-w-[400px] shadow-none hover:shadow-md">
<Card.Content>
<Text className="text-lg">{quote}</Text>
<div className="flex items-center space-x-2 mt-6">
<Avatar className="h-10 w-10">
<Avatar.Image alt={`${name} avatar`} src={avatarSrc} />
</Avatar>
<div>
<div className="font-medium">{name}</div>
<div className="text-sm text-gray-500 dark:text-gray-400">
{title}
</div>
</div>
</div>
</Card.Content>
</Card>
);
}