Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ae352b7a9e |
@@ -4,8 +4,6 @@ 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";
|
||||||
import { cls } from "@/lib/utils";
|
import { cls } from "@/lib/utils";
|
||||||
import { Star } from "lucide-react";
|
|
||||||
import { Button } from "@nextui-org/react"; // Added import statement
|
|
||||||
import type { LucideIcon } from "lucide-react";
|
import type { LucideIcon } from "lucide-react";
|
||||||
import type { ButtonConfig, CardAnimationTypeWith3D, GridVariant, TitleSegment, TextboxLayout, InvertedBackground } from "@/components/cardStack/types";
|
import type { ButtonConfig, CardAnimationTypeWith3D, GridVariant, TitleSegment, TextboxLayout, InvertedBackground } from "@/components/cardStack/types";
|
||||||
|
|
||||||
@@ -69,15 +67,15 @@ interface TestimonialCardProps {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const TestimonialCard = memo(({
|
const TestimonialCard = memo(({
|
||||||
testimonial,
|
testimonial,
|
||||||
cardClassName = "",
|
cardClassName = "",
|
||||||
imageClassName = "",
|
imageClassName = "",
|
||||||
overlayClassName = "",
|
overlayClassName = "",
|
||||||
ratingClassName = "",
|
ratingClassName = "",
|
||||||
nameClassName = "",
|
nameClassName = "",
|
||||||
roleClassName = "",
|
roleClassName = "",
|
||||||
companyClassName = "",
|
companyClassName = "",
|
||||||
}: TestimonialCardProps) => {
|
}: TestimonialCardProps) => {
|
||||||
return (
|
return (
|
||||||
<div className={cls("relative h-full rounded-theme-capped overflow-hidden group", cardClassName)}>
|
<div className={cls("relative h-full rounded-theme-capped overflow-hidden group", cardClassName)}>
|
||||||
<Image
|
<Image
|
||||||
@@ -124,42 +122,42 @@ const TestimonialCard = memo(({
|
|||||||
TestimonialCard.displayName = "TestimonialCard";
|
TestimonialCard.displayName = "TestimonialCard";
|
||||||
|
|
||||||
const TestimonialCardOne = ({
|
const TestimonialCardOne = ({
|
||||||
testimonials,
|
testimonials,
|
||||||
carouselMode = "buttons",
|
carouselMode = "buttons",
|
||||||
uniformGridCustomHeightClasses = "min-h-95 2xl:min-h-105",
|
uniformGridCustomHeightClasses = "min-h-95 2xl:min-h-105",
|
||||||
gridVariant,
|
gridVariant,
|
||||||
animationType,
|
animationType,
|
||||||
title,
|
title,
|
||||||
titleSegments,
|
titleSegments,
|
||||||
description,
|
description,
|
||||||
tag,
|
tag,
|
||||||
tagIcon,
|
tagIcon,
|
||||||
buttons,
|
buttons,
|
||||||
textboxLayout,
|
textboxLayout,
|
||||||
useInvertedBackground,
|
useInvertedBackground,
|
||||||
ariaLabel = "Testimonials section",
|
ariaLabel = "Testimonials section",
|
||||||
className = "",
|
className = "",
|
||||||
containerClassName = "",
|
containerClassName = "",
|
||||||
cardClassName = "",
|
cardClassName = "",
|
||||||
textBoxTitleClassName = "",
|
textBoxTitleClassName = "",
|
||||||
textBoxTitleImageWrapperClassName = "",
|
textBoxTitleImageWrapperClassName = "",
|
||||||
textBoxTitleImageClassName = "",
|
textBoxTitleImageClassName = "",
|
||||||
textBoxDescriptionClassName = "",
|
textBoxDescriptionClassName = "",
|
||||||
imageClassName = "",
|
imageClassName = "",
|
||||||
overlayClassName = "",
|
overlayClassName = "",
|
||||||
ratingClassName = "",
|
ratingClassName = "",
|
||||||
nameClassName = "",
|
nameClassName = "",
|
||||||
roleClassName = "",
|
roleClassName = "",
|
||||||
companyClassName = "",
|
companyClassName = "",
|
||||||
gridClassName = "",
|
gridClassName = "",
|
||||||
carouselClassName = "",
|
carouselClassName = "",
|
||||||
controlsClassName = "",
|
controlsClassName = "",
|
||||||
textBoxClassName = "",
|
textBoxClassName = "",
|
||||||
textBoxTagClassName = "",
|
textBoxTagClassName = "",
|
||||||
textBoxButtonContainerClassName = "",
|
textBoxButtonContainerClassName = "",
|
||||||
textBoxButtonClassName = "",
|
textBoxButtonClassName = "",
|
||||||
textBoxButtonTextClassName = "",
|
textBoxButtonTextClassName = "",
|
||||||
}: TestimonialCardOneProps) => {
|
}: TestimonialCardOneProps) => {
|
||||||
return (
|
return (
|
||||||
<CardStack
|
<CardStack
|
||||||
mode={carouselMode}
|
mode={carouselMode}
|
||||||
|
|||||||
Reference in New Issue
Block a user