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.

43 lines
1.5 KiB

  1. - content_for :page_title do
  2. = site_hostname
  3. - content_for :header_tags do
  4. = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
  5. = render partial: 'shared/og'
  6. .landing-page
  7. .header-wrapper.compact
  8. .header
  9. = render 'links'
  10. .container-alt.hero
  11. .heading
  12. %h3= t('about.description_headline', domain: site_hostname)
  13. %p= @instance_presenter.site_description.html_safe.presence || t('about.generic_description', domain: site_hostname)
  14. .information-board
  15. .container-alt
  16. .information-board__sections
  17. .information-board__section
  18. %span= t 'about.user_count_before'
  19. %strong= number_with_delimiter @instance_presenter.user_count
  20. %span= t 'about.user_count_after'
  21. .information-board__section
  22. %span= t 'about.status_count_before'
  23. %strong= number_with_delimiter @instance_presenter.status_count
  24. %span= t 'about.status_count_after'
  25. .information-board__section
  26. %span= t 'about.domain_count_before'
  27. %strong= number_with_delimiter @instance_presenter.domain_count
  28. %span= t 'about.domain_count_after'
  29. = render 'contact', contact: @instance_presenter
  30. .extended-description
  31. .container-alt
  32. = @instance_presenter.site_extended_description.html_safe.presence || t('about.extended_description_html')
  33. .footer-links
  34. .container-alt
  35. %p
  36. = link_to t('about.source_code'), @instance_presenter.source_url
  37. = " (#{@instance_presenter.version_number})"