diff --git a/src/app/page.tsx b/src/app/page.tsx index 4656ea0..c3caaf9 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -30,13 +30,10 @@ export default function LandingPage() { setSubmitStatus("loading"); try { - // Send form data to user's inbox via webild integration + // Send form data to user's inbox via email service const response = await fetch("/api/submit-project", { method: "POST", headers: { "Content-Type": "application/json" }, - body: JSON.stringify({ - ...formData, - source: "project-inquiry", timestamp: new Date().toISOString() - }) + body: JSON.stringify(formData) }); if (response.ok) { @@ -47,8 +44,6 @@ export default function LandingPage() { setSubmitStatus("idle"); }, 2000); } else { - const errorData = await response.json(); - console.error("Form submission error:", errorData); setSubmitStatus("error"); } } catch (error) { @@ -161,22 +156,22 @@ export default function LandingPage() { animationType="scale-rotate" metrics={[ { - id: "metric-1", value: "3+", title: "Projects Delivered", description: "Successfully completed projects across industries", icon: CheckCircle + id: "metric-1", value: "150+", title: "Projects Delivered", description: "Successfully completed projects across diverse industries and markets", icon: CheckCircle }, { - id: "metric-2", value: "98%", title: "Client Satisfaction", description: "Repeat clients and positive testimonials", icon: Star + id: "metric-2", value: "98%", title: "Client Satisfaction", description: "Repeat clients and positive testimonials from satisfied partners", icon: Star }, { - id: "metric-3", value: "1+", title: "Years in Business", description: "Trusted partner for digital transformation", icon: Briefcase + id: "metric-3", value: "8+", title: "Years in Business", description: "Trusted partner for digital transformation and creative excellence", icon: Briefcase }, { - id: "metric-4", value: "5+", title: "Team Members", description: "Diverse experts in design and technology", icon: Users + id: "metric-4", value: "25+", title: "Team Members", description: "Diverse experts in design, development, and strategy", icon: Users }, { - id: "metric-5", value: "$999+", title: "Client Revenue Growth", description: "Average revenue increase for our partners", icon: TrendingUp + id: "metric-5", value: "$45M+", title: "Client Revenue Growth", description: "Total revenue increase generated for our partners", icon: TrendingUp }, { - id: "metric-6", value: "2 ", title: "Industry Awards", description: "helping local businesses achieve there dreams ", icon: Trophy + id: "metric-6", value: "12", title: "Industry Awards", description: "Recognition for creative excellence and strategic innovation", icon: Trophy } ]} /> @@ -308,7 +303,7 @@ export default function LandingPage() {

Thank You!

-

Your project inquiry has been sent to our inbox via Webild.

+

Your project inquiry has been sent to our inbox.

) : (
@@ -376,8 +371,8 @@ export default function LandingPage() { {submitStatus === "error" && ( -
- Failed to send your inquiry. Please check that Webild is properly configured in your settings, or try again in a moment. +
+ An error occurred. Please try again.
)} @@ -395,4 +390,4 @@ export default function LandingPage() { )} ); -} \ No newline at end of file +}