Commit d3650d67 authored by Mike Greiling's avatar Mike Greiling

Merge branch 'nicolasdular/adjust-signup-design' into 'master'

Adjust sign up page design

See merge request gitlab-org/gitlab!23891
parents 786336fa 3b5263e2
...@@ -3,33 +3,8 @@ ...@@ -3,33 +3,8 @@
background-color: $gray-light; background-color: $gray-light;
} }
.gitlab-logo {
width: 80px;
height: 80px;
}
.signup-box-container { .signup-box-container {
max-width: 900px; max-width: 960px;
&.navless-container {
padding: 35px $gl-padding;
// overriding .devise-layout-html.navless-container to support the sticky footer
// without having a header on size xs
@include media-breakpoint-down(xs) {
padding: 65px $gl-padding; // height of footer
padding-top: $gl-padding;
}
}
}
.signup-heading h2 {
font-weight: $gl-font-weight-bold;
padding: 0 $gl-padding;
font-size: $gl-font-size-28;
@include media-breakpoint-down(md) {
font-size: $gl-font-size-large;
}
} }
.signup-box { .signup-box {
......
- page_title "Sign up" - page_title "Sign up"
- if experiment_enabled?(:signup_flow) - if experiment_enabled?(:signup_flow)
= render 'devise/shared/experimental_separate_sign_up_flow_box' .row
.col-lg-7
%h1.mb-3.font-weight-bold.text-6.mt-0
= _("Speed up your DevOps<br>with GitLab").html_safe
%p.text-3
= _("GitLab is a single application for the entire software development lifecycle. From project planning and source code management to CI/CD, monitoring, and security.")
.col-lg-5.order-12
.text-center.mb-3
%h2.font-weight-bold.gl-font-size-20= _('Register for GitLab')
= render 'devise/shared/experimental_separate_sign_up_flow_box'
= render 'devise/shared/sign_in_link'
- else - else
= render 'devise/shared/signup_box' = render 'devise/shared/signup_box'
= render 'devise/shared/sign_in_link'
= render 'devise/shared/sign_in_link'
- content_for(:page_title, _('Register for GitLab'))
- max_first_name_length = max_last_name_length = 127 - max_first_name_length = max_last_name_length = 127
- max_username_length = 255 - max_username_length = 255
.signup-box.p-3.mb-2 .signup-box.p-3.mb-2
......
!!! 5 !!! 5
%html.devise-layout-html.navless{ class: system_message_class } %html.devise-layout-html.navless{ class: system_message_class }
= render "layouts/head" = render "layouts/head"
%body.ui-indigo.signup-page.application.navless{ class: "#{client_class_list}", data: { page: body_data_page, qa_selector: 'signup_page' } } %body.ui-indigo.signup-page{ class: "#{client_class_list}", data: { page: body_data_page, qa_selector: 'signup_page' } }
= header_message = render "layouts/header/logo_with_title"
= render "layouts/init_client_detection_flags" = render "layouts/init_client_detection_flags"
.page-wrap .page-wrap
.container.signup-box-container.navless-container.mt-0 .container.signup-box-container.navless-container
= render "layouts/broadcast" = render "layouts/broadcast"
.content .content
= render "layouts/flash" = render "layouts/flash"
.row.mb-6 = yield
.col-sm-8.offset-sm-2.col-md-6.offset-md-3.new-session-forms-container
= render_if_exists 'layouts/devise_help_text'
.text-center.signup-heading.mb-3
= image_tag(image_url('logo.svg'), class: 'gitlab-logo', alt: 'GitLab Logo')
- if content_for?(:page_title)
%h2= yield :page_title
= yield
%hr.footer-fixed %hr.footer-fixed
.footer-container .footer-container
.container .container
......
...@@ -9156,6 +9156,9 @@ msgstr "" ...@@ -9156,6 +9156,9 @@ msgstr ""
msgid "GitLab for Slack" msgid "GitLab for Slack"
msgstr "" msgstr ""
msgid "GitLab is a single application for the entire software development lifecycle. From project planning and source code management to CI/CD, monitoring, and security."
msgstr ""
msgid "GitLab is obtaining a Let's Encrypt SSL certificate for this domain. This process can take some time. Please try again later." msgid "GitLab is obtaining a Let's Encrypt SSL certificate for this domain. This process can take some time. Please try again later."
msgstr "" msgstr ""
...@@ -18059,6 +18062,9 @@ msgstr "" ...@@ -18059,6 +18062,9 @@ msgstr ""
msgid "Specify the following URL during the Runner setup:" msgid "Specify the following URL during the Runner setup:"
msgstr "" msgstr ""
msgid "Speed up your DevOps<br>with GitLab"
msgstr ""
msgid "Squash commit message" msgid "Squash commit message"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment