Merge version_3_1779716684217 into main #2

Merged
bender merged 2 commits from version_3_1779716684217 into main 2026-05-25 13:45:55 +00:00
2 changed files with 19 additions and 7 deletions

View File

@@ -6,7 +6,8 @@ import ScrollReveal from "@/components/ui/ScrollReveal";
import { resolveIcon } from "@/utils/resolve-icon";
type Metric = {
icon: string | LucideIcon;
icon?: string | LucideIcon;
imageSrc?: string;
title: string;
value: string;
};
@@ -64,9 +65,13 @@ const MetricsIconCards = ({
return (
<div key={metric.value} className="flex flex-col items-center justify-center gap-3 p-3 xl:p-4 2xl:p-5 min-h-70 h-full card rounded">
<div className="flex items-center justify-center gap-2">
<div className="flex items-center justify-center size-8 primary-button rounded">
<IconComponent className="h-2/5 w-2/5 text-primary-cta-text" strokeWidth={1.5} />
</div>
{metric.imageSrc ? (
<img src={metric.imageSrc} alt={metric.title} className="size-8 object-cover rounded" />
) : (
<div className="flex items-center justify-center size-8 primary-button rounded">
<IconComponent className="h-2/5 w-2/5 text-primary-cta-text" strokeWidth={1.5} />
</div>
)}
<span className="text-xl truncate">{metric.title}</span>
</div>
<span className="text-7xl font-medium leading-none truncate">{metric.value}</span>

View File

@@ -193,17 +193,17 @@ export default function HomePage() {
description="Our commitment to data-driven strategies consistently delivers outstanding outcomes and measurable success for our diverse clientele."
metrics={[
{
icon: Sparkles,
imageSrc: "https://img.b2bpic.net/free-photo/happy-business-woman-standing-outdoors_1262-20546.jpg",
title: "Client Satisfaction",
value: "98%",
},
{
icon: TrendingUp,
imageSrc: "https://img.b2bpic.net/free-photo/smiling-african-american-man-posing-library_74855-1619.jpg",
title: "Campaign ROI",
value: "+35%",
},
{
icon: BarChart2,
imageSrc: "https://img.b2bpic.net/free-photo/composition-with-love-emoji_23-2148860254.jpg",
title: "Website Traffic Increase",
value: "+70%",
},
@@ -218,6 +218,13 @@ export default function HomePage() {
tag="Get in Touch"
title="Let's Discuss Your Next Project"
description="Have a question or want to start a project? Fill out the form below and we'll get back to you shortly."
inputs={[
{ name: "name", type: "text", placeholder: "Your Name", required: true },
{ name: "email", type: "email", placeholder: "Your Email", required: true },
{ name: "subject", type: "text", placeholder: "Subject" },
]}
textarea={{ name: "message", placeholder: "Your Message", rows: 5, required: true }}
buttonText="Send Message"
imageSrc="https://img.b2bpic.net/free-photo/young-woman-working-laptop-cafe_1303-24700.jpg"
/>
</SectionErrorBoundary>