diff --git a/src/app/page.tsx b/src/app/page.tsx index 81adbd2..28b32b0 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -32,7 +32,7 @@ export default function LandingPage() { { name: "Home", id: "hero" }, { name: "Benefits", id: "features" }, { name: "Pricing", id: "pricing" }, - { name: "Contact", id: "contact" }, + { name: "Contact", href: "/contact" }, ]} brandName="LocalWebBuilder" /> @@ -61,7 +61,7 @@ export default function LandingPage() { ]} buttons={[ { text: "Call Now: 970-216-3712", href: "tel:9702163712" }, - { text: "Get Started Today", href: "#contact" }, + { text: "Get Started Today", href: "/contact" }, ]} /> @@ -108,7 +108,7 @@ export default function LandingPage() { plans={[ { id: "basic", name: "Complete Website Build", price: "$1,000", features: ["Full design & build", "Mobile optimization", "Lead capture forms", "SEO structure"], - buttons: [{ text: "Get Started", href: "#contact" }], + buttons: [{ text: "Get Started", href: "/contact" }], }, { id: "deposit", name: "Down Payment", price: "$500", features: ["Required to start", "Instant project kickoff", "Secure payment link"], @@ -132,10 +132,7 @@ export default function LandingPage() { ctaTitle="Ready to get started?" ctaDescription="Call us at 970-216-3712 or fill out the form to secure your spot today." ctaButton={{ - text: "Contact Us", onClick: () => { - const element = document.getElementById("contact"); - element?.scrollIntoView({ behavior: "smooth" }); - } + text: "Contact Us", href: "/contact" }} ctaIcon={Phone} /> @@ -150,4 +147,4 @@ export default function LandingPage() { ); -} \ No newline at end of file +}