mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-05 02:09:03 +01:00
249991c498
Conflicts: - Gemfile.lock - app/controllers/accounts_controller.rb - app/controllers/admin/dashboard_controller.rb - app/controllers/follower_accounts_controller.rb - app/controllers/following_accounts_controller.rb - app/controllers/remote_follow_controller.rb - app/controllers/stream_entries_controller.rb - app/controllers/tags_controller.rb - app/javascript/packs/public.js - app/lib/sanitize_config.rb - app/models/account.rb - app/models/form/admin_settings.rb - app/models/media_attachment.rb - app/models/stream_entry.rb - app/models/user.rb - app/serializers/initial_state_serializer.rb - app/services/batched_remove_status_service.rb - app/services/post_status_service.rb - app/services/process_mentions_service.rb - app/services/reblog_service.rb - app/services/remove_status_service.rb - app/views/admin/settings/edit.html.haml - config/locales/simple_form.pl.yml - config/settings.yml - docker-compose.yml
48 lines
1.8 KiB
Text
48 lines
1.8 KiB
Text
- content_for :page_title do
|
|
= site_hostname
|
|
|
|
- content_for :header_tags do
|
|
= 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
|
|
= render 'application/flashes'
|
|
|
|
.box-widget
|
|
.rich-formatting= @instance_presenter.site_extended_description.html_safe.presence || t('about.extended_description_html')
|