Edit: in the Expert Perspectives section add blue button with linkedin styling on the

This commit is contained in:
2026-01-21 18:28:08 +02:00
parent b5bb06f117
commit d4657003b5

View File

@@ -1,6 +1,5 @@
"use client";
import { Linkedin } from 'lucide-react';
import { memo } from "react";
import Image from "next/image";
import CardStack from "@/components/cardStack/CardStack";
@@ -14,7 +13,6 @@ type Testimonial = {
id: string;
name: string;
role: string;
linkedinUrl?: string;
testimonial: string;
imageSrc?: string;
imageAlt?: string;
@@ -100,13 +98,8 @@ const TestimonialCard = memo(({
<Icon className={cls("h-1/2 w-1/2 text-background", iconClassName)} strokeWidth={1} />
)}
</div>
<div className="relative z-1 flex items-center gap-1">
{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>
<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>
<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)}>
{testimonial.name}
@@ -169,7 +162,7 @@ const TestimonialCardTwo = ({
gridVariant="uniform-all-items-equal"
uniformGridCustomHeightClasses={uniformGridCustomHeightClasses}
animationType={animationType}
title={title}
titleSegments={titleSegments}
description={description}