add split test variant for the registration and login page

GitOrigin-RevId: bdaab96937b9f3cd53545b4a4eb9a3bd634a056e
This commit is contained in:
Rebeka 2023-06-14 12:44:18 +02:00 committed by Copybot
parent 86753c19e5
commit 8cd9b4051c
4 changed files with 30 additions and 0 deletions

View file

@ -131,6 +131,9 @@
.login-btn-icon-orcid { .login-btn-icon-orcid {
background-image: url(../../../public/img/other-brands/logo_orcid.svg); background-image: url(../../../public/img/other-brands/logo_orcid.svg);
} }
.login-btn-icon-institution {
background-image: url(../../../public/img/other-brands/logo_institution.svg);
}
.login-btn-icon-sharelatex { .login-btn-icon-sharelatex {
background-size: 22px; background-size: 22px;
} }

View file

@ -2,3 +2,26 @@
text-align: center; text-align: center;
padding-bottom: 20px; padding-bottom: 20px;
} }
// for focus-registration and focus-login split test variant
.registration_logo {
width: 130px;
padding: 8px 0;
}
.login-register-header-active {
padding-top: @line-height-computed;
}
.login-register-header-heading-active {
color: @neutral-90;
margin-bottom: 0;
}
.login-register-form-active {
padding: @line-height-computed;
padding-bottom: 0;
border-bottom: solid 1px @hr-border;
&:last-child {
border-bottom-width: 0;
}
}

View file

@ -1287,6 +1287,7 @@
"regards": "Regards", "regards": "Regards",
"register": "Register", "register": "Register",
"register_error": "Registration error", "register_error": "Registration error",
"register_for_overleaf": "Register for __appName__",
"register_intercept_sso": "You can link your __authProviderName__ account from the Account Settings page after logging in.", "register_intercept_sso": "You can link your __authProviderName__ account from the Account Settings page after logging in.",
"register_to_accept_invitation": "Register to accept invitation", "register_to_accept_invitation": "Register to accept invitation",
"register_to_edit_template": "Please register to edit the __templateName__ template", "register_to_edit_template": "Please register to edit the __templateName__ template",

View file

@ -0,0 +1,3 @@
<svg width="14" height="13" viewBox="-2 -2 18 17" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M13.5625 2.90686C13.5625 2.82483 13.4805 2.7428 13.4258 2.71545L7.08203 0.309204C7.05469 0.309204 7.02734 0.309204 6.97266 0.309204C6.94531 0.309204 6.91797 0.309204 6.89062 0.309204L0.546875 2.71545C0.492188 2.7428 0.4375 2.82483 0.4375 2.90686V3.34436C0.4375 3.48108 0.519531 3.56311 0.65625 3.56311H1.3125V3.89124C1.3125 4.08264 1.44922 4.21936 1.64062 4.21936H12.3594C12.5234 4.21936 12.6875 4.08264 12.6875 3.89124V3.56311H13.3438C13.4531 3.56311 13.5625 3.48108 13.5625 3.34436V2.90686ZM12.9062 11.2194H1.09375C0.710938 11.2194 0.4375 11.5201 0.4375 11.8756V12.3131C0.4375 12.4498 0.519531 12.5319 0.65625 12.5319H13.3438C13.4531 12.5319 13.5625 12.4498 13.5625 12.3131V11.8756C13.5625 11.5201 13.2617 11.2194 12.9062 11.2194ZM2.625 4.65686V9.90686H1.64062C1.44922 9.90686 1.3125 10.0709 1.3125 10.235V10.7819H12.6875V10.235C12.6875 10.0709 12.5234 9.90686 12.3594 9.90686H11.375V4.65686H9.625V9.90686H7.875V4.65686H6.125V9.90686H4.375V4.65686H2.625Z" fill="#1B222C"/>
</svg>

After

Width:  |  Height:  |  Size: 1.1 KiB