From 3f849355048e5c280a35a5747577e5296b90e9fd Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Thu, 25 Jan 2024 15:27:27 +0700
Subject: Add all promo page

---
 src-migrate/pages/shop/promo/index.tsx | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 src-migrate/pages/shop/promo/index.tsx

(limited to 'src-migrate/pages/shop/promo/index.tsx')

diff --git a/src-migrate/pages/shop/promo/index.tsx b/src-migrate/pages/shop/promo/index.tsx
new file mode 100644
index 00000000..df2e9dcb
--- /dev/null
+++ b/src-migrate/pages/shop/promo/index.tsx
@@ -0,0 +1,17 @@
+import React from 'react'
+import Hero from '~/modules/promo/components/Hero'
+import Voucher from '~/modules/promo/components/Voucher'
+
+const PromoPage = () => {
+  return (
+    <>
+      <Hero />
+
+      <div className='h-10' />
+
+      <Voucher />
+    </>
+  )
+}
+
+export default PromoPage
\ No newline at end of file
-- 
cgit v1.2.3


From 8d8c43d90373aab6238773e291a48d65d55c52a2 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Sat, 17 Feb 2024 10:23:23 +0700
Subject: Add voucher section

---
 src-migrate/pages/shop/promo/index.tsx | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

(limited to 'src-migrate/pages/shop/promo/index.tsx')

diff --git a/src-migrate/pages/shop/promo/index.tsx b/src-migrate/pages/shop/promo/index.tsx
index df2e9dcb..f293bbe3 100644
--- a/src-migrate/pages/shop/promo/index.tsx
+++ b/src-migrate/pages/shop/promo/index.tsx
@@ -1,15 +1,20 @@
 import React from 'react'
+import { LazyLoadComponent } from 'react-lazy-load-image-component'
 import Hero from '~/modules/promo/components/Hero'
 import Voucher from '~/modules/promo/components/Voucher'
 
 const PromoPage = () => {
   return (
     <>
-      <Hero />
+      <LazyLoadComponent>
+        <Hero />
+      </LazyLoadComponent>
 
       <div className='h-10' />
 
-      <Voucher />
+      <LazyLoadComponent>
+        <Voucher />
+      </LazyLoadComponent>
     </>
   )
 }
-- 
cgit v1.2.3


From 040657403a01205b22e1028d8ebea971f5df9ac5 Mon Sep 17 00:00:00 2001
From: "HATEC\\SPVDEV001" <tri.susilo@altama.co.id>
Date: Tue, 4 Jun 2024 13:28:20 +0700
Subject: promo line

---
 src-migrate/pages/shop/promo/index.tsx | 7 +++++++
 1 file changed, 7 insertions(+)

(limited to 'src-migrate/pages/shop/promo/index.tsx')

diff --git a/src-migrate/pages/shop/promo/index.tsx b/src-migrate/pages/shop/promo/index.tsx
index f293bbe3..133be6df 100644
--- a/src-migrate/pages/shop/promo/index.tsx
+++ b/src-migrate/pages/shop/promo/index.tsx
@@ -1,6 +1,7 @@
 import React from 'react'
 import { LazyLoadComponent } from 'react-lazy-load-image-component'
 import Hero from '~/modules/promo/components/Hero'
+import PromotionProgram from '~/modules/promo/components/PromotinProgram'
 import Voucher from '~/modules/promo/components/Voucher'
 
 const PromoPage = () => {
@@ -12,6 +13,12 @@ const PromoPage = () => {
 
       <div className='h-10' />
 
+      <LazyLoadComponent>
+        <PromotionProgram/>
+      </LazyLoadComponent>
+      
+      <div className='h-10' />
+
       <LazyLoadComponent>
         <Voucher />
       </LazyLoadComponent>
-- 
cgit v1.2.3


From 208b234320b6c42491a4e87a1c3db3abab9c1715 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 21 Jun 2024 10:52:28 +0700
Subject: <iman> update all-promotion

---
 src-migrate/pages/shop/promo/index.tsx | 12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

(limited to 'src-migrate/pages/shop/promo/index.tsx')

diff --git a/src-migrate/pages/shop/promo/index.tsx b/src-migrate/pages/shop/promo/index.tsx
index 133be6df..5fdd80aa 100644
--- a/src-migrate/pages/shop/promo/index.tsx
+++ b/src-migrate/pages/shop/promo/index.tsx
@@ -1,10 +1,13 @@
-import React from 'react'
+import dynamic from 'next/dynamic'
+import React, { useState } from 'react'
 import { LazyLoadComponent } from 'react-lazy-load-image-component'
 import Hero from '~/modules/promo/components/Hero'
 import PromotionProgram from '~/modules/promo/components/PromotinProgram'
 import Voucher from '~/modules/promo/components/Voucher'
+const PromoList = dynamic(() => import('../../../modules/promo/components/PromoList'));
 
 const PromoPage = () => {
+  const [selectedPromo, setSelectedPromo] = useState('Bundling');
   return (
     <>
       <LazyLoadComponent>
@@ -14,9 +17,12 @@ const PromoPage = () => {
       <div className='h-10' />
 
       <LazyLoadComponent>
-        <PromotionProgram/>
+      <PromotionProgram 
+                selectedPromo={selectedPromo} 
+                onSelectPromo={setSelectedPromo} 
+            />
       </LazyLoadComponent>
-      
+      <PromoList selectedPromo={selectedPromo} />
       <div className='h-10' />
 
       <LazyLoadComponent>
-- 
cgit v1.2.3


From 3ada88f0faf901e05bd56ecff8c4bcb209c06787 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Fri, 21 Jun 2024 15:31:12 +0700
Subject: <iman> update all-promotion

---
 src-migrate/pages/shop/promo/index.tsx | 19 ++++++++++++-------
 1 file changed, 12 insertions(+), 7 deletions(-)

(limited to 'src-migrate/pages/shop/promo/index.tsx')

diff --git a/src-migrate/pages/shop/promo/index.tsx b/src-migrate/pages/shop/promo/index.tsx
index 5fdd80aa..d1d6d70a 100644
--- a/src-migrate/pages/shop/promo/index.tsx
+++ b/src-migrate/pages/shop/promo/index.tsx
@@ -4,8 +4,11 @@ import { LazyLoadComponent } from 'react-lazy-load-image-component'
 import Hero from '~/modules/promo/components/Hero'
 import PromotionProgram from '~/modules/promo/components/PromotinProgram'
 import Voucher from '~/modules/promo/components/Voucher'
+import FlashSale from '../../../modules/promo/components/FlashSale'
 const PromoList = dynamic(() => import('../../../modules/promo/components/PromoList'));
 
+
+
 const PromoPage = () => {
   const [selectedPromo, setSelectedPromo] = useState('Bundling');
   return (
@@ -14,16 +17,18 @@ const PromoPage = () => {
         <Hero />
       </LazyLoadComponent>
 
-      <div className='h-10' />
 
       <LazyLoadComponent>
-      <PromotionProgram 
-                selectedPromo={selectedPromo} 
-                onSelectPromo={setSelectedPromo} 
-            />
+        <PromotionProgram 
+                  selectedPromo={selectedPromo} 
+                  onSelectPromo={setSelectedPromo} 
+              />
+        <PromoList selectedPromo={selectedPromo} />
+      </LazyLoadComponent>
+    
+      <LazyLoadComponent>
+        <FlashSale />
       </LazyLoadComponent>
-      <PromoList selectedPromo={selectedPromo} />
-      <div className='h-10' />
 
       <LazyLoadComponent>
         <Voucher />
-- 
cgit v1.2.3


From bfeb27c25e416db41e211de54e7f7d0cac4ad792 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Mon, 24 Jun 2024 09:13:24 +0700
Subject: <iman> update all promotion add zustand

---
 src-migrate/pages/shop/promo/index.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src-migrate/pages/shop/promo/index.tsx')

diff --git a/src-migrate/pages/shop/promo/index.tsx b/src-migrate/pages/shop/promo/index.tsx
index d1d6d70a..7c4df2c1 100644
--- a/src-migrate/pages/shop/promo/index.tsx
+++ b/src-migrate/pages/shop/promo/index.tsx
@@ -29,7 +29,7 @@ const PromoPage = () => {
       <LazyLoadComponent>
         <FlashSale />
       </LazyLoadComponent>
-
+      <h1 className='h-4'></h1>
       <LazyLoadComponent>
         <Voucher />
       </LazyLoadComponent>
-- 
cgit v1.2.3


From 795e774bfcf19e474ec4f4158856da0d1629bc3d Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Wed, 24 Jul 2024 10:14:46 +0700
Subject: <iman> update all promotion

---
 src-migrate/pages/shop/promo/index.tsx | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

(limited to 'src-migrate/pages/shop/promo/index.tsx')

diff --git a/src-migrate/pages/shop/promo/index.tsx b/src-migrate/pages/shop/promo/index.tsx
index 7c4df2c1..febe31a4 100644
--- a/src-migrate/pages/shop/promo/index.tsx
+++ b/src-migrate/pages/shop/promo/index.tsx
@@ -16,8 +16,6 @@ const PromoPage = () => {
       <LazyLoadComponent>
         <Hero />
       </LazyLoadComponent>
-
-
       <LazyLoadComponent>
         <PromotionProgram 
                   selectedPromo={selectedPromo} 
@@ -29,7 +27,7 @@ const PromoPage = () => {
       <LazyLoadComponent>
         <FlashSale />
       </LazyLoadComponent>
-      <h1 className='h-4'></h1>
+      <h1 className='h-1'></h1>
       <LazyLoadComponent>
         <Voucher />
       </LazyLoadComponent>
-- 
cgit v1.2.3

