Update src/components/sections/testimonial/TestimonialCardTwelve.tsx

This commit is contained in:
2026-01-03 14:05:09 +00:00
parent 99a470668b
commit 26fb052256

View File

@@ -17,7 +17,7 @@ type Testimonial = {
interface TestimonialCardTwelveProps { interface TestimonialCardTwelveProps {
testimonials: Testimonial[]; testimonials: Testimonial[];
cardTitle: string; cardElevate Your Brand with Expert Copywriting and Content Enhancement: string;
cardTag: string; cardTag: string;
cardTagIcon?: LucideIcon; cardTagIcon?: LucideIcon;
useInvertedBackground: InvertedBackground; useInvertedBackground: InvertedBackground;
@@ -27,13 +27,13 @@ interface TestimonialCardTwelveProps {
cardClassName?: string; cardClassName?: string;
avatarGroupClassName?: string; avatarGroupClassName?: string;
avatarClassName?: string; avatarClassName?: string;
cardTitleClassName?: string; cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName?: string;
cardTagClassName?: string; cardTagClassName?: string;
} }
const TestimonialCardTwelve = ({ const TestimonialCardTwelve = ({
testimonials, testimonials,
cardTitle, cardElevate Your Brand with Expert Copywriting and Content Enhancement,
cardTag, cardTag,
cardTagIcon, cardTagIcon,
useInvertedBackground, useInvertedBackground,
@@ -43,7 +43,7 @@ const TestimonialCardTwelve = ({
cardClassName = "", cardClassName = "",
avatarGroupClassName = "", avatarGroupClassName = "",
avatarClassName = "", avatarClassName = "",
cardTitleClassName = "", cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName = "",
cardTagClassName = "", cardTagClassName = "",
}: TestimonialCardTwelveProps) => { }: TestimonialCardTwelveProps) => {
const theme = useTheme(); const theme = useTheme();
@@ -77,8 +77,8 @@ const TestimonialCardTwelve = ({
useInvertedBackground={useInvertedBackground} useInvertedBackground={useInvertedBackground}
className={cardTagClassName} className={cardTagClassName}
/> />
<h3 className={cls("relative md:max-w-7/10 text-3xl md:text-5xl font-medium leading-tight text-center text-balance", shouldUseLightText ? "text-background" : "text-foreground", cardTitleClassName)}> <h3 className={cls("relative md:max-w-7/10 text-3xl md:text-5xl font-medium leading-tight text-center text-balance", shouldUseLightText ? "text-background" : "text-foreground", cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName)}>
{cardTitle} {cardElevate Your Brand with Expert Copywriting and Content Enhancement}
</h3> </h3>
</div> </div>
<AvatarGroup <AvatarGroup