import { useApp } from "../../../../../../hooks"; import clsx from "clsx"; import { TestimonialsBlockDto } from "./TestimonialsBlockUtils"; export default function TestimonialsVariantSimple({ item }: { item: TestimonialsBlockDto }) { const { t } = useApp(); return (
{(item.headline || item.subheadline) && (

{t(item.headline)}

{t(item.subheadline)}

)}
{item.items.map((testimonial, idx) => { return (
3 && "md:w-1/2" )} >

{testimonial.quote}

testimonial {testimonial.name}
{t(testimonial.role)}
{testimonial.company && ( <>
@
{testimonial.companyUrl ? ( {testimonial.company} ) : ( testimonial.company )}
)}
); })}
); }