From 62704c101d17afb7f71389ef23d6183b2cd16dfa Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Wed, 14 Aug 2024 15:11:33 +0700
Subject: <iman> update self picking di product card

---
 src/lib/product/components/ProductCard.jsx | 28 ++++++++++++++++++++++++----
 1 file changed, 24 insertions(+), 4 deletions(-)

(limited to 'src/lib/product/components/ProductCard.jsx')

diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index 35e2a665..4b3f693c 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -147,9 +147,20 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
         </Link>
         <div className='p-2 sm:p-3 pb-3 text-caption-2 sm:text-body-2 leading-5'>
           {product?.manufacture?.name ? (
-            <Link href={URL.manufacture} className='mb-1'>
-              {product.manufacture.name}
-            </Link>
+            <div className='flex justify-between'>
+              <Link href={URL.manufacture} className='mb-1'>
+                <div>
+                  {product.manufacture.name}
+                </div>
+              </Link>
+              {product?.is_in_bu && (
+                <div className='bg-red-500 rounded'>
+                  <span className='p-[6px] text-xs text-white'>
+                    Click & Pickup
+                  </span>
+                </div>
+              )}
+            </div>
           ) : (
             <div>-</div>
           )}
@@ -292,9 +303,18 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
             </div>
           )}
           {product?.manufacture?.name ? (
-            <Link href={URL.manufacture} className='mb-1'>
+            <div className='flex justify-between'> 
+              <Link href={URL.manufacture} className='mb-1'>
               {product.manufacture.name}
             </Link>
+            {/* {product?.is_in_bu && (
+              <div className='bg-red-500 rounded'>
+                <span className='p-[6px] text-xs text-white'>
+                  Click & Pickup
+                </span>
+              </div>
+            )} */}
+            </div>
           ) : (
             <div>-</div>
           )}
-- 
cgit v1.2.3


From 33363a1a8dc7f4641b7b054dc72339bf53495102 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Thu, 15 Aug 2024 16:55:28 +0700
Subject: <iman> update pickup image on product card

---
 src/lib/product/components/ProductCard.jsx | 26 +++++++++++---------------
 1 file changed, 11 insertions(+), 15 deletions(-)

(limited to 'src/lib/product/components/ProductCard.jsx')

diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index 4b3f693c..a1491c7f 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -146,24 +146,20 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
           )}
         </Link>
         <div className='p-2 sm:p-3 pb-3 text-caption-2 sm:text-body-2 leading-5'>
-          {product?.manufacture?.name ? (
-            <div className='flex justify-between'>
-              <Link href={URL.manufacture} className='mb-1'>
-                <div>
-                  {product.manufacture.name}
-                </div>
-              </Link>
+          <div className='flex justify-between '>
+              {product?.manufacture?.name ? (
+                  <Link href={URL.manufacture} className='mb-1 mt-1'>
+                      {product.manufacture.name}
+                  </Link>
+              ) : (
+                <div>-</div>
+              )}
               {product?.is_in_bu && (
-                <div className='bg-red-500 rounded'>
-                  <span className='p-[6px] text-xs text-white'>
-                    Click & Pickup
-                  </span>
+                <div className=''>
+                  <Image src='/images/PICKUP-NOW.png' alt='pickup now' width={90} height={12} />
                 </div>
               )}
-            </div>
-          ) : (
-            <div>-</div>
-          )}
+          </div>
           <Link
             href={URL.product}
             className={`mb-2 !text-gray_r-12 leading-6 block line-clamp-3 h-[64px]`}
-- 
cgit v1.2.3


From 6dafc3c06566646bdf23ab1da271e337b131ccd9 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Thu, 22 Aug 2024 10:27:47 +0700
Subject: <iman> update name field

---
 src/lib/product/components/ProductCard.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/product/components/ProductCard.jsx')

diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index a1491c7f..611fb002 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -154,7 +154,7 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
               ) : (
                 <div>-</div>
               )}
-              {product?.is_in_bu && (
+              {product?.isInBu && (
                 <div className=''>
                   <Image src='/images/PICKUP-NOW.png' alt='pickup now' width={90} height={12} />
                 </div>
-- 
cgit v1.2.3


From 6111e1115ffba4ef336dfb763b3fd23e52b6668b Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 23 Aug 2024 10:50:47 +0700
Subject: <iman> update click image pickup now

---
 src/lib/product/components/ProductCard.jsx | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)

(limited to 'src/lib/product/components/ProductCard.jsx')

diff --git a/src/lib/product/components/ProductCard.jsx b/src/lib/product/components/ProductCard.jsx
index 611fb002..22ce0533 100644
--- a/src/lib/product/components/ProductCard.jsx
+++ b/src/lib/product/components/ProductCard.jsx
@@ -155,9 +155,11 @@ const ProductCard = ({ product, simpleTitle, variant = 'vertical' }) => {
                 <div>-</div>
               )}
               {product?.isInBu && (
-                <div className=''>
-                  <Image src='/images/PICKUP-NOW.png' alt='pickup now' width={90} height={12} />
-                </div>
+                <Link href='/panduan-pick-up-service' className='group'>
+                <Image src='/images/PICKUP-NOW.png' className='group-hover:scale-105 transition-transform duration-200' alt='pickup now' width={90} height={12} />
+            </Link>
+                
+                
               )}
           </div>
           <Link
-- 
cgit v1.2.3

