Commit 56cb284d authored by Serhii Yarynovskyi's avatar Serhii Yarynovskyi Committed by Jacques Erasmus

Fix trial banner styling

parent f52ac300
...@@ -2,20 +2,18 @@ ...@@ -2,20 +2,18 @@
- callout = local_assigns.fetch(:callout, Users::CalloutsHelper::ULTIMATE_TRIAL) - callout = local_assigns.fetch(:callout, Users::CalloutsHelper::ULTIMATE_TRIAL)
- button_css_class = is_dismissable ? 'mr-3' : '' - button_css_class = is_dismissable ? 'mr-3' : ''
.pt-1.d-none.d-md-block{ class: container_class } .gl-display-none.gl-md-display-block.container-limited{ class: 'gl-pt-6! gl-pb-2!' }
.user-callout.promotion-callout.thin-callout.js-gold-trial-callout{ data: { uid: 'trial_callout_dismissed', feature_id: callout, dismiss_endpoint: callouts_path } } .user-callout.promotion-callout.thin-callout.js-gold-trial-callout{ class: 'gl-mt-0!', data: { uid: 'trial_callout_dismissed', feature_id: callout, dismiss_endpoint: callouts_path } }
.bordered-box.justify-content-left.align-items-center .gl-card.gl-px-8.gl-py-6
.svg-container .gl-card-body.gl-display-flex{ class: 'gl-p-0!' }
= image_tag 'illustrations/golden_tanuki.svg', class: 'svg' .gl-banner-illustration
.d-flex.flex-grow.align-items-center = image_tag 'illustrations/golden_tanuki.svg', class: 'svg gl-w-8!'
.user-callout-copy.ml-0 .gl-banner-content
%h5.mb-0.mt-0= _('Free Trial of GitLab.com Ultimate') %h1.gl-banner-title= _('Free Trial of GitLab.com Ultimate')
%p.mb-0 %p
%span= _('Try all GitLab has to offer for 30 days.') %span= _('Try all GitLab has to offer for 30 days.')
%span.d-none.d-sm-inline= _('No credit card required.') %span.d-none.d-sm-inline= _('No credit card required.')
= link_to _('Start your trial'), new_trial_registration_path(glm_source: 'gitlab.com', glm_content: 'gold-callout'), class: "btn btn-confirm gl-button mt-2 mt-sm-0 #{button_css_class}", target: '_blank' = link_to _('Start your free trial'), new_trial_registration_path(glm_source: 'gitlab.com', glm_content: 'gold-callout'), class: "btn btn-confirm gl-button mt-2 mt-sm-0 #{button_css_class}", target: '_blank'
- if is_dismissable
- if is_dismissable %button.btn.gl-banner-close.btn-default.btn-sm.gl-button.btn-default-tertiary.btn-icon.close.js-close{ class: 'gl-opacity-10!', type: 'button', 'aria-label' => _('Dismiss trial promotion') }
%button.gl-button.btn.btn-default.close.js-close{ type: 'button', = sprite_icon('close', css_class: 'dismiss-icon gl-text-gray-700!')
'aria-label' => _('Dismiss trial promotion') }
= sprite_icon('close', css_class: 'dismiss-icon')
...@@ -33562,9 +33562,6 @@ msgstr "" ...@@ -33562,9 +33562,6 @@ msgstr ""
msgid "Start your free trial" msgid "Start your free trial"
msgstr "" msgstr ""
msgid "Start your trial"
msgstr ""
msgid "Started" msgid "Started"
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