From c8e571a48b2ae186c1442ce73d33056045046d3d Mon Sep 17 00:00:00 2001 From: bender Date: Wed, 8 Apr 2026 18:56:45 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.49.1