Update src/app/page.tsx

This commit is contained in:
2026-03-04 06:23:08 +00:00
parent 90f43ddae3
commit 0a439b5dc9

View File

@@ -23,6 +23,13 @@ const navItems = [
];
export default function Home() {
const handleShopNowClick = () => {
const featuredSection = document.getElementById("featured-products");
if (featuredSection) {
featuredSection.scrollIntoView({ behavior: "smooth" });
}
};
return (
<ThemeProvider
defaultButtonVariant="hover-bubble"
@@ -55,7 +62,7 @@ export default function Home() {
]}
background={{ variant: "sparkles-gradient" }}
buttons={[
{ text: "Shop Women's", href: "/womens" },
{ text: "Shop Now", onClick: handleShopNowClick },
{ text: "Shop Men's", href: "/mens" }
]}
buttonAnimation="slide-up"
@@ -258,4 +265,4 @@ export default function Home() {
</div>
</ThemeProvider>
);
}
}