Merge branch 'docs-header-fix' into 'main'
[ProtonMail-WebClient.git] / packages / components / containers / offers / operations / passFamilyPlan2024Yearly / configuration.ts
blobffe7e969d5859e153630bd61e975b44b154632cc
1 import { FeatureCode } from '@proton/features';
2 import { PLANS, PLAN_NAMES } from '@proton/payments';
3 import { COUPON_CODES, CYCLE } from '@proton/shared/lib/constants';
5 import Layout from '../../components/passFamilyPlan/Layout';
6 import type { OfferConfig } from '../../interface';
8 const config = {
9     ID: 'pass-family-plan-2024-yearly',
10     featureCode: FeatureCode.OfferPassFamilyPlan2024Yearly,
11     autoPopUp: 'each-time',
12     deals: [
13         {
14             ref: 'pass_family_plus_399_webmodal',
15             dealName: PLAN_NAMES[PLANS.PASS_FAMILY],
16             planIDs: { [PLANS.PASS_FAMILY]: 1 },
17             cycle: CYCLE.YEARLY,
18             couponCode: COUPON_CODES.PASSFAMILYLAUNCH,
19         },
20         {
21             ref: 'pass_family_1lt_299_webmodal',
22             dealName: PLAN_NAMES[PLANS.PASS_FAMILY],
23             planIDs: { [PLANS.PASS_FAMILY]: 1 },
24             cycle: CYCLE.YEARLY,
25             couponCode: COUPON_CODES.PASSEARLYSUPPORTER,
26         },
27     ],
28     layout: Layout,
29     canBeDisabled: true,
30     hideDealTitle: true,
31     hideDealPriceInfos: true,
32     hideDiscountBubble: true,
33     darkBackground: true,
34 } satisfies OfferConfig;
36 export default config;