Commit 6bf5af2a authored by Kushal Pandya's avatar Kushal Pandya

Merge branch 'next-badge-link' into 'master'

Add link to next badge

Closes #61503

See merge request gitlab-org/gitlab-ce!28162
parents 36e15a86 b998e9b0
...@@ -472,6 +472,22 @@ ...@@ -472,6 +472,22 @@
background-color: $blue-500; background-color: $blue-500;
} }
} }
.canary-badge {
.badge {
font-size: $gl-font-size-small;
line-height: $gl-line-height;
padding: 0 $grid-size;
}
&:hover {
text-decoration: none;
.badge {
text-decoration: none;
}
}
}
} }
@include media-breakpoint-down(xs) { @include media-breakpoint-down(xs) {
......
...@@ -18,8 +18,9 @@ ...@@ -18,8 +18,9 @@
%span.logo-text.d-none.d-lg-block.prepend-left-8 %span.logo-text.d-none.d-lg-block.prepend-left-8
= logo_text = logo_text
- if Gitlab.com? - if Gitlab.com?
%span.js-canary-badge.badge.badge-pill.green-badge.align-self-center = link_to 'https://next.gitlab.com', class: 'label-link js-canary-badge canary-badge bg-transparent', target: :_blank do
= _('Next') %span.color-label.has-tooltip.badge.badge-pill.green-badge
= _('Next')
- if current_user - if current_user
= render "layouts/nav/dashboard" = render "layouts/nav/dashboard"
......
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