1 import { c } from 'ttag';
3 import { FeatureCode } from '@proton/features';
4 import { PLANS, PLAN_NAMES } from '@proton/payments';
5 import { CYCLE } from '@proton/shared/lib/constants';
7 import { getMailPlusInboxFeatures, getUnlimitedFeatures } from '../../helpers/offerCopies';
8 import type { OfferConfig } from '../../interface';
9 import Layout from './Layout';
10 import bannerImage from './upsell_mail-plus-free-trial.png';
11 import bannerImage2x from './upsell_mail-plus-free-trial@2x.png';
13 const config: OfferConfig = {
14 ID: 'mail-trial-2023',
15 featureCode: FeatureCode.OfferMailTrial2023,
18 ref: 'plus_referral_trial-modal-m1',
19 dealName: PLAN_NAMES[PLANS.MAIL],
24 features: getMailPlusInboxFeatures,
25 getCTAContent: () => c('Action').t`Upgrade now`,
28 ref: 'plus_referral_trial-modal-u2',
29 dealName: PLAN_NAMES[PLANS.BUNDLE],
33 cycle: CYCLE.TWO_YEARS,
35 features: getUnlimitedFeatures,
36 getCTAContent: () => c('Action').t`Upgrade now`,
39 ref: 'plus_referral_trial-modal-u1',
40 dealName: PLAN_NAMES[PLANS.BUNDLE],
45 features: getUnlimitedFeatures,
46 getCTAContent: () => c('Action').t`Upgrade now`,
52 getCTAContent: () => c('Action').t`Upgrade`,
60 export default config;