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.

37 lines
1.6 KiB

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