diff --git a/src/app/page.tsx b/src/app/page.tsx index ede19d1..a80f0ab 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -41,7 +41,7 @@ export default function LandingPage() { background={{ variant: "sparkles-gradient" }} title="Shop Smarter, Compare Everywhere" description="Compare prices, features, and ratings across top ecommerce platforms in real-time. Everything you need to make the best purchase decision, all in one place." - buttons={[{ text: "Start Comparing", href: "#products" }]} + buttons={[{ text: "Start Comparing", onClick: () => { const el = document.querySelector("#products"); el?.scrollIntoView({ behavior: "smooth" }); } }]} imageSrc="http://img.b2bpic.net/free-photo/office-worker-analyzing-business-charts-laptop-using-paperwork-research-information-make-data-report-working-from-home-startup-analysis-with-web-graphs-browsing-internet_482257-50961.jpg" imageAlt="CompareHub interface preview" mediaAnimation="blur-reveal" @@ -160,4 +160,4 @@ export default function LandingPage() { ); -} +} \ No newline at end of file