Skip to content

Commit a07c9cb

Browse files
committed
MPP-4160-modify-popup-banner-4-mask
1 parent 6909b8d commit a07c9cb

File tree

2 files changed

+6
-16
lines changed

2 files changed

+6
-16
lines changed

frontend/pendingTranslations.ftl

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -116,10 +116,8 @@ mask-deletion-warning-sign-ins = If you use this mask to sign in to any accounts
116116
## 4-mask upsell banner
117117

118118
upsell-banner-4-masks-button-close-label = close
119-
upsell-banner-4-masks-us-heading = Get maximum email and phone protection
120-
upsell-banner-4-masks-non-us-heading = Get maximum email protection
121-
upsell-banner-4-masks-us-description = { -brand-name-relay-premium } gives you a phone mask to protect your real number, plus unlimited email masks and the ability to block promotional emails.
122-
upsell-banner-4-masks-non-us-description = { -brand-name-relay-premium } gives you unlimited email masks, spam blocking, a custom { -brand-name-relay } email domain, and the ability to reply to forwarded messages.
119+
upsell-banner-4-masks-us-heading-2 = Get maximum email protection
120+
upsell-banner-4-masks-us-description-2 = Unlock unlimited email masks, reply directly from them, and create new ones instantly with your own { -brand-name-relay } subdomain — anytime, anywhere.
123121
upsell-banner-4-masks-us-cta = Upgrade to { -brand-name-relay-premium }
124122
125123
-brand-name-mozilla-monitor = Mozilla Monitor

frontend/src/components/dashboard/CornerNotification.tsx

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ import Image from "../Image";
55
import { ProfileData } from "../../hooks/api/profile";
66
import { useLocalDismissal } from "../../hooks/localDismissal";
77
import UpsellBannerNonUs from "../../pages/accounts/images/upsell-banner-nonus.svg";
8-
import UpsellBannerUs from "../../pages/accounts/images/upsell-banner-us.svg";
98
import { useGaViewPing } from "../../hooks/gaViewPing";
109
import { RuntimeData } from "../../hooks/api/runtimeData";
1110
import { isFlagActive } from "../../functions/waffle";
1211
import { useGaEvent } from "../../hooks/gaEvent";
1312
import { useL10n } from "../../hooks/l10n";
1413
import { LinkButton } from "../Button";
15-
import { isPhonesAvailableInCountry } from "../../functions/getPlan";
1614
import { AliasData } from "../../hooks/api/aliases";
1715

1816
export type Props = {
@@ -29,21 +27,15 @@ export const CornerNotification = (props: Props) => {
2927
const dismissal = useLocalDismissal(
3028
`corner_notification_masks_upsell_${props.profile.id}`,
3129
);
32-
const isPhonesAvailable = isPhonesAvailableInCountry(runtimeData);
3330
const aliases = props.aliases;
3431
const ctaRef = useGaViewPing({
3532
category: "Purchase Button",
3633
label: "4-mask-limit-upsell",
3734
});
3835
const gaEvent = useGaEvent();
3936

40-
const title = l10n.getString(
41-
`upsell-banner-4-masks-${isPhonesAvailable ? "us" : "non-us"}-heading`,
42-
);
43-
const description = l10n.getString(
44-
`upsell-banner-4-masks-${isPhonesAvailable ? "us" : "non-us"}-description`,
45-
);
46-
const illustration = isPhonesAvailable ? UpsellBannerUs : UpsellBannerNonUs;
37+
const title = l10n.getString(`upsell-banner-4-masks-us-heading-2`);
38+
const description = l10n.getString(`upsell-banner-4-masks-us-description-2`);
4739

4840
if (
4941
isFlagActive(runtimeData, "four_mask_limit_upsell") &&
@@ -71,14 +63,14 @@ export const CornerNotification = (props: Props) => {
7163
height={20}
7264
/>
7365
</button>
74-
<Image src={illustration} alt="" />
66+
<Image src={UpsellBannerNonUs} alt="" />
7567
</div>
7668
<div className={styles["card-content"]}>
7769
<p className={styles["card-title"]}>{title}</p>
7870
<p className={styles["card-description"]}>{description}</p>
7971
<LinkButton
8072
className={styles["card-cta"]}
81-
href="/premium#pricing"
73+
href="/premium/?utm_medium=referral&utm_source=relay-dashboard&utm_campaign=4-masks-modal#pricing"
8274
ref={ctaRef}
8375
onClick={() => {
8476
gaEvent({

0 commit comments

Comments
 (0)