summaryrefslogtreecommitdiff
path: root/src-migrate/modules/promo/components/FlashSale.tsx
blob: 16cb76478e78074ae551bcec9fc0f490ac6063de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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