1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
- add_page_specific_style 'page_bundles/terms'
!!! 5
%html{ lang: I18n.locale, class: [user_application_color_mode, user_application_theme, page_class] }
= render "layouts/head"
%body{ data: body_data }
.terms{ class: page_class }
= render 'layouts/header/read_only_banner'
= render "layouts/flash"
.limit-container-width.gl-my-5{ class: container_class }
= render Pajamas::CardComponent.new( body_options: { class: 'gl-p-0' }, header_options: { class: 'gl-flex gl-items-center gl-justify-between' }) do |c|
- c.with_header do
= brand_header_logo({add_gitlab_logo_text: true})
- if current_user
.gl-flex.gl-gap-2.gl-items-center
.gl-text-right.gl-leading-normal
.gl-font-bold= current_user.name
.gl-text-gray-700 @#{current_user.username}
= render Pajamas::AvatarComponent.new(current_user, size: 32, avatar_options: { data: { testid: 'user-avatar-content' } })
- c.with_body do
= yield
|