diff --git a/app/[locale]/about/baza/page.tsx b/app/[locale]/about/baza/page.tsx index b27f0b7..c80009c 100644 --- a/app/[locale]/about/baza/page.tsx +++ b/app/[locale]/about/baza/page.tsx @@ -1,5 +1,5 @@ -import NormativBazaPage from "@/components/pages/about/aboutDetail/baza"; -import { Statistics } from "@/components/pages/home"; +import NormativBazaPage from "@/pages/about/aboutDetail/baza"; +import { Statistics } from "@/pages/home"; export default function Baza() { return ( diff --git a/app/[locale]/about/layout.tsx b/app/[locale]/about/layout.tsx index 8a591cc..c42e3e9 100644 --- a/app/[locale]/about/layout.tsx +++ b/app/[locale]/about/layout.tsx @@ -1,4 +1,4 @@ -import { AboutBanner } from "@/components/pages/about"; +import { AboutBanner } from "@/pages/about"; import React from "react"; export default function AboutLayout({ diff --git a/app/[locale]/about/notePP/page.tsx b/app/[locale]/about/notePP/page.tsx index fe4a2cf..2476bfe 100644 --- a/app/[locale]/about/notePP/page.tsx +++ b/app/[locale]/about/notePP/page.tsx @@ -1,5 +1,5 @@ import { useTranslations } from "next-intl"; -import { Guides } from "@/components/pages/about/aboutDetail/guides"; +import { Guides } from "@/pages/about/aboutDetail/guides"; export default function NotePPPage() { const t = useTranslations(); diff --git a/app/[locale]/about/page.tsx b/app/[locale]/about/page.tsx index c8bf8bb..a42dd99 100644 --- a/app/[locale]/about/page.tsx +++ b/app/[locale]/about/page.tsx @@ -1,5 +1,5 @@ -import { Story, WhyChooseUs } from "@/components/pages/about"; -import { Statistics } from "@/components/pages/home"; +import { Story, WhyChooseUs } from "@/pages/about"; +import { Statistics } from "@/pages/home"; export default function Page() { return ( diff --git a/app/[locale]/about/sertificate/page.tsx b/app/[locale]/about/sertificate/page.tsx index 86bcaa4..61c7ffb 100644 --- a/app/[locale]/about/sertificate/page.tsx +++ b/app/[locale]/about/sertificate/page.tsx @@ -1,6 +1,6 @@ "use client"; -import { CertCardSkeleton } from "@/components/pages/about/aboutDetail/loading/loading"; -import { CertCard } from "@/components/pages/about/aboutDetail/sertificateCard"; +import { CertCardSkeleton } from "@/pages/about/aboutDetail/loading/loading"; +import { CertCard } from "@/pages/about/aboutDetail/sertificateCard"; import PaginationLite from "@/components/paginationUI"; import { certs } from "@/lib/demoData"; import httpClient from "@/request/api"; diff --git a/app/[locale]/catalog_page/page.tsx b/app/[locale]/catalog_page/page.tsx index bf053ce..d13149c 100644 --- a/app/[locale]/catalog_page/page.tsx +++ b/app/[locale]/catalog_page/page.tsx @@ -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 ( diff --git a/app/[locale]/catalog_page/products/[slug]/page.tsx b/app/[locale]/catalog_page/products/[slug]/page.tsx index 3807649..ccdb582 100644 --- a/app/[locale]/catalog_page/products/[slug]/page.tsx +++ b/app/[locale]/catalog_page/products/[slug]/page.tsx @@ -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"; diff --git a/app/[locale]/catalog_page/products/page.tsx b/app/[locale]/catalog_page/products/page.tsx index 31f8b03..a2b1ae9 100644 --- a/app/[locale]/catalog_page/products/page.tsx +++ b/app/[locale]/catalog_page/products/page.tsx @@ -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 (
- {t("category")} -
-{item.name}
-Yuklanmoqda...
- ) : subCategoryBack && subCategoryBack.length > 0 ? ( - subCategoryBack.map((subItem: any) => ( -- {subItem.name} -
-- {t("subcategory_not_found")} -
- )} -- {t("section")} -
-{item.name}
-