Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 375acea7fc | |||
| 499f2b06f1 |
@@ -14,6 +14,13 @@ import FooterBaseReveal from "@/components/sections/footer/FooterBaseReveal";
|
|||||||
import { Award, CheckCircle, Crown, Headphones, Heart, Mail, Shield, Sparkles, Truck, TrendingUp, Zap } from "lucide-react";
|
import { Award, CheckCircle, Crown, Headphones, Heart, Mail, Shield, Sparkles, Truck, TrendingUp, Zap } from "lucide-react";
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const handleShopNowClick = () => {
|
||||||
|
const productsSection = document.getElementById("products");
|
||||||
|
if (productsSection) {
|
||||||
|
productsSection.scrollIntoView({ behavior: "smooth" });
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="shift-hover"
|
defaultButtonVariant="shift-hover"
|
||||||
@@ -73,7 +80,7 @@ export default function LandingPage() {
|
|||||||
}
|
}
|
||||||
]}
|
]}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Explore Bestsellers", href: "#products" },
|
{ text: "Shop Now", onClick: handleShopNowClick },
|
||||||
{ text: "View Demo", href: "#" }
|
{ text: "View Demo", href: "#" }
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
|
|||||||
Reference in New Issue
Block a user