summaryrefslogtreecommitdiff
path: root/src/pages/index.jsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-06-07 17:08:09 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-06-07 17:08:09 +0700
commitc88d98f06a6301bad6dd6d2e58b4908d8562638c (patch)
tree282633b855acf235fe1d0d78b67d8cd46e032c03 /src/pages/index.jsx
parent6ac1792ee37e5a5a9438f61e708966c944b61914 (diff)
<iman> add promotion program
Diffstat (limited to 'src/pages/index.jsx')
-rw-r--r--src/pages/index.jsx7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/pages/index.jsx b/src/pages/index.jsx
index c097530c..ddc41cbe 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')
);
@@ -103,6 +108,7 @@ export default function Home() {
<PreferredBrand />
</div>
<FlashSale />
+ <ProgramPromotion/>
<PromotinProgram />
<CategoryHomeId />
<BannerSection />
@@ -126,6 +132,7 @@ export default function Home() {
</DelayRender>
<DelayRender renderAfter={600}>
<FlashSale />
+ <ProgramPromotion/>
</DelayRender>
<DelayRender renderAfter={600}>
<PromotinProgram />