Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| f8c44db0da | |||
| 977c409688 |
@@ -28,27 +28,27 @@ export default function LandingPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
navItems={[
|
||||
{ name: "Home", id: "hero" },
|
||||
{ name: "About", id: "about" },
|
||||
{ name: "Products", id: "products" },
|
||||
{ name: "Contact", id: "contact" },
|
||||
{ name: "Order", id: "order" }
|
||||
{ name: "Головна", id: "hero" },
|
||||
{ name: "Про нас", id: "about" },
|
||||
{ name: "Продукти", id: "products" },
|
||||
{ name: "Контакти", id: "contact" },
|
||||
{ name: "Замовити", id: "order" }
|
||||
]}
|
||||
brandName="Пекарня"
|
||||
bottomLeftText="Authentic Ukrainian Bakery"
|
||||
bottomLeftText="Автентична українська пекарня"
|
||||
bottomRightText="hello@ukrainianbakery.local"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div id="hero" data-section="hero">
|
||||
<HeroBillboard
|
||||
title="Freshly Baked Ukrainian Traditions"
|
||||
description="Discover authentic Ukrainian breads and pastries made daily with traditional recipes passed down through generations. Every loaf tells a story of heritage and craftsmanship."
|
||||
title="Свіжовипечені українські традиції"
|
||||
description="Відкрийте для себе автентичний український хліб та випічку, виготовлені щодня за традиційними рецептами, переданими з покоління в покоління. Кожна булка розповідає історію спадщини та майстерності."
|
||||
background={{ variant: "plain" }}
|
||||
tag="Est. 2005"
|
||||
tag="Заснована 2005"
|
||||
tagIcon={Sparkles}
|
||||
buttons={[
|
||||
{ text: "Order Now", href: "#order" },
|
||||
{ text: "Замовити зараз", href: "#order" },
|
||||
{ text: "Learn More", href: "#about" }
|
||||
]}
|
||||
imageSrc="https://img.b2bpic.net/free-photo/various-type-rustic-breads-box_23-2147975199.jpg"
|
||||
|
||||
@@ -175,8 +175,10 @@ imageClassName = "",
|
||||
|
||||
const enhancedButtons = buttons?.map((button) => ({
|
||||
...button,
|
||||
onClick: (e: React.MouseEvent<HTMLButtonElement>) => {
|
||||
handleButtonClick(e, button.onClick as (() => void) | undefined);
|
||||
onClick: (e: React.MouseEvent<HTMLButtonElement> | null) => {
|
||||
if (e && e.currentTarget) {
|
||||
handleButtonClick(e, button.onClick as (() => void) | undefined);
|
||||
}
|
||||
},
|
||||
}));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user