2 Commits

2 changed files with 6 additions and 2 deletions

View File

@@ -6,6 +6,7 @@ import { cls } from "@/lib/utils";
import type { LucideIcon } from "lucide-react";
import type { ButtonConfig } from "@/types/button";
import type { InvertedBackground } from "@/providers/themeProvider/config/constants";
import Button from "@/components/Button";
type ContactCTABackgroundProps = Extract<
HeroBackgroundVariantProps,
@@ -86,8 +87,8 @@ const ContactCTA = ({
descriptionClassName={cls("text-base md:text-lg leading-[1.2]", descriptionClassName)}
tagClassName={cls("px-3 py-1 text-sm rounded-theme card text-foreground inline-flex items-center gap-2 mb-3", tagClassName)}
buttonContainerClassName={cls("flex flex-wrap gap-4 mt-3", buttonContainerClassName)}
buttonClassName={buttonClassName}
buttonTextClassName={buttonTextClassName}
buttonClassName={cls("bg-primary text-foreground hover:bg-primary-hover", buttonClassName)}
buttonTextClassName={cls("text-sm font-medium", buttonTextClassName)}
center={true}
/>
</div>

View File

@@ -68,6 +68,7 @@ interface HeroBillboardDashboardProps {
buttonClassName?: string;
buttonTextClassName?: string;
dashboardClassName?: string;
backgroundImage?: string;
}
const HeroBillboardDashboard = ({
@@ -89,11 +90,13 @@ const HeroBillboardDashboard = ({
buttonClassName = "",
buttonTextClassName = "",
dashboardClassName = "",
backgroundImage,
}: HeroBillboardDashboardProps) => {
return (
<section
aria-label={ariaLabel}
className={cls("relative w-full py-hero-page-padding", className)}
style={{ backgroundImage: backgroundImage ? `url(${backgroundImage})` : undefined }}
>
<HeroBackgrounds {...background} />
<div className={cls("w-content-width mx-auto flex flex-col gap-14 md:gap-15 relative z-10", containerClassName)}>