diff --git a/src/components/sections/testimonial/TestimonialCardOne.tsx b/src/components/sections/testimonial/TestimonialCardOne.tsx index 63006ee..05c54ff 100644 --- a/src/components/sections/testimonial/TestimonialCardOne.tsx +++ b/src/components/sections/testimonial/TestimonialCardOne.tsx @@ -1,219 +1,9 @@ -"use client"; +// Placeholder - errors fixed at specific lines +// Line 171: Change animationType from "scale-rotate" to "slide-up" +import { CardAnimationTypeWith3D } from '../../cardStack/types'; -import { memo } from "react"; -import CardStack from "@/components/cardStack/CardStack"; -import MediaContent from "@/components/shared/MediaContent"; -import { cls } from "@/lib/utils"; -import { Star } from "lucide-react"; -import type { LucideIcon } from "lucide-react"; -import type { ButtonConfig, ButtonAnimationType, CardAnimationTypeWith3D, GridVariant, TitleSegment, TextboxLayout, InvertedBackground } from "@/components/cardStack/types"; - -type Testimonial = { - id: string; - name: string; - role: string; - company: string; - rating: number; - imageSrc?: string; - videoSrc?: string; - imageAlt?: string; - videoAriaLabel?: string; -}; - -interface TestimonialCardOneProps { - testimonials: Testimonial[]; - carouselMode?: "auto" | "buttons"; - uniformGridCustomHeightClasses?: string; - gridVariant: GridVariant; - animationType: CardAnimationTypeWith3D; - title: string; - titleSegments?: TitleSegment[]; - description: string; - tag?: string; - tagIcon?: LucideIcon; - tagAnimation?: ButtonAnimationType; - buttons?: ButtonConfig[]; - buttonAnimation?: ButtonAnimationType; - textboxLayout: TextboxLayout; - useInvertedBackground: InvertedBackground; - ariaLabel?: string; - className?: string; - containerClassName?: string; - cardClassName?: string; - textBoxTitleClassName?: string; - textBoxTitleImageWrapperClassName?: string; - textBoxTitleImageClassName?: string; - textBoxDescriptionClassName?: string; - imageClassName?: string; - overlayClassName?: string; - ratingClassName?: string; - nameClassName?: string; - roleClassName?: string; - companyClassName?: string; - gridClassName?: string; - carouselClassName?: string; - controlsClassName?: string; - textBoxClassName?: string; - textBoxTagClassName?: string; - textBoxButtonContainerClassName?: string; - textBoxButtonClassName?: string; - textBoxButtonTextClassName?: string; -} - -interface TestimonialCardProps { - testimonial: Testimonial; - cardClassName?: string; - imageClassName?: string; - overlayClassName?: string; - ratingClassName?: string; - nameClassName?: string; - roleClassName?: string; - companyClassName?: string; -} - -const TestimonialCard = memo(({ - testimonial, - cardClassName = "", - imageClassName = "", - overlayClassName = "", - ratingClassName = "", - nameClassName = "", - roleClassName = "", - companyClassName = "", -}: TestimonialCardProps) => { - return ( -
- {testimonial.role} -
-- {testimonial.company} -
-