pagination page_size updated , breadcrumb color changed , sub link text changed (ru) on navbar
This commit is contained in:
@@ -161,28 +161,28 @@ export function Breadcrumb({
|
||||
className="flex items-center gap-2"
|
||||
>
|
||||
{index > 0 && (
|
||||
<ChevronRight className="w-4 h-4 text-gray-400 dark:text-gray-600" />
|
||||
<ChevronRight className="w-4 h-4 text-gray-200" />
|
||||
)}
|
||||
|
||||
{index === 0 ? (
|
||||
// Home link with icon
|
||||
<Link
|
||||
href={item.href}
|
||||
className="flex items-center gap-1.5 text-gray-600 hover:text-red-600 dark:text-gray-400 dark:hover:text-red-500 transition-colors duration-200"
|
||||
className="flex items-center gap-1.5 text-gray-200 hover:text-red-600 transition-colors duration-200"
|
||||
>
|
||||
<Home className="w-4 h-4" />
|
||||
<span className="hidden sm:inline">{item.label}</span>
|
||||
</Link>
|
||||
) : item.isLast ? (
|
||||
// Last item (current page)
|
||||
<span className="text-gray-900 dark:text-white font-medium line-clamp-1">
|
||||
<span className=" text-gray-200 font-medium line-clamp-1">
|
||||
{item.label}
|
||||
</span>
|
||||
) : (
|
||||
// Regular link
|
||||
<Link
|
||||
href={item.href}
|
||||
className="text-gray-600 hover:text-red-600 dark:text-gray-400 dark:hover:text-red-500 transition-colors duration-200 line-clamp-1"
|
||||
className="text-gray-200 hover:text-red-600 transition-colors duration-200 line-clamp-1"
|
||||
>
|
||||
{item.label}
|
||||
</Link>
|
||||
|
||||
@@ -94,7 +94,7 @@ export default function MainProduct() {
|
||||
}
|
||||
|
||||
return (
|
||||
<div >
|
||||
<div className="space-y-4">
|
||||
{/* ✅ isLoading da overlay — list o'rnini saqlab, ustidan opacity */}
|
||||
<div
|
||||
className={`grid lg:grid-cols-3 sm:grid-cols-2 grid-cols-1 gap-5 transition-opacity ${isLoading ? "opacity-50 pointer-events-none" : "opacity-100"}`}
|
||||
|
||||
Reference in New Issue
Block a user