2017-01-13 02:24:41 +00:00
|
|
|
- content_for :page_title do
|
2017-04-17 22:16:32 +00:00
|
|
|
= site_hostname
|
2017-01-13 02:24:41 +00:00
|
|
|
|
2017-07-24 13:09:08 +00:00
|
|
|
- content_for :header_tags do
|
|
|
|
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
|
2017-10-10 22:52:25 +00:00
|
|
|
= render partial: 'shared/og'
|
2017-01-13 19:14:21 +00:00
|
|
|
|
2018-08-09 10:58:20 +00:00
|
|
|
.grid-3
|
|
|
|
.column-0
|
|
|
|
.public-account-header.public-account-header--no-bar
|
2019-10-01 23:57:31 +00:00
|
|
|
.public-account-header__image
|
|
|
|
- if @instance_presenter.hero.present? || @instance_presenter.thumbnail.present?
|
2019-10-01 15:53:32 +00:00
|
|
|
= image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url, alt: @instance_presenter.site_title, class: 'parallax'
|
2019-10-01 23:57:31 +00:00
|
|
|
- else
|
|
|
|
%div{:class => ("originalheader")}
|
|
|
|
= svg_logo
|
|
|
|
%h1
|
|
|
|
= link_to root_url, class: 'brand' do
|
|
|
|
= site_title
|
2017-07-24 13:09:08 +00:00
|
|
|
|
2018-08-09 10:58:20 +00:00
|
|
|
.column-1
|
|
|
|
.landing-page__call-to-action{ dir: 'ltr' }
|
|
|
|
.row
|
|
|
|
.row__information-board
|
|
|
|
.information-board__section
|
|
|
|
%span= t 'about.user_count_before'
|
|
|
|
%strong= number_with_delimiter @instance_presenter.user_count
|
2018-08-22 17:42:47 +00:00
|
|
|
%span= t 'about.user_count_after', count: @instance_presenter.user_count
|
2018-08-09 10:58:20 +00:00
|
|
|
.information-board__section
|
|
|
|
%span= t 'about.status_count_before'
|
|
|
|
%strong= number_with_delimiter @instance_presenter.status_count
|
2018-08-22 17:42:47 +00:00
|
|
|
%span= t 'about.status_count_after', count: @instance_presenter.status_count
|
2018-08-09 10:58:20 +00:00
|
|
|
.row__mascot
|
2019-09-18 21:55:01 +00:00
|
|
|
- if @instance_presenter.mascot&.file&.url
|
|
|
|
.landing-page__mascot
|
|
|
|
= image_tag @instance_presenter.mascot&.file&.url
|
|
|
|
- else
|
|
|
|
.landing-page__mascot{:class => ("originalmascot")}
|
|
|
|
%div{:class => ("originalmascotimg")}
|
|
|
|
= svg_logo
|
2017-07-24 13:09:08 +00:00
|
|
|
|
2018-08-09 10:58:20 +00:00
|
|
|
.column-2
|
|
|
|
.landing-page__information.contact-widget
|
2018-08-10 04:43:02 +00:00
|
|
|
%p
|
|
|
|
%strong= t 'about.administered_by'
|
2017-01-13 19:14:21 +00:00
|
|
|
|
2018-08-09 10:58:20 +00:00
|
|
|
= account_link_to(@instance_presenter.contact_account)
|
2017-01-13 19:14:21 +00:00
|
|
|
|
2018-08-09 10:58:20 +00:00
|
|
|
- if @instance_presenter.site_contact_email.present?
|
|
|
|
%p.contact-widget__mail
|
2018-08-10 04:43:02 +00:00
|
|
|
%strong
|
|
|
|
= succeed ':' do
|
|
|
|
= t 'about.contact'
|
2018-08-09 10:58:20 +00:00
|
|
|
%br/
|
|
|
|
= mail_to @instance_presenter.site_contact_email, nil, title: @instance_presenter.site_contact_email
|
|
|
|
|
|
|
|
.column-3
|
|
|
|
.box-widget
|
|
|
|
.rich-formatting= @instance_presenter.site_extended_description.html_safe.presence || t('about.extended_description_html')
|