'use client'; import type { TestimonialsContent } from '@/lib/config/bot-pages'; import { BRAND_ACCENT } from '@/lib/config/colors'; interface TestimonialsSectionProps { content: TestimonialsContent; } export function TestimonialsSection({ content }: TestimonialsSectionProps) { const { badge, title, subtitle, testimonials, cta } = content; const accent = BRAND_ACCENT; return (
{badge && (
{badge}
)}

{title}

{subtitle && (

{subtitle}

)}
{testimonials.map((testimonial, index) => (
{testimonial.author.charAt(0).toUpperCase()}
{testimonial.author}

{testimonial.role}

{testimonial.company && (

{testimonial.company}

)}

“{testimonial.quote}”

{testimonial.tag && ( {testimonial.tag} )}
))}
{cta && (

{cta.text}

Learn More
)}
); }