Bob AI: Replace the 3D flip animation on testimonial cards with a li

This commit is contained in:
2026-02-24 14:58:50 +00:00
parent 8305b65f81
commit 8323a15bbe

View File

@@ -87,10 +87,10 @@ const TestimonialCard = memo(({
companyClassName = "",
}: TestimonialCardProps) => {
return (
<div className={cls("relative h-full aspect-[8/10] rounded-theme-capped overflow-hidden group perspective", cardClassName)} style={{ perspective: "1000px" }}>
<div className="relative w-full h-full transition-transform duration-500 ease-out group-hover:[transform:rotateY(180deg)]" style={{ transformStyle: "preserve-3d" }}>
<div className={cls("relative h-full aspect-[8/10] rounded-theme-capped overflow-hidden group", cardClassName)}>
<div className="relative w-full h-full transition-all duration-500 ease-out group-hover:shadow-2xl group-hover:-translate-y-4" style={{}}>
{/* Front of card */}
<div style={{ backfaceVisibility: "hidden" }} className="absolute w-full h-full">
<div className="absolute w-full h-full">
<MediaContent
imageSrc={testimonial.imageSrc}
videoSrc={testimonial.videoSrc}