Update src/app/page.tsx
This commit is contained in:
@@ -14,13 +14,6 @@ import FooterBase from '@/components/sections/footer/FooterBase';
|
|||||||
import { Zap, CheckCircle, Sparkles, Award, Crown } from "lucide-react";
|
import { Zap, CheckCircle, Sparkles, Award, Crown } from "lucide-react";
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
const scrollToSection = (sectionId: string) => {
|
|
||||||
const element = document.getElementById(sectionId);
|
|
||||||
if (element) {
|
|
||||||
element.scrollIntoView({ behavior: 'smooth' });
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="expand-hover"
|
defaultButtonVariant="expand-hover"
|
||||||
@@ -38,8 +31,17 @@ export default function LandingPage() {
|
|||||||
<NavbarStyleMinimal
|
<NavbarStyleMinimal
|
||||||
brandName="Edgetabs"
|
brandName="Edgetabs"
|
||||||
button={{
|
button={{
|
||||||
text: "Shop Now", href: "#products"
|
text: "Shop Now", href: "products"
|
||||||
}}
|
}}
|
||||||
|
navItems={[
|
||||||
|
{ name: "Home", id: "hero" },
|
||||||
|
{ name: "Why Edgetabs", id: "about" },
|
||||||
|
{ name: "Features", id: "features" },
|
||||||
|
{ name: "Products", id: "products" },
|
||||||
|
{ name: "Testimonials", id: "testimonials" },
|
||||||
|
{ name: "FAQ", id: "faq" },
|
||||||
|
{ name: "Contact", id: "contact" }
|
||||||
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -51,10 +53,10 @@ export default function LandingPage() {
|
|||||||
tagIcon={Zap}
|
tagIcon={Zap}
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "Shop Now and Power Your Day", href: "#products"
|
text: "Shop Now and Power Your Day", href: "products"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "Learn More", href: "#about"
|
text: "Learn More", href: "about"
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
imageSrc="https://img.b2bpic.net/free-photo/traditional-italian-dessert-tiramisu-glasses-top-view_114579-9837.jpg"
|
imageSrc="https://img.b2bpic.net/free-photo/traditional-italian-dessert-tiramisu-glasses-top-view_114579-9837.jpg"
|
||||||
@@ -94,7 +96,7 @@ export default function LandingPage() {
|
|||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "Learn More", onClick: () => scrollToSection('products')
|
text: "Learn More", href: "products"
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
features={[
|
features={[
|
||||||
@@ -152,10 +154,10 @@ export default function LandingPage() {
|
|||||||
id: "starter", badge: "Starter", badgeIcon: Sparkles,
|
id: "starter", badge: "Starter", badgeIcon: Sparkles,
|
||||||
price: "$14.99", subtitle: "Perfect for first-time energy seekers", buttons: [
|
price: "$14.99", subtitle: "Perfect for first-time energy seekers", buttons: [
|
||||||
{
|
{
|
||||||
text: "Get Started", href: "#products"
|
text: "Get Started", href: "products"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "Learn More", href: "#features"
|
text: "Learn More", href: "features"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
features: [
|
features: [
|
||||||
@@ -166,10 +168,10 @@ export default function LandingPage() {
|
|||||||
id: "pro", badge: "🏆 MOST POPULAR", badgeIcon: Crown,
|
id: "pro", badge: "🏆 MOST POPULAR", badgeIcon: Crown,
|
||||||
price: "$27.99", subtitle: "Ideal for daily energy consumers", buttons: [
|
price: "$27.99", subtitle: "Ideal for daily energy consumers", buttons: [
|
||||||
{
|
{
|
||||||
text: "Save 7%", href: "#products"
|
text: "Save 7%", href: "products"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "Learn More", href: "#features"
|
text: "Learn More", href: "features"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
features: [
|
features: [
|
||||||
@@ -180,10 +182,10 @@ export default function LandingPage() {
|
|||||||
id: "ultimate", badge: "Ultimate", badgeIcon: Zap,
|
id: "ultimate", badge: "Ultimate", badgeIcon: Zap,
|
||||||
price: "$39.99", subtitle: "Maximum savings for committed users", buttons: [
|
price: "$39.99", subtitle: "Maximum savings for committed users", buttons: [
|
||||||
{
|
{
|
||||||
text: "Save 13%", href: "#products"
|
text: "Save 13%", href: "products"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "Learn More", href: "#features"
|
text: "Learn More", href: "features"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
features: [
|
features: [
|
||||||
@@ -279,26 +281,26 @@ export default function LandingPage() {
|
|||||||
{
|
{
|
||||||
title: "Products", items: [
|
title: "Products", items: [
|
||||||
{
|
{
|
||||||
label: "Single Tin", href: "#products"
|
label: "Single Tin", href: "products"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "2x Bundle", href: "#products"
|
label: "2x Bundle", href: "products"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "3x Bundle", href: "#products"
|
label: "3x Bundle", href: "products"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
title: "Company", items: [
|
title: "Company", items: [
|
||||||
{
|
{
|
||||||
label: "About Us", href: "#about"
|
label: "About Us", href: "about"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Blog", href: "#blog"
|
label: "Blog", href: "#blog"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
label: "Contact", href: "#contact"
|
label: "Contact", href: "contact"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user