summaryrefslogtreecommitdiff
path: root/src/pages/index.jsx
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-06-28 03:26:38 +0000
committertrisusilo <tri.susilo@altama.co.id>2024-06-28 03:26:38 +0000
commitdef7fc2f1201286c44545e1305ca9f11eb16f3d0 (patch)
tree4c65db77b9aa28f3dd53ce514de9d918440c2887 /src/pages/index.jsx
parent98d4f9564bfba66687848b335026bddb6f4dc5b6 (diff)
parent936f7f9fb1c6951e02dd8a5f7e85fb8d39cc7e6a (diff)
Merged in promotion-program (pull request #140)
Promotion program Approved-by: trisusilo
Diffstat (limited to 'src/pages/index.jsx')
-rw-r--r--src/pages/index.jsx9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index c097530c..80e9ef0e 100644
--- a/src/pages/index.jsx
+++ b/src/pages/index.jsx
@@ -41,6 +41,11 @@ const FlashSale = dynamic(
loading: () => <FlashSaleSkeleton />,
}
);
+
+const ProgramPromotion = dynamic(() =>
+ import('@/lib/home/components/PromotionProgram')
+);
+
const BannerSection = dynamic(() =>
import('@/lib/home/components/BannerSection')
);
@@ -97,11 +102,12 @@ export default function Home() {
</div>
</div>
- <div className='my-16 flex flex-col gap-y-16'>
+ <div className='my-16 flex flex-col gap-y-8'>
<ServiceList />
<div id='flashsale'>
<PreferredBrand />
</div>
+ <ProgramPromotion/>
<FlashSale />
<PromotinProgram />
<CategoryHomeId />
@@ -126,6 +132,7 @@ export default function Home() {
</DelayRender>
<DelayRender renderAfter={600}>
<FlashSale />
+ <ProgramPromotion/>
</DelayRender>
<DelayRender renderAfter={600}>
<PromotinProgram />