diff options
Diffstat (limited to 'src/pages/shop')
| -rw-r--r-- | src/pages/shop/brands.js | 3 | ||||
| -rw-r--r-- | src/pages/shop/brands/[slug].js | 3 | ||||
| -rw-r--r-- | src/pages/shop/product/[slug].js | 3 | ||||
| -rw-r--r-- | src/pages/shop/search.js | 3 |
4 files changed, 12 insertions, 0 deletions
diff --git a/src/pages/shop/brands.js b/src/pages/shop/brands.js index af9ab59c..d82fc31d 100644 --- a/src/pages/shop/brands.js +++ b/src/pages/shop/brands.js @@ -5,6 +5,7 @@ import { useEffect, useState } from "react"; import Spinner from "../../components/Spinner"; import Layout from "../../components/Layout"; import ManufactureCard from "../../components/ManufactureCard"; +import Footer from "../../components/Footer"; export async function getServerSideProps() { let initialManufactures = await apiOdoo('GET', '/api/v1/manufacture?limit=31'); @@ -70,6 +71,8 @@ export default function Brands({ initialManufactures }) { ))} </InfiniteScroll> </div> + + <Footer /> </Layout> </> ) diff --git a/src/pages/shop/brands/[slug].js b/src/pages/shop/brands/[slug].js index a2f05cfa..8e67ef1e 100644 --- a/src/pages/shop/brands/[slug].js +++ b/src/pages/shop/brands/[slug].js @@ -1,6 +1,7 @@ import axios from "axios"; import { useEffect, useState } from "react"; import Filter from "../../../components/Filter"; +import Footer from "../../../components/Footer"; import Header from "../../../components/Header"; import Layout from "../../../components/Layout"; import Pagination from "../../../components/Pagination"; @@ -125,6 +126,8 @@ export default function BrandDetail({ <Pagination pageCount={pageCount} currentPage={parseInt(page)} url={route()} /> </div> </div> + + <Footer /> </Layout> </> ) diff --git a/src/pages/shop/product/[slug].js b/src/pages/shop/product/[slug].js index 2b54a1e0..5e0c8853 100644 --- a/src/pages/shop/product/[slug].js +++ b/src/pages/shop/product/[slug].js @@ -11,6 +11,7 @@ import ProductSlider from "../../../components/product/ProductSlider"; import Layout from "../../../components/Layout"; import { createOrUpdateItemCart } from "../../../helpers/cart"; import toast from "react-hot-toast"; +import Footer from "../../../components/Footer"; export async function getServerSideProps( context ) { const { slug } = context.query; @@ -195,6 +196,8 @@ export default function ProductDetail({ product }) { <ProductSlider products={similarProducts}/> </div> </div> + + <Footer /> </Layout> </> ); diff --git a/src/pages/shop/search.js b/src/pages/shop/search.js index a0a916fc..db93d2cb 100644 --- a/src/pages/shop/search.js +++ b/src/pages/shop/search.js @@ -6,6 +6,7 @@ import ProductCard from "../../components/ProductCard"; import FilterIcon from "../../icons/filter.svg"; import { useEffect, useState } from "react"; import Filter from "../../components/Filter"; +import Footer from "../../components/Footer"; export async function getServerSideProps(context) { const { @@ -116,6 +117,8 @@ export default function ShopSearch({ <Pagination pageCount={pageCount} currentPage={parseInt(page)} url={route()} /> </div> </div> + + <Footer /> </Layout> </> ) |
