summaryrefslogtreecommitdiff
path: root/src-migrate/modules/promo/components/PromoList.jsx
blob: ed758fbcdc8b93c26e9371cf1fe95e23dd8dc239 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
import Image from 'next/image';
import Link from '@/core/components/elements/Link/Link';
import ProductPromoCard from '../../../../src-migrate/modules/product-promo/components/Card'

const PromoList = ({ selectedPromo }) => {
  let title = '';
  
  if (selectedPromo === 'Bundling') {
    title = 'Kombinasi Kilat Pilihan Kami!';
  } else if (selectedPromo === 'Loading') {
    title = 'Belanja Borong Pilihan Kami!';
  } else if (selectedPromo === 'Merchandise') {
    title = 'Gratis Merchandise Spesial Indoteknik';
  }

  return (
    <div>
      <h1 className='text-h-sm md:text-h-lg font-semibold mb-4'>{title}</h1>
      <div>DISINI CARD {selectedPromo}</div>
    </div>
  );
}

export default PromoList;