diff --git a/src/components/sections/metrics/MetricsIconCards.tsx b/src/components/sections/metrics/MetricsIconCards.tsx index 90d2096..9148a52 100644 --- a/src/components/sections/metrics/MetricsIconCards.tsx +++ b/src/components/sections/metrics/MetricsIconCards.tsx @@ -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 (
-
- -
+ {metric.imageSrc ? ( + {metric.title} + ) : ( +
+ +
+ )} {metric.title}
{metric.value} diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index ce6e9d8..b239745 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -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" />