Edit: in the Expert Perspectives section add linkedin icons near each name and it shou

This commit is contained in:
2026-01-21 17:39:11 +02:00
parent 17ea4507d1
commit 650d8ea404

View File

@@ -15,7 +15,7 @@ type Testimonial = {
name: string;
role: string;
linkedinUrl?: string;
testimonial: string;
testimoniall: string;
imageSrc?: string;
imageAlt?: string;
icon?: LucideIcon;
@@ -23,7 +23,7 @@ type Testimonial = {
interface TestimonialCardTwoProps {
testimonials: Testimonial[];
carouselMode?: "auto" | "buttons";
carouselelMode?: "auto" | "buttons";
uniformGridCustomHeightClasses?: string;
animationType: CardAnimationType;
title: string;
@@ -38,7 +38,7 @@ interface TestimonialCardTwoProps {
className?: string;
containerClassName?: string;
cardClassName?: string;
textBoxTitleClassName?: string;
textBoxxTitleClassName?: string;
textBoxTitleImageWrapperClassName?: string;
textBoxTitleImageClassName?: string;
textBoxDescriptionClassName?: string;
@@ -98,6 +98,24 @@ const TestimonialCard = memo(({
/>
) : (
<Icon className={cls("h-1/2 w-1/2 text-background", iconClassName)} strokeWidth={1} />
{testimonial.linkedinUrl && (
<a href={testimonial.linkedinUrl} target='_blank' rel='noopener noreferrer'>
<Linkedin className='h-5 w-5 text-background ml-2' />
</a>
)}
{testimonial.linkedinUrl && (
<a href={testimonial.linkedinUrl} target='_blank' rel='noopener noreferrer'>
<Linkedin className='h-5 w-5 text-background ml-2' />
</a>
)}
{testimonial.linkedinUrl && (
<a href={testimonial.linkedinUrl} target='_blank' rel='noopener noreferrer'>
<Linkedin className='h-5 w-5 text-background ml-2' />
</a>
)}
)}
</div>