registry/default/sections/metrics-3.tsx
//biome-ignore-all lint/suspicious/noArrayIndexKey:<>
"use client";
export default function Component() {
const stats = [
{
label: "Team Members",
value: "250+",
},
{
label: "Projects Completed",
value: "1,200+",
},
{
label: "Client Retention",
value: "98%",
},
{
label: "Awards Won",
value: "42",
},
];
return (
<div className="w-full bg-white px-4 py-16 md:py-20 dark:bg-background">
<div className="mx-auto max-w-6xl">
<div className="grid gap-8 md:grid-cols-2 lg:gap-12">
{/* Left: Content */}
<div className="flex flex-col justify-center">
<h2 className="mb-4 font-normal text-3xl text-gray-900 md:text-4xl lg:text-5xl dark:text-gray-100">
Built by experts, trusted by thousands
</h2>
<p className="text-gray-600 text-sm leading-relaxed sm:text-base dark:text-gray-400">
Our team has been delivering exceptional results for over a
decade. We combine technical expertise with creative innovation to
help businesses thrive in the digital age.
</p>
</div>
{/* Right: Stats Grid */}
<div className="grid grid-cols-2 gap-6 sm:gap-8">
{stats.map((stat, index) => (
<div
className="rounded-xl bg-gray-50 p-6 dark:bg-neutral-900"
key={index}
>
<div className="mb-2 font-semibold text-3xl text-gray-900 tracking-tight sm:text-4xl dark:text-gray-100">
{stat.value}
</div>
<p className="text-gray-600 text-xs sm:text-sm dark:text-gray-400">
{stat.label}
</p>
</div>
))}
</div>
</div>
</div>
</div>
);
}