From f51d3946be44400b9f4b90fe03b79226522d7369 Mon Sep 17 00:00:00 2001 From: Rafi Zadanly Date: Thu, 29 Dec 2022 09:12:14 +0700 Subject: no message --- src/pages/shop/product/[slug].js | 80 +++++++++++++++++++++++----------------- 1 file changed, 46 insertions(+), 34 deletions(-) (limited to 'src/pages') diff --git a/src/pages/shop/product/[slug].js b/src/pages/shop/product/[slug].js index b76cdee9..16763ab7 100644 --- a/src/pages/shop/product/[slug].js +++ b/src/pages/shop/product/[slug].js @@ -11,6 +11,7 @@ import { createOrUpdateItemCart } from "../../../helpers/cart"; import toast from "react-hot-toast"; import Footer from "../../../components/Footer"; import Image from "../../../components/Image"; +import LineDivider from "../../../components/LineDivider"; export async function getServerSideProps( context ) { const { slug } = context.query; @@ -113,7 +114,8 @@ export default function ProductDetail({ product }) { alt={product.name} className="border-b border-gray_r-6 w-full h-[300px] object-contain object-center bg-white" /> -
+ +
{product.manufacture.name ?? '-'} @@ -135,8 +137,12 @@ export default function ProductDetail({ product }) { ) : (

Dapatkan harga terbaik, hubungi kami.

)} +
+ + -
+
+