Merge version_1 into main #1

Merged
bender merged 3 commits from version_1 into main 2026-02-24 12:03:36 +00:00
3 changed files with 75 additions and 75 deletions

View File

@@ -1,4 +1,4 @@
"use client"
"use client";
import NavbarStyleCentered from '@/components/navbar/NavbarStyleCentered/NavbarStyleCentered';
import HeroBillboard from '@/components/sections/hero/HeroBillboard';
@@ -132,7 +132,7 @@ export default function LandingPage() {
id: "testimonial-3", name: "Sophia Reynolds", role: "Marketing Director", company: "GrowthLab", rating: 4,
imageSrc: "https://img.b2bpic.net/free-photo/two-office-workers-with-tablet-office-late-night-young-businessmen-talking-while-viewing-presentation-digital-touchscreen-tablet_549566-692.jpg", imageAlt: "Sophia Reynolds, Marketing Director at GrowthLab"
}
]
]}
gridVariant="three-columns-all-equal-width"
animationType="slide-up"
title="What Our Clients Say"

View File

@@ -89,14 +89,14 @@ function ProductPageContent({ params }: ProductPageProps) {
>
<ReactLenis root>
<div id="navbar" data-section="navbar">
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "/" },
{ name: "Shop", id: "/shop" }
]}
brandName="Webild"
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
/>
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "/" },
{ name: "Shop", id: "/shop" }
]}
brandName="Webild"
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
/>
</div>
<main className="min-h-screen flex items-center justify-center pt-20">
<p className="text-foreground">Loading product...</p>
@@ -162,50 +162,50 @@ function ProductPageContent({ params }: ProductPageProps) {
>
<ReactLenis root>
<div id="navbar" data-section="navbar">
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "/" },
{ name: "Shop", id: "/shop" }
]}
brandName="Webild"
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
/>
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "/" },
{ name: "Shop", id: "/shop" }
]}
brandName="Webild"
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
/>
</div>
<div id="productDetailCard" data-section="productDetailCard">
<ProductDetailCard
layout="page"
name={product.name}
price={product.price}
salePrice={meta.salePrice}
rating={product.rating || 0}
description={product.description}
images={images}
variants={variants.length > 0 ? variants : undefined}
quantity={quantityVariant}
ribbon={meta.ribbon}
inventoryStatus={meta.inventoryStatus}
inventoryQuantity={meta.inventoryQuantity}
sku={meta.sku}
buttons={[
{ text: "Add To Cart", onClick: handleAddToCart },
{ text: "Buy Now", onClick: handleBuyNow },
]}
/>
<ProductDetailCard
layout="page"
name={product.name}
price={product.price}
salePrice={meta.salePrice}
rating={product.rating || 0}
description={product.description}
images={images}
variants={variants.length > 0 ? variants : undefined}
quantity={quantityVariant}
ribbon={meta.ribbon}
inventoryStatus={meta.inventoryStatus}
inventoryQuantity={meta.inventoryQuantity}
sku={meta.sku}
buttons={[
{ text: "Add To Cart", onClick: handleAddToCart },
{ text: "Buy Now", onClick: handleBuyNow },
]}
/>
</div>
<div id="productCart" data-section="productCart">
<ProductCart
isOpen={cartOpen}
onClose={() => setCartOpen(false)}
items={cartItems}
onQuantityChange={updateQuantity}
onRemove={removeItem}
total={`$${cartTotal}`}
buttons={[
{
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout,
},
]}
/>
<ProductCart
isOpen={cartOpen}
onClose={() => setCartOpen(false)}
items={cartItems}
onQuantityChange={updateQuantity}
onRemove={removeItem}
total={`$${cartTotal}`}
buttons={[
{
text: isCheckoutLoading ? "Processing..." : "Check Out", onClick: handleCheckout,
},
]}
/>
</div>
</ReactLenis>
</ThemeProvider>

View File

@@ -32,14 +32,14 @@ function ShopPageContent() {
>
<ReactLenis root>
<div id="navbar" data-section="navbar">
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "/" },
{ name: "Shop", id: "/shop" }
]}
brandName="Webild"
button={{ text: "Cart", onClick: () => console.log("cart") }}
/>
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "/" },
{ name: "Shop", id: "/shop" }
]}
brandName="Webild"
button={{ text: "Cart", onClick: () => console.log("cart") }}
/>
</div>
<main className="min-h-screen flex items-center justify-center pt-20">
<p className="text-foreground">Loading products...</p>
@@ -64,25 +64,25 @@ function ShopPageContent() {
>
<ReactLenis root>
<div id="navbar" data-section="navbar">
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "/" },
{ name: "Shop", id: "/shop" }
]}
brandName="Webild"
button={{ text: "Cart", onClick: () => console.log("cart") }}
/>
<NavbarStyleCentered
navItems={[
{ name: "Home", id: "/" },
{ name: "Shop", id: "/shop" }
]}
brandName="Webild"
button={{ text: "Cart", onClick: () => console.log("cart") }}
/>
</div>
<div id="productCatalog" data-section="productCatalog">
<ProductCatalog
layout="page"
products={products}
searchValue={search}
onSearchChange={setSearch}
searchPlaceholder="Search products..."
filters={filters}
emptyMessage="No products found"
/>
<ProductCatalog
layout="page"
products={products}
searchValue={search}
onSearchChange={setSearch}
searchPlaceholder="Search products..."
filters={filters}
emptyMessage="No products found"
/>
</div>
</ReactLenis>
</ThemeProvider>