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 7958427

Browse files
committed
MPP-4497- fix(relay-onboarding): update VPN bundle page layout and text
1 parent 07c1620 commit 7958427

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

frontend/pendingTranslations.ftl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,3 +184,5 @@ whatsnew-megabundle-premium-cta = Upgrade my protection
184184
185185
phone-onboarding-step1-button-cta-2 = Sign up
186186
phone-onboarding-step1-learn-more = Learn more
187+
188+
vpn-relay-go-relay-body-2 = Keep your identity private

frontend/src/pages/vpn-relay-welcome.module.scss

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,29 +78,39 @@
7878
display: flex;
7979
flex-direction: column;
8080
align-items: stretch;
81-
gap: $spacing-xl;
8281
max-width: $content-xs;
8382
background-color: $color-white;
8483
padding: $spacing-2xl;
8584
border-radius: $border-radius-md;
8685
box-shadow: $box-shadow-sm;
8786

8887
@media #{$mq-lg} {
88+
flex: 1;
8989
padding: 0;
9090
border-radius: 0;
9191
box-shadow: none;
9292
}
9393

94+
.logo {
95+
margin-bottom: $spacing-xl;
96+
}
97+
9498
p {
9599
max-width: $content-xs;
96100
font-family: $font-stack-base;
101+
margin-bottom: $spacing-xl;
97102

98103
@include text-body-md;
99104
}
100105

106+
.relay-text {
107+
padding-bottom: $spacing-md;
108+
}
109+
101110
a {
102111
white-space: pre;
103112
font-weight: 500;
104113
font-family: $font-stack-firefox;
114+
margin-top: auto;
105115
}
106116
}

frontend/src/pages/vpn-relay-welcome.page.tsx

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,9 @@ const VpnRelayWelcome: NextPage = () => {
5555
/>
5656
</div>
5757

58-
<p>{l10n.getString("vpn-relay-go-relay-body")}</p>
58+
<p className={styles["relay-text"]}>
59+
{l10n.getString("vpn-relay-go-relay-body-2")}
60+
</p>
5961
<Link href={"/"} className={styles.button}>
6062
{l10n.getString("vpn-relay-go-relay-cta")}
6163
</Link>
@@ -69,7 +71,7 @@ const VpnRelayWelcome: NextPage = () => {
6971
src={VpnLogo}
7072
alt={l10n.getString("logo-premium-alt")}
7173
className={styles["vpn-logo"]}
72-
height={20}
74+
height={40}
7375
/>
7476
</div>
7577

0 commit comments

Comments
 (0)