From b5bb06f1178e60f306fae0e255bb9fcfe05911ed Mon Sep 17 00:00:00 2001 From: kudindmitriy Date: Wed, 21 Jan 2026 17:50:39 +0200 Subject: [PATCH] Add linkedinUrl support to TestimonialCardTwo --- .../testimonial/TestimonialCardTwo.tsx | 40 +++++-------------- 1 file changed, 11 insertions(+), 29 deletions(-) diff --git a/src/components/sections/testimonial/TestimonialCardTwo.tsx b/src/components/sections/testimonial/TestimonialCardTwo.tsx index f40a38e..7142154 100644 --- a/src/components/sections/testimonial/TestimonialCardTwo.tsx +++ b/src/components/sections/testimonial/TestimonialCardTwo.tsx @@ -15,7 +15,7 @@ type Testimonial = { name: string; role: string; linkedinUrl?: string; - testimoniall: string; + testimonial: string; imageSrc?: string; imageAlt?: string; icon?: LucideIcon; @@ -23,7 +23,7 @@ type Testimonial = { interface TestimonialCardTwoProps { testimonials: Testimonial[]; - carouselelMode?: "auto" | "buttons"; + carouselMode?: "auto" | "buttons"; uniformGridCustomHeightClasses?: string; animationType: CardAnimationType; title: string; @@ -38,7 +38,7 @@ interface TestimonialCardTwoProps { className?: string; containerClassName?: string; cardClassName?: string; - textBoxxTitleClassName?: string; + textBoxTitleClassName?: string; textBoxTitleImageWrapperClassName?: string; textBoxTitleImageClassName?: string; textBoxDescriptionClassName?: string; @@ -98,33 +98,15 @@ const TestimonialCard = memo(({ /> ) : ( - {testimonial.linkedinUrl && ( - - - - )} - - {testimonial.linkedinUrl && ( - - - - )} - - {testimonial.linkedinUrl && ( - - - - )} - )} - - {testimonial.linkedinUrl && ( - - - - )} - +
+ {testimonial.linkedinUrl && ( + + + + )} +

{testimonial.name} @@ -187,7 +169,7 @@ const TestimonialCardTwo = ({ gridVariant="uniform-all-items-equal" uniformGridCustomHeightClasses={uniformGridCustomHeightClasses} animationType={animationType} - + title={title} titleSegments={titleSegments} description={description}