diff options
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/index.js | 10 | ||||
| -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 |
5 files changed, 22 insertions, 0 deletions
diff --git a/src/pages/index.js b/src/pages/index.js index d110e7de..da23f9cd 100644 --- a/src/pages/index.js +++ b/src/pages/index.js @@ -12,6 +12,7 @@ import ProductSlider from "../components/product/ProductSlider"; import Layout from "../components/Layout"; import axios from "axios"; import ManufactureCard from "../components/ManufactureCard"; +import Footer from "../components/Footer"; export async function getServerSideProps() { const heroBanners = await apiOdoo('GET', `/api/v1/banner?type=index-a-1`); @@ -77,6 +78,15 @@ export default function Home({ heroBanners }) { <h2 className="mb-3">Produk Ready Stock</h2> <ProductSlider products={readyStockProducts} /> </div> + + <div className="px-4"> + <h5 className="h2 mb-2">Platform Belanja B2B Alat Teknik & Industri di Indonesia</h5> + <p className="text-gray_r-11 leading-6 text-caption-1 mb-4"> + Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est + </p> + </div> + + <Footer /> </Layout> </> ) 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> </> ) |
