summaryrefslogtreecommitdiff
path: root/src-migrate/modules/promo/components/FlashSale.tsx
diff options
context:
space:
mode:
authorit-fixcomart <it@fixcomart.co.id>2024-07-10 16:23:35 +0700
committerit-fixcomart <it@fixcomart.co.id>2024-07-10 16:23:35 +0700
commita8dcd4d3d14d9caf64063f3ec586125238727794 (patch)
tree943ad4a0bcd25153ace381075f95ab0aec4a2edf /src-migrate/modules/promo/components/FlashSale.tsx
parent2e3c726bc8217f3960cfecec44b81303b03de72b (diff)
parentffaf9994e8c47c5a32a2091b7d0949302528ee2e (diff)
Merge branch 'feature/all-promotion' into development
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..16cb7647
--- /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'>Bayar Setengahnya!</h1>
+ <FlashSale/>
+ </>
+ )
+ }
+
+ export default FlashSalePromo \ No newline at end of file