Update src/components/sections/blog/BlogCardNine.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, CardAnimationType, TitleSegment } from "@/components/cardStack/types";
|
import type { ButtonConfig, CardAnimationType, 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 MediaProps =
|
type MediaProps =
|
||||||
@@ -38,7 +38,7 @@ interface BlogCardNineProps {
|
|||||||
blogs: BlogCard[];
|
blogs: BlogCard[];
|
||||||
animationType: CardAnimationType;
|
animationType: CardAnimationType;
|
||||||
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;
|
||||||
@@ -49,7 +49,7 @@ interface BlogCardNineProps {
|
|||||||
className?: string;
|
className?: string;
|
||||||
containerClassName?: string;
|
containerClassName?: string;
|
||||||
cardClassName?: string;
|
cardClassName?: 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;
|
||||||
@@ -62,7 +62,7 @@ interface BlogCardNineProps {
|
|||||||
mediaWrapperClassName?: string;
|
mediaWrapperClassName?: string;
|
||||||
mediaClassName?: string;
|
mediaClassName?: string;
|
||||||
categoryClassName?: string;
|
categoryClassName?: string;
|
||||||
cardTitleClassName?: string;
|
cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName?: string;
|
||||||
tagsContainerClassName?: string;
|
tagsContainerClassName?: string;
|
||||||
tagClassName?: string;
|
tagClassName?: string;
|
||||||
cardButtonClassName?: string;
|
cardButtonClassName?: string;
|
||||||
@@ -84,7 +84,7 @@ const BlogCardNine = ({
|
|||||||
className = "",
|
className = "",
|
||||||
containerClassName = "",
|
containerClassName = "",
|
||||||
cardClassName = "",
|
cardClassName = "",
|
||||||
textBoxTitleClassName = "",
|
textBoxElevate Your Brand with Expert Copywriting and Content EnhancementClassName = "",
|
||||||
textBoxDescriptionClassName = "",
|
textBoxDescriptionClassName = "",
|
||||||
textBoxClassName = "",
|
textBoxClassName = "",
|
||||||
textBoxTagClassName = "",
|
textBoxTagClassName = "",
|
||||||
@@ -97,7 +97,7 @@ const BlogCardNine = ({
|
|||||||
mediaWrapperClassName = "",
|
mediaWrapperClassName = "",
|
||||||
mediaClassName = "",
|
mediaClassName = "",
|
||||||
categoryClassName = "",
|
categoryClassName = "",
|
||||||
cardTitleClassName = "",
|
cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName = "",
|
||||||
tagsContainerClassName = "",
|
tagsContainerClassName = "",
|
||||||
tagClassName = "",
|
tagClassName = "",
|
||||||
cardButtonClassName = "",
|
cardButtonClassName = "",
|
||||||
@@ -131,7 +131,7 @@ const BlogCardNine = ({
|
|||||||
className={className}
|
className={className}
|
||||||
containerClassName={containerClassName}
|
containerClassName={containerClassName}
|
||||||
cardClassName={cardClassName}
|
cardClassName={cardClassName}
|
||||||
titleClassName={textBoxTitleClassName}
|
titleClassName={textBoxElevate Your Brand with Expert Copywriting and Content EnhancementClassName}
|
||||||
descriptionClassName={textBoxDescriptionClassName}
|
descriptionClassName={textBoxDescriptionClassName}
|
||||||
textBoxClassName={textBoxClassName}
|
textBoxClassName={textBoxClassName}
|
||||||
tagClassName={textBoxTagClassName}
|
tagClassName={textBoxTagClassName}
|
||||||
@@ -180,7 +180,7 @@ const BlogCardNine = ({
|
|||||||
<h3 className={cls(
|
<h3 className={cls(
|
||||||
"text-2xl md:text-4xl font-medium text-balance leading-tight",
|
"text-2xl md:text-4xl font-medium text-balance leading-tight",
|
||||||
shouldUseLightText ? "text-background" : "text-foreground",
|
shouldUseLightText ? "text-background" : "text-foreground",
|
||||||
cardTitleClassName
|
cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName
|
||||||
)}>
|
)}>
|
||||||
{blog.title}
|
{blog.title}
|
||||||
</h3>
|
</h3>
|
||||||
|
|||||||
Reference in New Issue
Block a user