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.

30 lines
1.4 KiB

  1. - content_for :page_title do
  2. = Rails.configuration.x.local_domain
  3. - content_for :header_tags do
  4. %meta{ property: 'og:site_name', content: 'Mastodon' }/
  5. %meta{ property: 'og:type', content: 'website' }/
  6. %meta{ property: 'og:title', content: Rails.configuration.x.local_domain }/
  7. %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" }/
  8. %meta{ property: 'og:image', content: asset_url('mastodon_small.jpg') }/
  9. %meta{ property: 'og:image:width', content: '400' }/
  10. %meta{ property: 'og:image:height', content: '400' }/
  11. %meta{ property: 'twitter:card', content: 'summary' }/
  12. .wrapper
  13. %h1
  14. = image_tag 'logo.png'
  15. Mastodon
  16. %p= t('about.about_mastodon').html_safe
  17. %p= t('about.about_instance', instance: Rails.configuration.x.local_domain).html_safe
  18. .screenshot= image_tag 'screenshot.png'
  19. .actions
  20. .info
  21. = link_to t('about.terms'), terms_path
  22. = link_to t('about.source_code'), 'https://github.com/Gargron/mastodon'
  23. = link_to t('about.get_started'), new_user_registration_path, class: 'button webapp-btn'
  24. = link_to t('auth.login'), new_user_session_path, class: 'button webapp-btn'