Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6ddf2206cb | |||
| 6c55da4cb2 | |||
| 5f61e07578 | |||
| 43e429a852 |
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
|
import NavbarStyleMinimal from '@/components/navbar/NavbarStyleMinimal';
|
||||||
import HeroSplitAvatars from '@/components/sections/hero/HeroSplitAvatars';
|
import HeroBillboardMetrics from '@/components/sections/hero/HeroBillboardMetrics';
|
||||||
import TagAbout from '@/components/sections/about/TagAbout';
|
import TagAbout from '@/components/sections/about/TagAbout';
|
||||||
import FeatureCardFifteen from '@/components/sections/feature/FeatureCardFifteen';
|
import FeatureCardFifteen from '@/components/sections/feature/FeatureCardFifteen';
|
||||||
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
import ProductCardThree from '@/components/sections/product/ProductCardThree';
|
||||||
@@ -14,6 +14,13 @@ 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"
|
||||||
@@ -31,36 +38,40 @@ export default function LandingPage() {
|
|||||||
<NavbarStyleMinimal
|
<NavbarStyleMinimal
|
||||||
brandName="Edgetabs"
|
brandName="Edgetabs"
|
||||||
button={{
|
button={{
|
||||||
text: "Shop Now", href: "products"
|
text: "Shop Now", href: "products", onClick: () => scrollToSection('products')
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="hero" data-section="hero">
|
<div id="hero" data-section="hero">
|
||||||
<HeroSplitAvatars
|
<HeroBillboardMetrics
|
||||||
title="Edgetabs: Clean Energy Without the Jitters"
|
title="Edgetabs: Clean Energy Without the Jitters"
|
||||||
description="50mg Caffeine + 30mg L-Theanine for a Smooth, Focused Boost. Feel the difference with our premium caffeine strips designed for sustained energy and mental clarity."
|
description="50mg Caffeine + 30mg L-Theanine for a Smooth, Focused Boost. Feel the difference with our premium caffeine strips designed for sustained energy and mental clarity."
|
||||||
tag="Premium Supplement"
|
tag="Premium Supplement"
|
||||||
tagIcon={Zap}
|
tagIcon={Zap}
|
||||||
buttons={[
|
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"
|
imageSrc="https://img.b2bpic.net/free-photo/traditional-italian-dessert-tiramisu-glasses-top-view_114579-9837.jpg"
|
||||||
imageAlt="Edgetabs caffeine supplement strip packaging"
|
imageAlt="Edgetabs caffeine supplement strip packaging"
|
||||||
imagePosition="right"
|
frameStyle="card"
|
||||||
avatars={[
|
metricsLabel="Trusted by professionals, fitness enthusiasts, and students worldwide"
|
||||||
{ src: "https://img.b2bpic.net/free-photo/smiling-homosexual-man-official-suit-looking-camera-close-up-shot-happy-gay-getting-dressed-wedding-ceremony-standing-hotel-room-with-his-partner-background-love-emotion-concept_74855-22675.jpg", alt: "Professional user 1" },
|
metrics={[
|
||||||
{ src: "https://img.b2bpic.net/free-photo/young-businesswoman-portrait-office_1262-1506.jpg", alt: "Professional user 2" },
|
{
|
||||||
{ src: "https://img.b2bpic.net/free-photo/business-woman-banner-concept-with-copy-space_23-2149601533.jpg", alt: "Professional user 3" },
|
id: "1", value: "50mg", label: "Caffeine Per Strip"
|
||||||
{ src: "https://img.b2bpic.net/free-photo/waist-up-confident-businessman-office_329181-19349.jpg", alt: "Professional user 4" },
|
},
|
||||||
{ src: "https://img.b2bpic.net/free-photo/smiley-businesswoman-posing-outdoors_23-2148767054.jpg", alt: "Professional user 5" }
|
{
|
||||||
|
id: "2", value: "30mg", label: "L-Theanine for Smoothness"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
id: "3", value: "0 Jitters", label: "Clean Energy Promise"
|
||||||
|
}
|
||||||
]}
|
]}
|
||||||
avatarText="Join 1,000+ professionals experiencing clean energy"
|
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -83,7 +94,7 @@ export default function LandingPage() {
|
|||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "Learn More", href: "products"
|
text: "Learn More", href: "products", onClick: () => scrollToSection('products')
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
features={[
|
features={[
|
||||||
@@ -141,10 +152,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", onClick: () => scrollToSection('products')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "Learn More", href: "features"
|
text: "Learn More", href: "features", onClick: () => scrollToSection('features')
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
features: [
|
features: [
|
||||||
@@ -155,10 +166,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", onClick: () => scrollToSection('products')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "Learn More", href: "features"
|
text: "Learn More", href: "features", onClick: () => scrollToSection('features')
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
features: [
|
features: [
|
||||||
@@ -169,10 +180,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", onClick: () => scrollToSection('products')
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: "Learn More", href: "features"
|
text: "Learn More", href: "features", onClick: () => scrollToSection('features')
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
features: [
|
features: [
|
||||||
|
|||||||
Reference in New Issue
Block a user