Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 178f5507a0 | |||
| 21ffea29c3 | |||
| 02cf91197a | |||
| 5c1ecf5abc |
@@ -14,6 +14,13 @@ import SocialProofOne from '@/components/sections/socialProof/SocialProofOne';
|
|||||||
import { Briefcase, Watch, Zap } from "lucide-react";
|
import { Briefcase, Watch, Zap } from "lucide-react";
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const scrollTo = (id: string) => {
|
||||||
|
const element = document.getElementById(id);
|
||||||
|
if (element) {
|
||||||
|
element.scrollIntoView({ behavior: 'smooth' });
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="hover-magnetic"
|
defaultButtonVariant="hover-magnetic"
|
||||||
@@ -31,9 +38,12 @@ export default function LandingPage() {
|
|||||||
<div id="nav" data-section="nav">
|
<div id="nav" data-section="nav">
|
||||||
<NavbarStyleCentered
|
<NavbarStyleCentered
|
||||||
navItems={[
|
navItems={[
|
||||||
{ name: "Каталог", id: "#catalog" },
|
{ name: "Главная", id: "hero" },
|
||||||
{ name: "Поступления", id: "#arrivals" },
|
{ name: "Каталог", id: "catalog" },
|
||||||
{ name: "Адрес", id: "#contact" },
|
{ name: "Новинки", id: "new" },
|
||||||
|
{ name: "Кроссовки", id: "sneakers" },
|
||||||
|
{ name: "Одежда", id: "clothes" },
|
||||||
|
{ name: "Аксессуары", id: "accessories" },
|
||||||
]}
|
]}
|
||||||
brandName="DARK BOX"
|
brandName="DARK BOX"
|
||||||
/>
|
/>
|
||||||
@@ -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" },
|
{ 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={[
|
buttons={[
|
||||||
{ text: "Смотреть каталог", href: "#catalog" },
|
{ text: "Смотреть каталог", onClick: () => scrollTo('catalog') },
|
||||||
{ text: "Написать в Telegram", href: "https://t.me/darkbox" },
|
{ 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"
|
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() {
|
|||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="new" data-section="new">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="sneakers" data-section="sneakers">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="clothes" data-section="clothes">
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="accessories" data-section="accessories">
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="catalog" data-section="catalog">
|
<div id="catalog" data-section="catalog">
|
||||||
<ProductCardTwo
|
<ProductCardTwo
|
||||||
animationType="slide-up"
|
animationType="slide-up"
|
||||||
|
|||||||
Reference in New Issue
Block a user