diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-06-20 15:23:58 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-06-20 15:23:58 +0700 |
| commit | 1cf754b4d8da1aa28700ffc3dad67081f6daf9a5 (patch) | |
| tree | 34ef5c71475bded561d86e23304edbc5e0c01982 /src/pages | |
| parent | e4891851608a43c0dee628ae8b0e6bd1324be4eb (diff) | |
<iman> update filter promotion-program
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/shop/promo/[slug].tsx | 35 |
1 files changed, 21 insertions, 14 deletions
diff --git a/src/pages/shop/promo/[slug].tsx b/src/pages/shop/promo/[slug].tsx index dbf8d908..bd69c071 100644 --- a/src/pages/shop/promo/[slug].tsx +++ b/src/pages/shop/promo/[slug].tsx @@ -372,21 +372,28 @@ export default function PromoDetail() { <div className='container mx-auto flex mb-3 flex-col'> <div className='w-full pl-6'> <h1 className='text-2xl mb-2 font-semibold'>Promo {whatPromo}</h1> - <div className=' w-full h-full flex flex-col '> - <ProductFilterDesktop - brands={brands || []} - categories={categories || []} - prefixUrl={'/shop/promo'} - // defaultBrand={null} - /> + <div className=' w-full h-full flex flex-row items-center '> + + <div className='detail-filter w-1/2 flex justify-start items-center mt-4'> + + <FilterChoicesComponent + brandValues={brandValues} + categoryValues={categoryValues} + priceFrom={priceFrom} + priceTo={priceTo} + handleDeleteFilter={handleDeleteFilter} + /> + </div> + <div className='Filter w-1/2 flex flex-col'> + + <ProductFilterDesktop + brands={brands || []} + categories={categories || []} + prefixUrl={'/shop/promo'} + // defaultBrand={null} + /> + </div> </div> - <FilterChoicesComponent - brandValues={brandValues} - categoryValues={categoryValues} - priceFrom={priceFrom} - priceTo={priceTo} - handleDeleteFilter={handleDeleteFilter} - /> {loading ? ( <div className='container flex justify-center my-4'> <LogoSpinner width={48} height={48} /> |
