import clsx from 'clsx'; import { BadgeCheck } from 'lucide-react'; import Image from '@/components/shared/Image'; export interface TestimonialItem { className?: string; url?: string; text: string; imageSrc: string; name: string; handle: string; featured?: boolean; verified?: boolean; size?: 'full' | 'half' | 'third'; // NB: Only applies to testimonials in a list, not grid. } /** * Shows a testimonial with an image, name, and handle. * * Meant to be used with a `LandingTestimonialList` or `LandingTestimonialGrid`. */ export const LandingTestimonial = ({ className, url, text, imageSrc, name, handle, featured, verified = true, }: TestimonialItem) => { const missingUrl = !url || url === '#'; return (

{`“${text}”`}

{name}{' '} {verified && ( )}
{`${handle}`}
); };