diff --git a/src/components/home/TestimonialsSection.tsx b/src/components/home/TestimonialsSection.tsx index 431e60a33..79fe372ef 100644 --- a/src/components/home/TestimonialsSection.tsx +++ b/src/components/home/TestimonialsSection.tsx @@ -20,23 +20,24 @@ interface TestimonialsSectionProps { textComponent?: ReactNode; } -const AvatarAndText = ({ testimonial,textColor }: TestimonialProps): JSX.Element => ( +const AvatarAndText = ({ testimonial, textColor }: TestimonialProps): JSX.Element => (
FixThePhoto Avatar
-

- {testimonial.testimonialName} -

-

- {testimonial.company} -

+

{testimonial.testimonialName}

+

{testimonial.company}

); -const TestimonialsSection = ({ textContent, bgColor,textComponent,textColor }: TestimonialsSectionProps): JSX.Element => { +const TestimonialsSection = ({ + textContent, + bgColor, + textComponent, + textColor, +}: TestimonialsSectionProps): JSX.Element => { const testimonials = [ { review: textContent.cards[0].review, @@ -59,22 +60,18 @@ const TestimonialsSection = ({ textContent, bgColor,textComponent,textColor }: T ]; return ( -
-
+
+
- { textComponent} -

- {textContent.title.normal} {textContent.title.blue} -

+ {textComponent} +

{textContent.title}

{testimonials.map((testimonial) => (
-

- {testimonial.review} -

+

{testimonial.review}