Update src/components/sections/blog/BlogCardTen.tsx
This commit is contained in:
@@ -6,7 +6,7 @@ import { cls, shouldUseInvertedText } from "@/lib/utils";
|
|||||||
import { useTheme } from "@/providers/themeProvider/ThemeProvider";
|
import { useTheme } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import { ArrowRight } from "lucide-react";
|
import { ArrowRight } from "lucide-react";
|
||||||
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 BlogCard = {
|
type BlogCard = {
|
||||||
@@ -21,7 +21,7 @@ interface BlogCardTenProps {
|
|||||||
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;
|
||||||
@@ -32,7 +32,7 @@ interface BlogCardTenProps {
|
|||||||
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;
|
||||||
@@ -42,7 +42,7 @@ interface BlogCardTenProps {
|
|||||||
titleImageWrapperClassName?: string;
|
titleImageWrapperClassName?: string;
|
||||||
titleImageClassName?: string;
|
titleImageClassName?: string;
|
||||||
cardContentClassName?: string;
|
cardContentClassName?: string;
|
||||||
cardTitleClassName?: string;
|
cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName?: string;
|
||||||
subtitleClassName?: string;
|
subtitleClassName?: string;
|
||||||
tagsContainerClassName?: string;
|
tagsContainerClassName?: string;
|
||||||
tagClassName?: string;
|
tagClassName?: string;
|
||||||
@@ -64,7 +64,7 @@ const BlogCardTen = ({
|
|||||||
className = "",
|
className = "",
|
||||||
containerClassName = "",
|
containerClassName = "",
|
||||||
cardClassName = "",
|
cardClassName = "",
|
||||||
textBoxTitleClassName = "",
|
textBoxElevate Your Brand with Expert Copywriting and Content EnhancementClassName = "",
|
||||||
textBoxDescriptionClassName = "",
|
textBoxDescriptionClassName = "",
|
||||||
textBoxClassName = "",
|
textBoxClassName = "",
|
||||||
textBoxTagClassName = "",
|
textBoxTagClassName = "",
|
||||||
@@ -74,7 +74,7 @@ const BlogCardTen = ({
|
|||||||
titleImageWrapperClassName = "",
|
titleImageWrapperClassName = "",
|
||||||
titleImageClassName = "",
|
titleImageClassName = "",
|
||||||
cardContentClassName = "",
|
cardContentClassName = "",
|
||||||
cardTitleClassName = "",
|
cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName = "",
|
||||||
subtitleClassName = "",
|
subtitleClassName = "",
|
||||||
tagsContainerClassName = "",
|
tagsContainerClassName = "",
|
||||||
tagClassName = "",
|
tagClassName = "",
|
||||||
@@ -98,7 +98,7 @@ const BlogCardTen = ({
|
|||||||
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}
|
||||||
@@ -124,7 +124,7 @@ const BlogCardTen = ({
|
|||||||
<h3 className={cls(
|
<h3 className={cls(
|
||||||
"text-3xl md:text-5xl font-medium text-balance leading-tight line-clamp-2",
|
"text-3xl md:text-5xl font-medium text-balance leading-tight line-clamp-2",
|
||||||
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