design upgrade

This commit is contained in:
Nermin Karic
2026-11-23 00:59:47 +01:00
parent 9e84140474
commit ada6fd857c
198 changed files with 6626 additions and 2539 deletions

View File

@@ -0,0 +1,31 @@
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>
)
}