Merge version_38_1781801472531 into main #38

Merged
bender merged 1 commits from version_38_1781801472531 into main 2026-06-18 16:53:16 +00:00

View File

@@ -1,40 +1,95 @@
// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this
// file as the canonical source for the "metrics" section.
/* eslint-disable */
// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body
import { cls } from "@/lib/utils";
import Button from "@/components/ui/Button";
import TextAnimation from "@/components/ui/TextAnimation";
import ImageOrVideo from "@/components/ui/ImageOrVideo";
import ScrollReveal from "@/components/ui/ScrollReveal";
import React from 'react';
import MetricsMediaCards from '@/components/sections/metrics/MetricsMediaCards';
import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary";
const metrics = [
{
value: "20+",
title: "Projects Completed",
description: "Diverse design initiatives across Central Asia.",
},
{
value: "10+",
title: "Global Partners",
description: "Trusted brands within our portfolio.",
},
{
value: "4+",
title: "Years of Excellence",
description: "Leading the regional creative sector.",
}
];
export default function MetricsSection(): React.JSX.Element {
return (
<div id="metrics" data-section="metrics">
<SectionErrorBoundary name="metrics">
<MetricsMediaCards
tag="Impact"
title="Agency Milestones"
description="Proven results since our inception in 2022."
metrics={[
{
value: "100+",
title: "Projects Completed",
description: "Diverse design initiatives across Central Asia.",
imageSrc: "http://img.b2bpic.net/free-vector/minimalist-architect-business-card_742173-32626.jpg",
},
{
value: "50+",
title: "Global Partners",
description: "Trusted brands within our portfolio.",
imageSrc: "http://img.b2bpic.net/free-psd/hand-drawn-marketing-strategy-business-card_23-2150419302.jpg",
},
{
value: "2+",
title: "Years of Excellence",
description: "Leading the regional creative sector.",
imageSrc: "http://img.b2bpic.net/free-photo/fast-time-clock-ui-icon-sign-symbol-3d-rendering_56104-1926.jpg",
},
]}
type Metric = {
value: string;
title: string;
description: string;
};
const MetricsInline = () => (
<section aria-label="Metrics section" className="py-20">
<div className="flex flex-col gap-8 md:gap-10">
<div className="flex flex-col items-center gap-2 w-content-width mx-auto">
<div className="px-3 py-1 mb-1 text-sm card rounded w-fit">
<p>{"Impact"}</p>
</div>
<TextAnimation
text={"Agency Milestones"}
variant="fade"
gradientText={true}
tag="h2"
className="md:max-w-8/10 text-6xl 2xl:text-7xl leading-[1.15] font-semibold text-center text-balance"
/>
</SectionErrorBoundary>
<TextAnimation
text={"Proven results since our inception in 2022."}
variant="fade"
gradientText={false}
tag="p"
className="md:max-w-7/10 text-lg md:text-xl leading-snug text-center text-balance"
/>
{(undefined || undefined) && (
<div className="flex flex-wrap justify-center gap-3 mt-2 md:mt-3">
{undefined && <Button text={undefined.text} href={undefined.href} variant="primary"/>}
{undefined && <Button text={undefined.text} href={undefined.href} variant="secondary"animationDelay={0.1} />}
</div>
)}
</div>
<div className="flex flex-col gap-5 w-content-width mx-auto">
{metrics.map((metric, index) => {
return (
<ScrollReveal
variant="slide-up"
key={metric.value}
className="w-full"
>
<div className="flex flex-col md:flex-row items-start md:items-center gap-6 p-6 md:p-8 card rounded w-full text-left">
<span className="text-5xl md:text-6xl font-semibold leading-none w-full md:w-48 shrink-0">{metric.value}</span>
<div className="hidden md:block w-px h-12 bg-accent mx-4 opacity-20" />
<div className="flex flex-col gap-1 flex-1">
<span className="text-xl md:text-2xl font-semibold">{metric.title}</span>
<p className="text-base text-accent leading-snug">{metric.description}</p>
</div>
</div>
</ScrollReveal>
);
})}
</div>
</div>
</section>
);
export default function MetricsSection() {
return (
<div data-webild-section="metrics" id="metrics">
<MetricsInline />
</div>
);
}