WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit d5712d8

Browse files
committed
MPP-4231 - fix(verbiage): update the verbiage on phone page
1 parent 9cebd2a commit d5712d8

File tree

3 files changed

+36
-2
lines changed

3 files changed

+36
-2
lines changed

frontend/pendingTranslations.ftl

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,3 +176,6 @@ whatsnew-megabundle-cta = Get year-round protection
176176
whatsnew-megabundle-premium-snippet = For { $monthly_price }/month, combine { -brand-name-relay } with { -brand-name-vpn }‘s online activity protection and { -brand-name-monitor }‘s data…
177177
whatsnew-megabundle-premium-description = For { $monthly_price }/month, combine { -brand-name-relay } with { -brand-name-vpn }‘s online activity protection and { -brand-name-monitor }‘s protection from data brokers who sell your info online.
178178
whatsnew-megabundle-premium-cta = Upgrade my protection
179+
180+
phone-onboarding-step1-button-cta-2 = Sign up
181+
phone-onboarding-step1-learn-more = Learn more

frontend/src/components/phones/onboarding/PurchasePhonesPlan.module.scss

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,4 +138,19 @@
138138
}
139139
}
140140
}
141+
.learn-more {
142+
background-color: transparent;
143+
border-style: none;
144+
border-radius: $border-radius-lg;
145+
color: $color-blue-50;
146+
padding-inline: $spacing-md;
147+
font-family: $font-stack-base;
148+
font-weight: 500;
149+
font-size: 14px;
150+
cursor: pointer;
151+
152+
&:hover {
153+
background-color: color.$grey-10;
154+
}
155+
}
141156
}

frontend/src/components/phones/onboarding/PurchasePhonesPlan.tsx

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -96,8 +96,16 @@ const PricingToggle = (props: PricingToggleProps) => {
9696
tabIndex={0}
9797
className={styles["pick-button"]}
9898
>
99-
{l10n.getString("phone-onboarding-step1-button-cta")}
99+
{l10n.getString("phone-onboarding-step1-button-cta-2")}
100100
</LinkButton>
101+
<a
102+
className={styles["learn-more"]}
103+
href={
104+
"https://support.mozilla.org/en-US/kb/how-do-i-upgrade-my-subscription"
105+
}
106+
>
107+
{l10n.getString("phone-onboarding-step1-learn-more")}
108+
</a>
101109
</Item>
102110
<Item
103111
key="monthly"
@@ -124,8 +132,16 @@ const PricingToggle = (props: PricingToggleProps) => {
124132
tabIndex={0}
125133
className={styles["pick-button"]}
126134
>
127-
{l10n.getString("phone-onboarding-step1-button-cta")}
135+
{l10n.getString("phone-onboarding-step1-button-cta-2")}
128136
</LinkButton>
137+
<a
138+
className={styles["learn-more"]}
139+
href={
140+
"https://support.mozilla.org/en-US/kb/how-do-i-upgrade-my-subscription"
141+
}
142+
>
143+
{l10n.getString("phone-onboarding-step1-learn-more")}
144+
</a>
129145
</Item>
130146
</PricingTabs>
131147
);

0 commit comments

Comments
 (0)