function Pricing() { const { t } = useLang(); const tiers = [ { name: t('price.1.name'), cn: t('price.1.cn'), desc: t('price.1.desc'), currency: 'RM', num: '2,800', per: t('price.1.per'), feat: [t('price.1.f.1'), t('price.1.f.2'), t('price.1.f.3'), t('price.1.f.4'), t('price.1.f.5'), t('price.1.f.6'), t('price.1.f.7'), t('price.1.f.8')], cta: t('price.1.cta'), }, { name: t('price.2.name'), cn: t('price.2.cn'), featured: true, ribbon: t('price.2.ribbon'), desc: t('price.2.desc'), currency: 'RM', num: '6,800', per: t('price.2.per'), feat: [t('price.2.f.1'), t('price.2.f.2'), t('price.2.f.3'), t('price.2.f.4'), t('price.2.f.5'), t('price.2.f.6'), t('price.2.f.7'), t('price.2.f.8'), t('price.2.f.9')], cta: t('price.2.cta'), }, { name: t('price.3.name'), cn: t('price.3.cn'), desc: t('price.3.desc'), currency: t('price.3.cur'), num: '12k', per: t('price.3.per'), feat: [t('price.3.f.1'), t('price.3.f.2'), t('price.3.f.3'), t('price.3.f.4'), t('price.3.f.5'), t('price.3.f.6'), t('price.3.f.7')], cta: t('price.3.cta'), }, ]; return (
{t('price.kicker')}{t('price.kicker.right')}

{t('price.lead')}

{tiers.map((tier,i) => (
{tier.ribbon &&
{tier.ribbon}
}
{tier.name}
{tier.cn}
{tier.currency} {tier.num} {tier.per}
{tier.desc}
    {tier.feat.map((f, fi) =>
  • {f}
  • )}
{tier.cta}
))}
); } window.Pricing = Pricing;