about summary refs log tree commit diff
path: root/app/views/about/index.html.haml
blob: 6dd1822059bcf17a7a4d161166b0526bb5258a1d (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
24
25
26
27
28
29
- content_for :page_title do
  = Rails.configuration.x.local_domain

- content_for :header_tags do
  %meta{ property: 'og:site_name', content: 'Mastodon' }/
  %meta{ property: 'og:type', content: 'website' }/
  %meta{ property: 'og:title', content: Rails.configuration.x.local_domain }/
  %meta{ property: 'og:description', content: "Mastodon is a free, open-source social network server. A decentralized alternative to commercial platforms, it avoids the risks of a single company monopolizing your communication. Anyone can run Mastodon and participate in the social network seamlessly" }/
  %meta{ property: 'og:image', content: asset_url('mastodon_small.jpg') }/
  %meta{ property: 'og:image:width', content: '400' }/
  %meta{ property: 'og:image:height', content: '400' }/

.wrapper
  %h1
    = image_tag 'logo.png'
    Mastodon

  %p= t('about.about_mastodon').html_safe
  %p= t('about.about_instance', instance: Rails.configuration.x.local_domain).html_safe

  .screenshot= image_tag 'screenshot.png'

  .actions
    .info
      = link_to t('about.terms'), terms_path
      = link_to t('about.source_code'), 'https://github.com/Gargron/mastodon'

    = link_to t('about.get_started'), new_user_registration_path, class: 'button webapp-btn'
    = link_to t('auth.login'), new_user_session_path, class: 'button webapp-btn'