From 2babb32e6ac6961c98919fa84443dae988201863 Mon Sep 17 00:00:00 2001 From: "nabijonovdavronbek619@gmail.com" Date: Tue, 3 Mar 2026 14:46:35 +0500 Subject: [PATCH] pagination page_size updated , breadcrumb color changed , sub link text changed (ru) on navbar --- app/[locale]/catalog_page/products/[slug]/page.tsx | 2 +- components/breadCrumb.tsx | 8 ++++---- components/pages/products/product/mianProduct.tsx | 2 +- messages/ru.json | 2 +- request/links.ts | 4 ++-- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/app/[locale]/catalog_page/products/[slug]/page.tsx b/app/[locale]/catalog_page/products/[slug]/page.tsx index 3e7992c..3807649 100644 --- a/app/[locale]/catalog_page/products/[slug]/page.tsx +++ b/app/[locale]/catalog_page/products/[slug]/page.tsx @@ -62,7 +62,7 @@ export default function SlugPage() { return (
-
+
{/* Main Product Section */} diff --git a/components/breadCrumb.tsx b/components/breadCrumb.tsx index 4c15891..ca2a2a2 100644 --- a/components/breadCrumb.tsx +++ b/components/breadCrumb.tsx @@ -161,28 +161,28 @@ export function Breadcrumb({ className="flex items-center gap-2" > {index > 0 && ( - + )} {index === 0 ? ( // Home link with icon {item.label} ) : item.isLast ? ( // Last item (current page) - + {item.label} ) : ( // Regular link {item.label} diff --git a/components/pages/products/product/mianProduct.tsx b/components/pages/products/product/mianProduct.tsx index 4de98e3..abb0b8e 100644 --- a/components/pages/products/product/mianProduct.tsx +++ b/components/pages/products/product/mianProduct.tsx @@ -94,7 +94,7 @@ export default function MainProduct() { } return ( -
+
{/* ✅ isLoading da overlay — list o'rnini saqlab, ustidan opacity */}
{ - let link = "product/"; - if (id) link += `?category=${id}`; + let link = "product/?page_size=12"; + if (id) link += `&category=${id}`; if (currentPage) link += `&page=${currentPage}`; return link;