闭社主体 forked from https://github.com/tootsuite/mastodon
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.

29 lines
1.3 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. .wrapper
  12. %h1
  13. = image_tag 'logo.png'
  14. Mastodon
  15. %p= t('about.about_mastodon').html_safe
  16. %p= t('about.about_instance', instance: Rails.configuration.x.local_domain).html_safe
  17. .screenshot= image_tag 'screenshot.png'
  18. .actions
  19. .info
  20. = link_to t('about.terms'), terms_path
  21. = link_to t('about.source_code'), 'https://github.com/Gargron/mastodon'
  22. = link_to t('about.get_started'), new_user_registration_path, class: 'button webapp-btn'
  23. = link_to t('auth.login'), new_user_session_path, class: 'button webapp-btn'