Edit: in the Expert Perspectives section add linkedin icons near each name and it shou
This commit is contained in:
@@ -15,7 +15,7 @@ type Testimonial = {
|
|||||||
name: string;
|
name: string;
|
||||||
role: string;
|
role: string;
|
||||||
linkedinUrl?: string;
|
linkedinUrl?: string;
|
||||||
testimonial: string;
|
testimoniall: string;
|
||||||
imageSrc?: string;
|
imageSrc?: string;
|
||||||
imageAlt?: string;
|
imageAlt?: string;
|
||||||
icon?: LucideIcon;
|
icon?: LucideIcon;
|
||||||
@@ -23,7 +23,7 @@ type Testimonial = {
|
|||||||
|
|
||||||
interface TestimonialCardTwoProps {
|
interface TestimonialCardTwoProps {
|
||||||
testimonials: Testimonial[];
|
testimonials: Testimonial[];
|
||||||
carouselMode?: "auto" | "buttons";
|
carouselelMode?: "auto" | "buttons";
|
||||||
uniformGridCustomHeightClasses?: string;
|
uniformGridCustomHeightClasses?: string;
|
||||||
animationType: CardAnimationType;
|
animationType: CardAnimationType;
|
||||||
title: string;
|
title: string;
|
||||||
@@ -38,7 +38,7 @@ interface TestimonialCardTwoProps {
|
|||||||
className?: string;
|
className?: string;
|
||||||
containerClassName?: string;
|
containerClassName?: string;
|
||||||
cardClassName?: string;
|
cardClassName?: string;
|
||||||
textBoxTitleClassName?: string;
|
textBoxxTitleClassName?: string;
|
||||||
textBoxTitleImageWrapperClassName?: string;
|
textBoxTitleImageWrapperClassName?: string;
|
||||||
textBoxTitleImageClassName?: string;
|
textBoxTitleImageClassName?: string;
|
||||||
textBoxDescriptionClassName?: string;
|
textBoxDescriptionClassName?: string;
|
||||||
@@ -98,6 +98,24 @@ const TestimonialCard = memo(({
|
|||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
<Icon className={cls("h-1/2 w-1/2 text-background", iconClassName)} strokeWidth={1} />
|
<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>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user