Bob AI: add bacground image for the whole hero section

This commit is contained in:
2026-02-04 17:57:18 +02:00
parent 2909524f33
commit b00ee11534

View File

@@ -63,6 +63,7 @@ interface HeroBillboardProps {
marqueeImageClassName?: string;
marqueeTextClassName?: string;
marqueeIconClassName?: string;
backgroundImage?: string;
}
const HeroBillboard = ({
@@ -100,11 +101,13 @@ const HeroBillboard = ({
marqueeImageClassName = "",
marqueeTextClassName = "",
marqueeIconClassName = "",
backgroundImage = "https://images.unsplash.com/photo-1519681393784-d120267933ba?w=1920&q=80",
}: HeroBillboardProps) => {
return (
<section
aria-label={ariaLabel}
className={cls("relative w-full py-hero-page-padding", className)}
style={{ backgroundImage: `url(${backgroundImage})` }}
>
<HeroBackgrounds {...background} />
<div className={cls("w-content-width mx-auto flex flex-col gap-14 md:gap-15 relative z-10", containerClassName)}>