32 lines
1012 B
TypeScript
32 lines
1012 B
TypeScript
import Image from "next/image"
|
|
import landing from "@/config/landing.json"
|
|
|
|
export default function LandingImpact() {
|
|
const { kicker, title, text, image } = landing.impact
|
|
|
|
return (
|
|
<section className="bg-gradient-to-b from-background via-muted to-background py-20 sm:py-28">
|
|
<div className="content-container">
|
|
<div className="text-center max-w-2xl mx-auto">
|
|
<p className="eyebrow">{kicker}</p>
|
|
<h2 className="display-heading mt-5 text-3xl sm:text-5xl text-foreground">
|
|
{title}
|
|
</h2>
|
|
<p className="mt-5 text-sm sm:text-base text-muted-foreground leading-relaxed">
|
|
{text}
|
|
</p>
|
|
</div>
|
|
<div className="relative mt-12 sm:mt-16 aspect-[4/3] sm:aspect-[16/9] overflow-hidden rounded-2xl bg-muted">
|
|
<Image
|
|
src={image}
|
|
alt={title}
|
|
fill
|
|
sizes="100vw"
|
|
className="object-cover"
|
|
/>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
)
|
|
}
|