3 Commits

2 changed files with 12 additions and 1 deletions

View File

@@ -106,6 +106,7 @@ const SplitAbout = ({
<section
aria-label={ariaLabel}
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)}>
<CardStackTextBox

View File

@@ -115,7 +115,17 @@ const FeatureCardTwentyTwo = ({
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) => (
<article
key={feature.id}