import clsx from 'clsx'; import { LandingTestimonial, TestimonialItem, } from '@/components/landing/testimonial/LandingTestimonial'; /** * Shows a list of testimonials with a title and description. */ export const LandingTestimonialListSection = ({ className, containerClassName, title, titleComponent, description, descriptionComponent, testimonialItems, withBackground = false, variant = 'primary', withBackgroundGlow = false, backgroundGlowVariant = 'primary', }: { className?: string; containerClassName?: string; title?: string | React.ReactNode; titleComponent?: React.ReactNode; description?: string | React.ReactNode; descriptionComponent?: React.ReactNode; testimonialItems: TestimonialItem[]; withBackground?: boolean; variant?: 'primary' | 'secondary'; withBackgroundGlow?: boolean; backgroundGlowVariant?: 'primary' | 'secondary'; }) => { return (
{title ? (

{title}

) : ( titleComponent )} {description ? (

{description}

) : ( descriptionComponent )}
{withBackgroundGlow ? ( <>
); };