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