diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx
index 221d8cd..a2f5b1b 100644
--- a/src/app/blog/page.tsx
+++ b/src/app/blog/page.tsx
@@ -6,6 +6,17 @@ import { useBlogPosts } from "@/hooks/useBlogPosts";
import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloatingInline';
import BlogCardTwo from '@/components/sections/blog/BlogCardTwo';
+// Define common navigation items for sub-pages to maintain consistency
+const ALL_NAV_ITEMS_SUB_PAGES = [
+ { name: "Home", id: "/" },
+ { name: "Products", id: "/products" },
+ { name: "Shop", id: "/shop" },
+ { name: "Blog", id: "/blog" },
+ { name: "About", id: "/#about" },
+ { name: "Testimonials", id: "/#testimonials" },
+ { name: "FAQs", id: "/#faqs" }
+];
+
export default function BlogPage() {
const { posts, isLoading } = useBlogPosts();
@@ -26,14 +37,8 @@ export default function BlogPage() {
+
+
+
+
+
+
+ Loading products...
+
+
+
+
+ );
+ }
+
+ return (
+
+
+
+
+
+
+
+
+ );
+}
+
+export default function ProductsPage() {
+ return (
+
+
+
+ );
+}
diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx
index ace2518..1008e23 100644
--- a/src/app/shop/[id]/page.tsx
+++ b/src/app/shop/[id]/page.tsx
@@ -11,6 +11,17 @@ import { useProductDetail } from "@/hooks/useProductDetail";
import { useCart } from "@/hooks/useCart";
import { useCheckout } from "@/hooks/useCheckout";
+// Define common navigation items for sub-pages to maintain consistency
+const ALL_NAV_ITEMS_SUB_PAGES = [
+ { name: "Home", id: "/" },
+ { name: "Products", id: "/products" },
+ { name: "Shop", id: "/shop" },
+ { name: "Blog", id: "/blog" },
+ { name: "About", id: "/#about" },
+ { name: "Testimonials", id: "/#testimonials" },
+ { name: "FAQs", id: "/#faqs" }
+];
+
interface ProductPageProps {
params: Promise<{ id: string }>;
}
@@ -88,10 +99,10 @@ function ProductPageContent({ params }: ProductPageProps) {
headingFontWeight="light"
>
-
+
setCartOpen(true) }}
buttonClassName="shadow-lg"
navItemClassName="text-foreground/80 hover:text-foreground"
@@ -123,10 +134,10 @@ function ProductPageContent({ params }: ProductPageProps) {
headingFontWeight="light"
>
-
+
setCartOpen(true) }}
buttonClassName="shadow-lg"
navItemClassName="text-foreground/80 hover:text-foreground"
@@ -162,13 +173,13 @@ function ProductPageContent({ params }: ProductPageProps) {
cardStyle="solid"
primaryButtonStyle="diagonal-gradient"
secondaryButtonStyle="solid"
- headingFontWeight="light"
+ headingFontWeight="light"
>
-
+
setCartOpen(true) }}
buttonClassName="shadow-lg"
navItemClassName="text-foreground/80 hover:text-foreground"
diff --git a/src/app/shop/page.tsx b/src/app/shop/page.tsx
index f2436e2..88bfc67 100644
--- a/src/app/shop/page.tsx
+++ b/src/app/shop/page.tsx
@@ -7,6 +7,17 @@ import NavbarLayoutFloatingInline from '@/components/navbar/NavbarLayoutFloating
import ProductCatalog from "@/components/ecommerce/productCatalog/ProductCatalog";
import { useProductCatalog } from "@/hooks/useProductCatalog";
+// Define common navigation items for sub-pages to maintain consistency
+const ALL_NAV_ITEMS_SUB_PAGES = [
+ { name: "Home", id: "/" },
+ { name: "Products", id: "/products" },
+ { name: "Shop", id: "/shop" },
+ { name: "Blog", id: "/blog" },
+ { name: "About", id: "/#about" },
+ { name: "Testimonials", id: "/#testimonials" },
+ { name: "FAQs", id: "/#faqs" }
+];
+
function ShopPageContent() {
const {
products,
@@ -31,11 +42,11 @@ function ShopPageContent() {
headingFontWeight="light"
>
-