Update src/app/shop/page.tsx
This commit is contained in:
@@ -60,23 +60,23 @@ function ShopPageContent() {
|
|||||||
<NavbarStyleApple
|
<NavbarStyleApple
|
||||||
brandName="Hookah Haven"
|
brandName="Hookah Haven"
|
||||||
navItems={[
|
navItems={[
|
||||||
{ name: "Home", id: "/" },
|
{ name: "Головна", id: "/" },
|
||||||
{ name: "Shop", id: "/shop" }
|
{ name: "Магазин", id: "/shop" }
|
||||||
]}
|
]}
|
||||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
button={{ text: "Кошик", onClick: () => setCartOpen(true) }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<main className="min-h-screen flex items-center justify-center pt-20">
|
<main className="min-h-screen flex items-center justify-center pt-20">
|
||||||
<p className="text-foreground">Loading products...</p>
|
<p className="text-foreground">Завантаження товарів...</p>
|
||||||
</main>
|
</main>
|
||||||
<div id="footer" data-section="footer">
|
<div id="footer" data-section="footer">
|
||||||
<FooterBaseCard
|
<FooterBaseCard
|
||||||
logoText="Hookah Haven"
|
logoText="Hookah Haven"
|
||||||
columns={[
|
columns={[
|
||||||
{ title: "Shop", items: [{ label: "Hookahs", href: "#products" }, { label: "Tobacco", href: "#products" }, { label: "Charcoal", href: "#products" }, { label: "Accessories", href: "#products" }] },
|
{ title: "Магазин", items: [{ label: "Кальяни", href: "#products" }, { label: "Тютюн", href: "#products" }, { label: "Вугілля", href: "#products" }, { label: "Аксесуари", href: "#products" }] },
|
||||||
{ title: "Company", items: [{ label: "About Us", href: "#about" }, { label: "FAQ", href: "#faq" }, { label: "Contact", href: "#contact" }] }
|
{ title: "Компанія", items: [{ label: "Про нас", href: "#about" }, { label: "FAQ", href: "#faq" }, { label: "Контакти", href: "#contact" }] }
|
||||||
]}
|
]}
|
||||||
copyrightText="© 2024 Hookah Haven. All rights reserved."
|
copyrightText="© 2024 Hookah Haven. Всі права захищені."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
@@ -102,10 +102,10 @@ function ShopPageContent() {
|
|||||||
<NavbarStyleApple
|
<NavbarStyleApple
|
||||||
brandName="Hookah Haven"
|
brandName="Hookah Haven"
|
||||||
navItems={[
|
navItems={[
|
||||||
{ name: "Home", id: "/" },
|
{ name: "Головна", id: "/" },
|
||||||
{ name: "Shop", id: "/shop" }
|
{ name: "Магазин", id: "/shop" }
|
||||||
]}
|
]}
|
||||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
button={{ text: "Кошик", onClick: () => setCartOpen(true) }}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div id="product-catalog" data-section="product-catalog">
|
<div id="product-catalog" data-section="product-catalog">
|
||||||
@@ -114,9 +114,9 @@ function ShopPageContent() {
|
|||||||
products={products}
|
products={products}
|
||||||
searchValue={search}
|
searchValue={search}
|
||||||
onSearchChange={setSearch}
|
onSearchChange={setSearch}
|
||||||
searchPlaceholder="Search products..."
|
searchPlaceholder="Пошук товарів..."
|
||||||
filters={filters}
|
filters={filters}
|
||||||
emptyMessage="No products found"
|
emptyMessage="Товари не знайдено"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div id="product-cart" data-section="product-cart">
|
<div id="product-cart" data-section="product-cart">
|
||||||
@@ -129,7 +129,7 @@ function ShopPageContent() {
|
|||||||
total={`$${cartTotal}`}
|
total={`$${cartTotal}`}
|
||||||
buttons={[
|
buttons={[
|
||||||
{
|
{
|
||||||
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout,
|
text: isCheckoutLoading ? "Обробка..." : "Оформити замовлення", onClick: handleCheckout,
|
||||||
},
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
@@ -138,10 +138,10 @@ function ShopPageContent() {
|
|||||||
<FooterBaseCard
|
<FooterBaseCard
|
||||||
logoText="Hookah Haven"
|
logoText="Hookah Haven"
|
||||||
columns={[
|
columns={[
|
||||||
{ title: "Shop", items: [{ label: "Hookahs", href: "#products" }, { label: "Tobacco", href: "#products" }, { label: "Charcoal", href: "#products" }, { label: "Accessories", href: "#products" }] },
|
{ title: "Магазин", items: [{ label: "Кальяни", href: "#products" }, { label: "Тютюн", href: "#products" }, { label: "Вугілля", href: "#products" }, { label: "Аксесуари", href: "#products" }] },
|
||||||
{ title: "Company", items: [{ label: "About Us", href: "#about" }, { label: "FAQ", href: "#faq" }, { label: "Contact", href: "#contact" }] }
|
{ title: "Компанія", items: [{ label: "Про нас", href: "#about" }, { label: "FAQ", href: "#faq" }, { label: "Контакти", href: "#contact" }] }
|
||||||
]}
|
]}
|
||||||
copyrightText="© 2024 Hookah Haven. All rights reserved."
|
copyrightText="© 2024 Hookah Haven. Всі права захищені."
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</ReactLenis>
|
</ReactLenis>
|
||||||
|
|||||||
Reference in New Issue
Block a user