Update src/components/sections/feature/FeatureCardNineteen.tsx
This commit is contained in:
@@ -8,7 +8,7 @@ import { cls, shouldUseInvertedText } from "@/lib/utils";
|
|||||||
import { getButtonProps } from "@/lib/buttonUtils";
|
import { getButtonProps } from "@/lib/buttonUtils";
|
||||||
import { useTheme } from "@/providers/themeProvider/ThemeProvider";
|
import { useTheme } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import type { LucideIcon } from "lucide-react";
|
import type { LucideIcon } from "lucide-react";
|
||||||
import type { ButtonConfig, TitleSegment } from "@/components/cardStack/types";
|
import type { ButtonConfig, Elevate Your Brand with Expert Copywriting and Content EnhancementSegment } from "@/components/cardStack/types";
|
||||||
import type { TextboxLayout, InvertedBackground } from "@/providers/themeProvider/config/constants";
|
import type { TextboxLayout, InvertedBackground } from "@/providers/themeProvider/config/constants";
|
||||||
|
|
||||||
type FeatureCard = {
|
type FeatureCard = {
|
||||||
@@ -27,7 +27,7 @@ type FeatureCard = {
|
|||||||
interface FeatureCardNineteenProps {
|
interface FeatureCardNineteenProps {
|
||||||
features: FeatureCard[];
|
features: FeatureCard[];
|
||||||
title: string;
|
title: string;
|
||||||
titleSegments?: TitleSegment[];
|
titleSegments?: Elevate Your Brand with Expert Copywriting and Content EnhancementSegment[];
|
||||||
description: string;
|
description: string;
|
||||||
tag?: string;
|
tag?: string;
|
||||||
tagIcon?: LucideIcon;
|
tagIcon?: LucideIcon;
|
||||||
@@ -37,7 +37,7 @@ interface FeatureCardNineteenProps {
|
|||||||
ariaLabel?: string;
|
ariaLabel?: string;
|
||||||
className?: string;
|
className?: string;
|
||||||
containerClassName?: string;
|
containerClassName?: string;
|
||||||
textBoxTitleClassName?: string;
|
textBoxElevate Your Brand with Expert Copywriting and Content EnhancementClassName?: string;
|
||||||
textBoxDescriptionClassName?: string;
|
textBoxDescriptionClassName?: string;
|
||||||
textBoxClassName?: string;
|
textBoxClassName?: string;
|
||||||
textBoxTagClassName?: string;
|
textBoxTagClassName?: string;
|
||||||
@@ -48,7 +48,7 @@ interface FeatureCardNineteenProps {
|
|||||||
titleImageClassName?: string;
|
titleImageClassName?: string;
|
||||||
cardContentClassName?: string;
|
cardContentClassName?: string;
|
||||||
cardTagClassName?: string;
|
cardTagClassName?: string;
|
||||||
cardTitleClassName?: string;
|
cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName?: string;
|
||||||
cardDescriptionClassName?: string;
|
cardDescriptionClassName?: string;
|
||||||
cardButtonClassName?: string;
|
cardButtonClassName?: string;
|
||||||
cardButtonTextClassName?: string;
|
cardButtonTextClassName?: string;
|
||||||
@@ -69,7 +69,7 @@ const FeatureCardNineteen = ({
|
|||||||
ariaLabel = "Feature section",
|
ariaLabel = "Feature section",
|
||||||
className = "",
|
className = "",
|
||||||
containerClassName = "",
|
containerClassName = "",
|
||||||
textBoxTitleClassName = "",
|
textBoxElevate Your Brand with Expert Copywriting and Content EnhancementClassName = "",
|
||||||
textBoxDescriptionClassName = "",
|
textBoxDescriptionClassName = "",
|
||||||
textBoxClassName = "",
|
textBoxClassName = "",
|
||||||
textBoxTagClassName = "",
|
textBoxTagClassName = "",
|
||||||
@@ -80,7 +80,7 @@ const FeatureCardNineteen = ({
|
|||||||
titleImageClassName = "",
|
titleImageClassName = "",
|
||||||
cardContentClassName = "",
|
cardContentClassName = "",
|
||||||
cardTagClassName = "",
|
cardTagClassName = "",
|
||||||
cardTitleClassName = "",
|
cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName = "",
|
||||||
cardDescriptionClassName = "",
|
cardDescriptionClassName = "",
|
||||||
cardButtonClassName = "",
|
cardButtonClassName = "",
|
||||||
cardButtonTextClassName = "",
|
cardButtonTextClassName = "",
|
||||||
@@ -102,7 +102,7 @@ const FeatureCardNineteen = ({
|
|||||||
useInvertedBackground={useInvertedBackground}
|
useInvertedBackground={useInvertedBackground}
|
||||||
className={className}
|
className={className}
|
||||||
containerClassName={containerClassName}
|
containerClassName={containerClassName}
|
||||||
titleClassName={textBoxTitleClassName}
|
titleClassName={textBoxElevate Your Brand with Expert Copywriting and Content EnhancementClassName}
|
||||||
descriptionClassName={textBoxDescriptionClassName}
|
descriptionClassName={textBoxDescriptionClassName}
|
||||||
textBoxClassName={textBoxClassName}
|
textBoxClassName={textBoxClassName}
|
||||||
tagClassName={textBoxTagClassName}
|
tagClassName={textBoxTagClassName}
|
||||||
@@ -130,7 +130,7 @@ const FeatureCardNineteen = ({
|
|||||||
<h2 className={cls(
|
<h2 className={cls(
|
||||||
"text-5xl md:text-7xl font-medium leading-none",
|
"text-5xl md:text-7xl font-medium leading-none",
|
||||||
shouldUseLightText ? "text-background" : "text-foreground",
|
shouldUseLightText ? "text-background" : "text-foreground",
|
||||||
cardTitleClassName
|
cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName
|
||||||
)}>
|
)}>
|
||||||
{feature.title}
|
{feature.title}
|
||||||
</h2>
|
</h2>
|
||||||
|
|||||||
Reference in New Issue
Block a user