import React from 'react'
import { Quote } from '@/components/quote'
import { Image } from '@/components/image'
interface CardTestimonial1Props {
img: string
cite: string
children: React.ReactNode
}
export function CardTestimonial1({
img,
cite,
children,
}: CardTestimonial1Props) {
return (
<div className="flex flex-col justify-center items-center">
<div className="flex justify-center w-full [&>*]:max-w-3xl [&>*]:xl:max-w-4xl">
{children}
</div>
<div className="flex justify-center items-center gap-4">
<Image
src={img}
alt={cite}
wrap={false}
size="small"
className="h-32 w-32 object-cover object-center"
rounded="rounded-full"
/>
<Quote margin="m-0">{cite}</Quote>
</div>
</div>
)
}