You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

23 lines
776 B

  1. - content_for :page_title do
  2. = t('terms.title', instance: site_hostname)
  3. .landing-page
  4. .header-wrapper.compact
  5. .header
  6. .container.links
  7. .brand
  8. = link_to root_url do
  9. = image_tag asset_pack_path('logo_full.svg'), alt: 'Mastodon'
  10. %ul.nav
  11. %li
  12. - if user_signed_in?
  13. = link_to t('settings.back'), root_url, class: 'webapp-btn'
  14. - else
  15. = link_to t('auth.login'), new_user_session_path, class: 'webapp-btn'
  16. %li= link_to t('about.about_this'), about_more_path
  17. %li= link_to t('about.other_instances'), 'https://joinmastodon.org/'
  18. .extended-description
  19. .container
  20. = @instance_presenter.site_terms.html_safe.presence || t('terms.body_html')