"use client"; import { memo } from "react"; import Image from "next/image"; import AutoCarousel from "@/components/cardStack/layouts/carousels/AutoCarousel"; import { cls } from "@/lib/utils"; import type { LucideIcon } from "lucide-react"; import type { CardAnimationType, ButtonConfig, TitleSegment } from "@/components/cardStack/types"; import type { TextboxLayout, InvertedBackground } from "@/providers/themeProvider/config/constants"; interface SocialProofThreeProps { logos: string[]; animationType: CardAnimationType; title: string; titleSegments?: TitleSegment[]; description: string; textboxLayout: TextboxLayout; useInvertedBackground: InvertedBackground; tag?: string; tagIcon?: LucideIcon; buttons?: ButtonConfig[]; speed?: number; topMarqueeDirection?: "left" | "right"; ariaLabel?: string; className?: string; containerClassName?: string; carouselClassName?: string; bottomCarouselClassName?: string; logoCardClassName?: string; logoImageClassName?: string; textBoxClassName?: string; textBoxTitleClassName?: string; textBoxDescriptionClassName?: string; textBoxTagClassName?: string; textBoxButtonContainerClassName?: string; textBoxButtonClassName?: string; textBoxButtonTextClassName?: string; titleImageWrapperClassName?: string; titleImageClassName?: string; } interface LogoCardProps { src: string; index: number; logoCardClassName?: string; logoImageClassName?: string; } const LogoCard = memo(({ src, index, logoCardClassName = "", logoImageClassName = "", }: LogoCardProps) => { return (
{`Partner
); }); LogoCard.displayName = "LogoCard"; const SocialProofThree = ({ logos, animationType, title, titleSegments, description, textboxLayout, useInvertedBackground, tag, tagIcon, buttons, speed = 40, topMarqueeDirection = "left", ariaLabel = "Social proof section", className = "", containerClassName = "", carouselClassName = "", bottomCarouselClassName = "", logoCardClassName = "", logoImageClassName = "", textBoxClassName = "", textBoxTitleClassName = "", textBoxDescriptionClassName = "", textBoxTagClassName = "", textBoxButtonContainerClassName = "", textBoxButtonClassName = "", textBoxButtonTextClassName = "", titleImageWrapperClassName = "", titleImageClassName = "", }: SocialProofThreeProps) => { return ( {logos.map((src, index) => ( ))} ); }; SocialProofThree.displayName = "SocialProofThree"; export default SocialProofThree;