summaryrefslogtreecommitdiff
path: root/src-migrate/modules/promo/components/FlashSale.tsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-06-21 15:31:12 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-06-21 15:31:12 +0700
commit3ada88f0faf901e05bd56ecff8c4bcb209c06787 (patch)
tree789d149b4c7bf6822ab13d38668d6f16b6354a45 /src-migrate/modules/promo/components/FlashSale.tsx
parent7b08c9358888148bf6f6c2c7145d75e466550298 (diff)
<iman> update all-promotion
Diffstat (limited to 'src-migrate/modules/promo/components/FlashSale.tsx')
-rw-r--r--src-migrate/modules/promo/components/FlashSale.tsx21
1 files changed, 21 insertions, 0 deletions
diff --git a/src-migrate/modules/promo/components/FlashSale.tsx b/src-migrate/modules/promo/components/FlashSale.tsx
new file mode 100644
index 00000000..dac0365c
--- /dev/null
+++ b/src-migrate/modules/promo/components/FlashSale.tsx
@@ -0,0 +1,21 @@
+import dynamic from "next/dynamic";
+import React from "react";
+import { FlashSaleSkeleton } from "@/lib/flashSale/skeleton/FlashSaleSkeleton";
+
+const FlashSale = dynamic(
+ () => import('@/lib/flashSale/components/FlashSale'),
+ {
+ loading: () => <FlashSaleSkeleton />,
+ }
+ );
+
+ const FlashSalePromo = ()=> {
+ return(
+ <>
+ <h1 className='text-h-sm md:text-h-lg font-semibold py-4'>Bayar Setengahnya!</h1>
+ <FlashSale/>
+ </>
+ )
+ }
+
+ export default FlashSalePromo \ No newline at end of file