about summary refs log tree commit diff
path: root/app/views/shared/_landing_strip.html.haml
blob: 78f5ed4bcc3312ce637c732a26ca6051e59839d4 (plain) (blame)
1
2
3
4
5
6
7
8
.landing-strip
  = image_tag asset_pack_path('logo.svg'), class: 'logo'

  %div
    = t('landing_strip_html', name: content_tag(:span, display_name(account, custom_emojify: true), class: :emojify), link_to_root_path: link_to(content_tag(:strong, site_hostname), root_path))

    - if open_registrations?
      = t('landing_strip_signup_html', sign_up_path: new_user_registration_path)