Merge branch 'feat/inda-383-daily-stat' into 'main'
[ProtonMail-WebClient.git] / packages / components / containers / offers / operations / mailTrial2024 / text.tsx
blobdd6f7bfc9c8966ab03f2f361391fbe8befdf2f39
1 import { c } from 'ttag';
3 import Price from '@proton/components/components/price/Price';
4 import { PLANS, PLAN_NAMES } from '@proton/payments';
5 import { type Currency } from '@proton/payments';
7 export const getCTAContent = () => {
8     return c('mailtrial2024: Action').t`Get the deal`;
9 };
11 export const getExpires = () => {
12     return c('mailtrial2024: Info').t`Limited-time offer, expires April 2 2024`;
15 export const getRenews = (currency: Currency) => {
16     const renewablePrice = (
17         <Price key="renewable-price" currency={currency} suffix={c('Suffix').t`/month`} isDisplayedInSentence>
18             {499}
19         </Price>
20     );
21     return c('mailtrial2024: Footer').jt`Renews at ${renewablePrice}, cancel anytime`;
24 const planName = PLAN_NAMES[PLANS.MAIL];
26 export const getTitle = (currency: Currency) => {
27     const planPrice = (
28         <Price key="plan-price" currency={currency} isDisplayedInSentence>
29             {100}
30         </Price>
31     );
32     return c('mailtrial2024: Title').jt`Get ${planName} for only ${planPrice}`;