file name and location updayed for better be

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-03-07 16:31:18 +05:00
parent b838025ab0
commit 809438735f
82 changed files with 87 additions and 470 deletions

View File

@@ -1,7 +1,7 @@
import { Breadcrumb } from "@/components/breadCrumb";
import Catalog from "@/components/pages/home/blog/catalog";
import { ProductBanner } from "@/components/pages/products";
import { MainSubCategory } from "@/components/pages/subCategory";
import Catalog from "@/pages/home/blog/catalog";
import { ProductBanner } from "@/pages/products";
import { MainSubCategory } from "@/pages/subCategory";
export default function Page() {
return (

View File

@@ -1,12 +1,12 @@
"use client";
import { Features, RightSide, SliderComp } from "@/components/pages/products";
import { useProductPageInfo } from "@/store/useProduct";
import { Features, RightSide, SliderComp } from "@/pages/products";
import { useProductPageInfo } from "@/zustand/useProduct";
import { useQuery } from "@tanstack/react-query";
import httpClient from "@/request/api";
import { endPoints } from "@/request/links";
import { LoadingSkeleton } from "@/components/pages/products/slug/loading";
import { EmptyState } from "@/components/pages/products/slug/empty";
import { LoadingSkeleton } from "@/pages/products/slug/loading";
import { EmptyState } from "@/pages/products/slug/empty";
import { useEffect } from "react";
import { Breadcrumb } from "@/components/breadCrumb";
import { useSearchParams } from "next/navigation";

View File

@@ -1,17 +1,15 @@
"use client";
import { Breadcrumb } from "@/components/breadCrumb";
import { ProductBanner, Products } from "@/components/pages/products";
import FilterCatalog from "@/components/pages/products/filter/catalog/filterCatalog";
import { useSubCategory } from "@/store/useSubCategory";
import { ProductBanner, Products } from "@/pages/products";
import { useSubCategory } from "@/zustand/useSubCategory";
export default function Page() {
const subCategory = useSubCategory((state) => state.subCategory);
return (
<div className="bg-[#1e1d1c] pb-30">
<ProductBanner />
{/* <FilterCatalog /> */}
<div className="max-w-300 w-full mx-auto pt-8">
<Breadcrumb customLabels={{ subCategory: subCategory.name}} />
<Breadcrumb customLabels={{ subCategory: subCategory.name }} />
</div>
<Products />
</div>

View File

@@ -1,6 +1,6 @@
import { Breadcrumb } from "@/components/breadCrumb";
import { ProductBanner } from "@/components/pages/products";
import { MainSubCategory } from "@/components/pages/subCategory";
import { ProductBanner } from "@/pages/products";
import { MainSubCategory } from "@/pages/subCategory";
export default function Page() {
return (