Update src/components/sections/blog/BlogCardEleven.tsx
This commit is contained in:
@@ -6,7 +6,7 @@ import MediaContent from "@/components/shared/MediaContent";
|
|||||||
import { cls, shouldUseInvertedText } from "@/lib/utils";
|
import { cls, shouldUseInvertedText } from "@/lib/utils";
|
||||||
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 =
|
||||||
@@ -36,7 +36,7 @@ interface BlogCardElevenProps {
|
|||||||
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;
|
||||||
@@ -47,7 +47,7 @@ interface BlogCardElevenProps {
|
|||||||
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;
|
||||||
@@ -57,7 +57,7 @@ interface BlogCardElevenProps {
|
|||||||
titleImageWrapperClassName?: string;
|
titleImageWrapperClassName?: string;
|
||||||
titleImageClassName?: string;
|
titleImageClassName?: string;
|
||||||
cardContentClassName?: string;
|
cardContentClassName?: string;
|
||||||
cardTitleClassName?: string;
|
cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName?: string;
|
||||||
authorClassName?: string;
|
authorClassName?: string;
|
||||||
cardDescriptionClassName?: string;
|
cardDescriptionClassName?: string;
|
||||||
tagsContainerClassName?: string;
|
tagsContainerClassName?: string;
|
||||||
@@ -81,7 +81,7 @@ const BlogCardEleven = ({
|
|||||||
className = "",
|
className = "",
|
||||||
containerClassName = "",
|
containerClassName = "",
|
||||||
cardClassName = "",
|
cardClassName = "",
|
||||||
textBoxTitleClassName = "",
|
textBoxElevate Your Brand with Expert Copywriting and Content EnhancementClassName = "",
|
||||||
textBoxDescriptionClassName = "",
|
textBoxDescriptionClassName = "",
|
||||||
textBoxClassName = "",
|
textBoxClassName = "",
|
||||||
textBoxTagClassName = "",
|
textBoxTagClassName = "",
|
||||||
@@ -91,7 +91,7 @@ const BlogCardEleven = ({
|
|||||||
titleImageWrapperClassName = "",
|
titleImageWrapperClassName = "",
|
||||||
titleImageClassName = "",
|
titleImageClassName = "",
|
||||||
cardContentClassName = "",
|
cardContentClassName = "",
|
||||||
cardTitleClassName = "",
|
cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName = "",
|
||||||
authorClassName = "",
|
authorClassName = "",
|
||||||
cardDescriptionClassName = "",
|
cardDescriptionClassName = "",
|
||||||
tagsContainerClassName = "",
|
tagsContainerClassName = "",
|
||||||
@@ -117,7 +117,7 @@ const BlogCardEleven = ({
|
|||||||
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}
|
||||||
@@ -143,7 +143,7 @@ const BlogCardEleven = ({
|
|||||||
<h3 className={cls(
|
<h3 className={cls(
|
||||||
"text-3xl md:text-5xl text-balance font-medium leading-tight line-clamp-3",
|
"text-3xl md:text-5xl text-balance font-medium leading-tight line-clamp-3",
|
||||||
shouldUseLightText ? "text-background" : "text-foreground",
|
shouldUseLightText ? "text-background" : "text-foreground",
|
||||||
cardTitleClassName
|
cardElevate Your Brand with Expert Copywriting and Content EnhancementClassName
|
||||||
)}>
|
)}>
|
||||||
{blog.title}{" "}
|
{blog.title}{" "}
|
||||||
<span className={cls(
|
<span className={cls(
|
||||||
|
|||||||
Reference in New Issue
Block a user