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.

46 lines
1.6 KiB

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