From 178f5507a068842dbec536526156d4310254c31b Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 18 May 2026 13:42:36 +0000 Subject: [PATCH] Update src/app/page.tsx --- src/app/page.tsx | 32 +++++++++++++++++++++++++++----- 1 file changed, 27 insertions(+), 5 deletions(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index c0ab1c4..08b9314 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -14,6 +14,13 @@ import SocialProofOne from '@/components/sections/socialProof/SocialProofOne'; import { Briefcase, Watch, Zap } from "lucide-react"; export default function LandingPage() { + const scrollTo = (id: string) => { + const element = document.getElementById(id); + if (element) { + element.scrollIntoView({ behavior: 'smooth' }); + } + }; + return ( @@ -51,7 +61,7 @@ export default function LandingPage() { { name: "User 5", handle: "@client", testimonial: "Профессиональный подбор одежды.", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/view-skateboard-with-retro-memorabilia_23-2150583924.jpg?_wi=1", imageAlt: "dark fashion showroom interior" }, ]} buttons={[ - { text: "Смотреть каталог", href: "#catalog" }, + { text: "Смотреть каталог", onClick: () => scrollTo('catalog') }, { text: "Написать в Telegram", href: "https://t.me/darkbox" }, ]} imageSrc="http://img.b2bpic.net/free-photo/empty-shopping-mall-with-casual-formal-wear-brands_482257-88618.jpg?_wi=2" @@ -99,6 +109,18 @@ export default function LandingPage() { /> +
+
+ +
+
+ +
+
+ +
+
+
); -} \ No newline at end of file +} -- 2.49.1