Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b00ee11534 | |||
| 2909524f33 | |||
| 5bd9eee1f1 | |||
| fb4830db4f |
@@ -106,6 +106,7 @@ const SplitAbout = ({
|
|||||||
<section
|
<section
|
||||||
aria-label={ariaLabel}
|
aria-label={ariaLabel}
|
||||||
className={cls("relative py-20 w-full", useInvertedBackground === "invertDefault" && "bg-foreground", className)}
|
className={cls("relative py-20 w-full", useInvertedBackground === "invertDefault" && "bg-foreground", className)}
|
||||||
|
style={{ backgroundImage: `url('https://images.unsplash.com/photo-1519681393784-d120267933ba?w=1920&q=80')`, backgroundSize: 'cover', backgroundPosition: 'center' }}
|
||||||
>
|
>
|
||||||
<div className={cls("w-content-width mx-auto flex flex-col gap-8", containerClassName)}>
|
<div className={cls("w-content-width mx-auto flex flex-col gap-8", containerClassName)}>
|
||||||
<CardStackTextBox
|
<CardStackTextBox
|
||||||
|
|||||||
@@ -115,7 +115,17 @@ const FeatureCardTwentyTwo = ({
|
|||||||
buttonTextClassName={textBoxButtonTextClassName}
|
buttonTextClassName={textBoxButtonTextClassName}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
<div className={cls("grid grid-cols-1 md:grid-cols-2 gap-8 card rounded-theme-capped p-5 md:p-8", gridClassName)}>
|
<div
|
||||||
|
className={cls(
|
||||||
|
"grid grid-cols-1 md:grid-cols-2 gap-8 card rounded-theme-capped p-5 md:p-8",
|
||||||
|
gridClassName,
|
||||||
|
"relative"
|
||||||
|
)}
|
||||||
|
>
|
||||||
|
<div
|
||||||
|
className="absolute inset-0 z-0"
|
||||||
|
style={{ backgroundImage: `url('https://images.unsplash.com/photo-1519681393784-d120267933ba?w=1920&q=80')`, backgroundSize: 'cover', backgroundPosition: 'center' }}
|
||||||
|
/>
|
||||||
{features.map((feature, index) => (
|
{features.map((feature, index) => (
|
||||||
<article
|
<article
|
||||||
key={feature.id}
|
key={feature.id}
|
||||||
|
|||||||
@@ -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