Bob AI: Can you add an image to the background of the hero...

This commit is contained in:
2026-02-04 14:02:35 +00:00
parent 382e6a5646
commit 06bebcebe6

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)}>