3 Commits

2 changed files with 12 additions and 1 deletions

View File

@@ -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

View File

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