Merge pull request #16051 from overleaf/mf-website-redesign-home-checkbox

Add newsletter checkbox to new homepage

GitOrigin-RevId: 6e056194633a9bf2349d0ebcb599dee0d0d50870
This commit is contained in:
M Fahru 2023-12-07 09:59:36 -07:00 committed by Copybot
parent f9e545f51e
commit 2b15cb8e9b
2 changed files with 14 additions and 0 deletions

View file

@ -63,6 +63,8 @@ module.exports = HomeController = {
if (websiteRedesignActive) {
return res.render('external/home/website-redesign/index', {
onboardingFlowVariant: onboardingFlowAssignment.variant,
hideNewsletterCheckbox:
onboardingFlowAssignment.variant === 'token-confirmation-odc',
})
} else {
return res.render('external/home/v2', {

View file

@ -454,6 +454,8 @@
}
.tos-agreement-notice {
font-size: 12px;
a {
color: @green-60;
text-decoration: underline;
@ -461,4 +463,14 @@
}
}
}
.home-register-newsletter-checkbox {
font-size: 12px;
margin-top: 10px;
text-align: center;
input[type='checkbox'] {
margin-top: 2px;
}
}
}