Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / components / containers / offers / operations / blackFridayVPN2024Free / configuration.ts
blob1b01a77d94c5034b6280d13cd7d3e10627bcb942
1 import { c } from 'ttag';
3 import { FeatureCode } from '@proton/features';
4 import { PLANS, PLAN_NAMES } from '@proton/payments';
5 import { COUPON_CODES, CYCLE } from '@proton/shared/lib/constants';
7 import { getVPNFeatures } from '../../helpers/offerCopies';
8 import type { OfferConfig } from '../../interface';
9 import Layout from './Layout';
11 const config: OfferConfig = {
12     ID: 'black-friday-2024-vpn-free',
13     autoPopUp: 'one-time',
14     featureCode: FeatureCode.OfferBlackFriday2024VPNFree,
15     topButton: {
16         shape: 'ghost',
17         variant: 'bf-2024',
18         gradient: false,
19         icon: 'percent',
20         iconSize: 4,
21         // translator: translate "Black Friday" only if it's problematic in your language (offensive/unknown/etc.)
22         getCTAContent: () => c('BF2024: Action (top button in header)').t`Black Friday`,
23     },
24     hideDealPriceInfos: true,
25     deals: [
26         {
27             ref: 'bf_24_vpn_free-modal-vpn_1',
28             dealName: PLAN_NAMES[PLANS.VPN2024],
29             planIDs: {
30                 [PLANS.VPN2024]: 1,
31             },
32             cycle: CYCLE.MONTHLY,
33             popular: 1,
34             buttonSize: 'large',
35             couponCode: COUPON_CODES.BLACK_FRIDAY_2024_MONTH,
36             features: getVPNFeatures,
37         },
38     ],
39     layout: Layout,
42 export default config;