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. .grid-3
  6. .column-0
  7. .public-account-header.public-account-header--no-bar
  8. .public-account-header__image
  9. = image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url || asset_pack_path('preview.jpg'), alt: @instance_presenter.site_title, class: 'parallax'
  10. .column-1
  11. .landing-page__call-to-action{ dir: 'ltr' }
  12. .row
  13. .row__information-board
  14. .information-board__section
  15. %span= t 'about.user_count_before'
  16. %strong= number_with_delimiter @instance_presenter.user_count
  17. %span= t 'about.user_count_after'
  18. .information-board__section
  19. %span= t 'about.status_count_before'
  20. %strong= number_with_delimiter @instance_presenter.status_count
  21. %span= t 'about.status_count_after'
  22. .row__mascot
  23. .landing-page__mascot
  24. = image_tag asset_pack_path('elephant_ui_plane.svg')
  25. .column-2
  26. .landing-page__information.contact-widget
  27. %p
  28. %strong= t 'about.administered_by'
  29. = account_link_to(@instance_presenter.contact_account)
  30. - if @instance_presenter.site_contact_email.present?
  31. %p.contact-widget__mail
  32. %strong
  33. = succeed ':' do
  34. = t 'about.contact'
  35. %br/
  36. = mail_to @instance_presenter.site_contact_email, nil, title: @instance_presenter.site_contact_email
  37. .column-3
  38. .box-widget
  39. .rich-formatting= @instance_presenter.site_extended_description.html_safe.presence || t('about.extended_description_html')