mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
8347479f5d
Bumps [webpacker](https://github.com/rails/webpacker) from 3.5.5 to 4.0.2. - [Release notes](https://github.com/rails/webpacker/releases) - [Changelog](https://github.com/rails/webpacker/blob/master/CHANGELOG.md) - [Commits](https://github.com/rails/webpacker/compare/v3.5.5...v4.0.2) Signed-off-by: dependabot[bot] <support@dependabot.com> Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
48 lines
1.9 KiB
Plaintext
48 lines
1.9 KiB
Plaintext
- content_for :page_title do
|
|
= site_hostname
|
|
|
|
- content_for :header_tags do
|
|
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
|
|
= render partial: 'shared/og'
|
|
|
|
.grid-3
|
|
.column-0
|
|
.public-account-header.public-account-header--no-bar
|
|
.public-account-header__image
|
|
= image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url || asset_pack_path('media/images/preview.jpg'), alt: @instance_presenter.site_title, class: 'parallax'
|
|
|
|
.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
|
|
%span= t 'about.user_count_after', count: @instance_presenter.user_count
|
|
.information-board__section
|
|
%span= t 'about.status_count_before'
|
|
%strong= number_with_delimiter @instance_presenter.status_count
|
|
%span= t 'about.status_count_after', count: @instance_presenter.status_count
|
|
.row__mascot
|
|
.landing-page__mascot
|
|
= image_tag @instance_presenter.mascot&.file&.url || asset_pack_path('media/images/elephant_ui_plane.svg'), alt: ''
|
|
|
|
.column-2
|
|
.landing-page__information.contact-widget
|
|
%p
|
|
%strong= t 'about.administered_by'
|
|
|
|
= account_link_to(@instance_presenter.contact_account)
|
|
|
|
- if @instance_presenter.site_contact_email.present?
|
|
%p.contact-widget__mail
|
|
%strong
|
|
= succeed ':' do
|
|
= t 'about.contact'
|
|
%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')
|