about summary refs log tree commit diff
path: root/app/views/about/terms.html.haml
blob: 7004cb0b13f824bab014fac38befcece9e5b31d4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
- content_for :page_title do
  = t('terms.title', instance: site_hostname)

.landing-page
  .header-wrapper.compact
    .header
      .container.links
        .brand
          = link_to root_url do
            = image_tag asset_pack_path('logo_full.svg'), alt: 'Mastodon'

        %ul.nav
          %li
            - if user_signed_in?
              = link_to t('settings.back'), root_url, class: 'webapp-btn'
            - else
              = link_to t('auth.login'), new_user_session_path, class: 'webapp-btn'
          %li= link_to t('about.about_this'), about_more_path
          %li= link_to t('about.other_instances'), 'https://joinmastodon.org/'

  .extended-description
    .container
      = @instance_presenter.site_terms.html_safe.presence || t('terms.body_html')