From 43e429a8524cea4eb91ab107df9b3fcad7675e71 Mon Sep 17 00:00:00 2001 From: development Date: Thu, 8 Jan 2026 15:42:49 +0000 Subject: [PATCH 1/4] Update src/app/page.tsx --- src/app/page.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 93831b9..0861478 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -33,7 +33,7 @@ export default function LandingPage() { button={{ text: "Shop Now", href: "products" }} - navItems={[ + links={[ { name: "Home", id: "hero" }, { name: "Why Edgetabs", id: "about" }, { name: "Features", id: "features" }, -- 2.49.1 From 5f61e0757847e00dd02e22a43984350f5b93046a Mon Sep 17 00:00:00 2001 From: development Date: Thu, 8 Jan 2026 15:44:37 +0000 Subject: [PATCH 2/4] Update src/app/page.tsx --- src/app/page.tsx | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 0861478..f9154ce 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -14,6 +14,13 @@ import FooterBase from '@/components/sections/footer/FooterBase'; import { Zap, CheckCircle, Sparkles, Award, Crown } from "lucide-react"; export default function LandingPage() { + const scrollToSection = (sectionId: string) => { + const element = document.getElementById(sectionId); + if (element) { + element.scrollIntoView({ behavior: 'smooth' }); + } + }; + return ( scrollToSection('products') + }} /> @@ -53,10 +61,10 @@ export default function LandingPage() { tagIcon={Zap} buttons={[ { - text: "Shop Now and Power Your Day", href: "products" + text: "Shop Now and Power Your Day", href: "products", onClick: () => scrollToSection('products') }, { - text: "Learn More", href: "about" + text: "Learn More", href: "about", onClick: () => scrollToSection('about') } ]} imageSrc="https://img.b2bpic.net/free-photo/traditional-italian-dessert-tiramisu-glasses-top-view_114579-9837.jpg" @@ -96,7 +104,7 @@ export default function LandingPage() { animationType="slide-up" buttons={[ { - text: "Learn More", href: "products" + text: "Learn More", href: "products", onClick: () => scrollToSection('products') } ]} features={[ @@ -154,10 +162,10 @@ export default function LandingPage() { id: "starter", badge: "Starter", badgeIcon: Sparkles, price: "$14.99", subtitle: "Perfect for first-time energy seekers", buttons: [ { - text: "Get Started", href: "products" + text: "Get Started", href: "products", onClick: () => scrollToSection('products') }, { - text: "Learn More", href: "features" + text: "Learn More", href: "features", onClick: () => scrollToSection('features') } ], features: [ @@ -168,10 +176,10 @@ export default function LandingPage() { id: "pro", badge: "🏆 MOST POPULAR", badgeIcon: Crown, price: "$27.99", subtitle: "Ideal for daily energy consumers", buttons: [ { - text: "Save 7%", href: "products" + text: "Save 7%", href: "products", onClick: () => scrollToSection('products') }, { - text: "Learn More", href: "features" + text: "Learn More", href: "features", onClick: () => scrollToSection('features') } ], features: [ @@ -182,10 +190,10 @@ export default function LandingPage() { id: "ultimate", badge: "Ultimate", badgeIcon: Zap, price: "$39.99", subtitle: "Maximum savings for committed users", buttons: [ { - text: "Save 13%", href: "products" + text: "Save 13%", href: "products", onClick: () => scrollToSection('products') }, { - text: "Learn More", href: "features" + text: "Learn More", href: "features", onClick: () => scrollToSection('features') } ], features: [ -- 2.49.1 From 6c55da4cb2b8995d138c088e04da53d831d63a57 Mon Sep 17 00:00:00 2001 From: development Date: Thu, 8 Jan 2026 15:47:11 +0000 Subject: [PATCH 3/4] Update src/app/page.tsx --- src/app/page.tsx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index f9154ce..e7b4182 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -37,15 +37,15 @@ export default function LandingPage() {