Edit: in the Expert Perspectives section add blue button with linkedin styling on the
This commit is contained in:
@@ -1,6 +1,5 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { Linkedin } from 'lucide-react';
|
|
||||||
import { memo } from "react";
|
import { memo } from "react";
|
||||||
import Image from "next/image";
|
import Image from "next/image";
|
||||||
import CardStack from "@/components/cardStack/CardStack";
|
import CardStack from "@/components/cardStack/CardStack";
|
||||||
@@ -14,7 +13,6 @@ type Testimonial = {
|
|||||||
id: string;
|
id: string;
|
||||||
name: string;
|
name: string;
|
||||||
role: string;
|
role: string;
|
||||||
linkedinUrl?: string;
|
|
||||||
testimonial: string;
|
testimonial: string;
|
||||||
imageSrc?: string;
|
imageSrc?: string;
|
||||||
imageAlt?: string;
|
imageAlt?: string;
|
||||||
@@ -100,13 +98,8 @@ 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} />
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
<div className="relative z-1 flex items-center gap-1">
|
<a href='https://linkedin.com' target='_blank' rel='noopener noreferrer' className='absolute top-4 right-4 z-10 bg-blue-500 text-white px-3 py-1 rounded-full hover:bg-blue-600'>LinkedIn</a>
|
||||||
{testimonial.linkedinUrl && (
|
|
||||||
<a href={testimonial.linkedinUrl} target="_blank" rel="noopener noreferrer">
|
|
||||||
<Linkedin className={cls("h-5 w-5", shouldUseLightText ? "text-background" : "text-foreground")} />
|
|
||||||
</a>
|
|
||||||
)}
|
|
||||||
</div>
|
|
||||||
<div className="relative z-1 flex flex-col gap-1 mt-1">
|
<div className="relative z-1 flex flex-col gap-1 mt-1">
|
||||||
<h3 className={cls("text-2xl font-medium leading-[1.1]", shouldUseLightText ? "text-background" : "text-foreground", nameClassName)}>
|
<h3 className={cls("text-2xl font-medium leading-[1.1]", shouldUseLightText ? "text-background" : "text-foreground", nameClassName)}>
|
||||||
{testimonial.name}
|
{testimonial.name}
|
||||||
@@ -169,7 +162,7 @@ const TestimonialCardTwo = ({
|
|||||||
gridVariant="uniform-all-items-equal"
|
gridVariant="uniform-all-items-equal"
|
||||||
uniformGridCustomHeightClasses={uniformGridCustomHeightClasses}
|
uniformGridCustomHeightClasses={uniformGridCustomHeightClasses}
|
||||||
animationType={animationType}
|
animationType={animationType}
|
||||||
|
|
||||||
title={title}
|
title={title}
|
||||||
titleSegments={titleSegments}
|
titleSegments={titleSegments}
|
||||||
description={description}
|
description={description}
|
||||||
|
|||||||
Reference in New Issue
Block a user