Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 48e166766e | |||
| bcb0d59cc3 | |||
| b5f539f1da |
@@ -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"
|
||||||
@@ -87,7 +94,7 @@ export default function LandingPage() {
|
|||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: "Shop", href: "#products"
|
text: "Learn More", onClick: () => scrollToSection('products')
|
||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
features={[
|
features={[
|
||||||
@@ -120,10 +127,10 @@ export default function LandingPage() {
|
|||||||
gridVariant="three-columns-all-equal-width"
|
gridVariant="three-columns-all-equal-width"
|
||||||
products={[
|
products={[
|
||||||
{
|
{
|
||||||
id: "single", name: "Single Tin (10 Strips)", price: "$14.99", imageSrc: "https://img.b2bpic.net/free-photo/flat-lay-nuts-milk-carton-arrangement_23-2149139375.jpg", imageAlt: "Edgetabs single tin with 10 strips", initialQuantity: 1
|
id: "bundle2x", name: "Bundle 2x (20 Strips) 🏆 BEST SELLER", price: "$27.99", imageSrc: "https://img.b2bpic.net/free-photo/expressive-young-woman-posing-studio_176474-36418.jpg", imageAlt: "Edgetabs 2x bundle with 20 strips - most popular choice", initialQuantity: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "bundle2x", name: "Bundle 2x (20 Strips) 🏆 BEST SELLER", price: "$27.99", imageSrc: "https://img.b2bpic.net/free-photo/expressive-young-woman-posing-studio_176474-36418.jpg", imageAlt: "Edgetabs 2x bundle with 20 strips - most popular choice", initialQuantity: 1
|
id: "single", name: "Single Tin (10 Strips)", price: "$14.99", imageSrc: "https://img.b2bpic.net/free-photo/flat-lay-nuts-milk-carton-arrangement_23-2149139375.jpg", imageAlt: "Edgetabs single tin with 10 strips", initialQuantity: 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
id: "bundle3x", name: "Bundle 3x (30 Strips)", price: "$39.99", imageSrc: "https://img.b2bpic.net/free-photo/view-arrangement-with-pills-marble-table_23-2148427763.jpg", imageAlt: "Edgetabs 3x bundle with 30 strips", initialQuantity: 1
|
id: "bundle3x", name: "Bundle 3x (30 Strips)", price: "$39.99", imageSrc: "https://img.b2bpic.net/free-photo/view-arrangement-with-pills-marble-table_23-2148427763.jpg", imageAlt: "Edgetabs 3x bundle with 30 strips", initialQuantity: 1
|
||||||
|
|||||||
Reference in New Issue
Block a user