Update src/app/shop/page.tsx
This commit is contained in:
@@ -7,6 +7,7 @@ import FooterBaseCard from '@/components/sections/footer/FooterBaseCard';
|
||||
import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog";
|
||||
import { useProductCatalog } from "@/hooks/useProductCatalog";
|
||||
import { useState } from "react";
|
||||
import Link from 'next/link';
|
||||
|
||||
export default function ShopPage() {
|
||||
const {
|
||||
@@ -35,14 +36,14 @@ export default function ShopPage() {
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarStyleCentered
|
||||
brandName="Prestige Realty"
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" }
|
||||
]}
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
<NavbarStyleCentered
|
||||
brandName="Prestige Realty"
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" }
|
||||
]}
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
</div>
|
||||
<main className="min-h-screen flex items-center justify-center pt-20">
|
||||
<p className="text-foreground">Loading products...</p>
|
||||
@@ -67,66 +68,66 @@ export default function ShopPage() {
|
||||
>
|
||||
<ReactLenis root>
|
||||
<div id="navbar" data-section="navbar">
|
||||
<NavbarStyleCentered
|
||||
brandName="Prestige Realty"
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" }
|
||||
]}
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
<NavbarStyleCentered
|
||||
brandName="Prestige Realty"
|
||||
navItems={[
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Shop", id: "/shop" }
|
||||
]}
|
||||
button={{ text: "Cart", onClick: () => setCartOpen(true) }}
|
||||
/>
|
||||
</div>
|
||||
<div id="product-catalog" data-section="product-catalog">
|
||||
<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>
|
||||
<div id="footer" data-section="footer">
|
||||
<FooterBaseCard
|
||||
logoText="Prestige Realty"
|
||||
copyrightText="© 2025 Prestige Realty. All rights reserved. Luxury real estate excellence."
|
||||
columns={[
|
||||
{
|
||||
title: "Properties", items: [
|
||||
{ label: "Featured Listings", href: "/properties" },
|
||||
{ label: "Coming Soon", href: "#" },
|
||||
{ label: "Sold Properties", href: "#" },
|
||||
{ label: "Portfolio Search", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "/about" },
|
||||
{ label: "Our Team", href: "#team" },
|
||||
{ label: "Market Insights", href: "#" },
|
||||
{ label: "Careers", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Services", items: [
|
||||
{ label: "Property Sales", href: "#" },
|
||||
{ label: "Acquisitions", href: "#" },
|
||||
{ label: "Valuations", href: "#" },
|
||||
{ label: "Portfolio Management", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Contact", items: [
|
||||
{ label: "Schedule Tour", href: "#contact" },
|
||||
{ label: "Contact Form", href: "#contact" },
|
||||
{ label: "Support", href: "#" },
|
||||
{ label: "Inquiries", href: "#" }
|
||||
]
|
||||
}
|
||||
]
|
||||
onPrivacyClick={null}
|
||||
/>
|
||||
<FooterBaseCard
|
||||
logoText="Prestige Realty"
|
||||
copyrightText="© 2025 Prestige Realty. All rights reserved. Luxury real estate excellence."
|
||||
columns={[
|
||||
{
|
||||
title: "Properties", items: [
|
||||
{ label: "Featured Listings", href: "/properties" },
|
||||
{ label: "Coming Soon", href: "#" },
|
||||
{ label: "Sold Properties", href: "#" },
|
||||
{ label: "Portfolio Search", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Company", items: [
|
||||
{ label: "About Us", href: "/about" },
|
||||
{ label: "Our Team", href: "#team" },
|
||||
{ label: "Market Insights", href: "#" },
|
||||
{ label: "Careers", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Services", items: [
|
||||
{ label: "Property Sales", href: "#" },
|
||||
{ label: "Acquisitions", href: "#" },
|
||||
{ label: "Valuations", href: "#" },
|
||||
{ label: "Portfolio Management", href: "#" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Contact", items: [
|
||||
{ label: "Schedule Tour", href: "/contact" },
|
||||
{ label: "Contact Form", href: "/contact" },
|
||||
{ label: "Support", href: "#" },
|
||||
{ label: "Inquiries", href: "#" }
|
||||
]
|
||||
}
|
||||
]}
|
||||
onPrivacyClick={() => console.log('Privacy clicked')}
|
||||
/>
|
||||
</div>
|
||||
</ReactLenis>
|
||||
</ThemeProvider>
|
||||
|
||||
Reference in New Issue
Block a user