Merge tag 'v1.0.5+3.2.0' into hometown-v1.0.5+3.3.0
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
.simple_form__overlay-area{ class: (closed_registrations? && @instance_presenter.closed_registrations_message.present?) ? 'simple_form__overlay-area__blurred' : '' }
|
||||
= simple_form_for(new_user, url: user_registration_path, namespace: 'registration', html: { novalidate: false }) do |f|
|
||||
%p.lead= t('about.federation_hint_html', instance: content_tag(:strong, site_hostname))
|
||||
%p.lead= t('about.federation_hint_html', instance: content_tag(:strong, site_title))
|
||||
|
||||
.fields-group
|
||||
= f.simple_fields_for :account do |account_fields|
|
||||
|
||||
@ -9,7 +9,14 @@
|
||||
.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'
|
||||
- if @instance_presenter.hero.present? || @instance_presenter.thumbnail.present?
|
||||
= image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url, alt: @instance_presenter.site_title, class: 'parallax'
|
||||
- else
|
||||
%div{:class => ("originalheader")}
|
||||
= svg_logo
|
||||
%h1
|
||||
= link_to root_url, class: 'brand' do
|
||||
= site_title
|
||||
|
||||
.column-1
|
||||
.landing-page__call-to-action{ dir: 'ltr' }
|
||||
@ -24,8 +31,13 @@
|
||||
%strong= number_to_human @instance_presenter.status_count, strip_insignificant_zeros: true
|
||||
%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: ''
|
||||
- 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
|
||||
|
||||
.column-2
|
||||
.contact-widget
|
||||
|
||||
@ -7,9 +7,9 @@
|
||||
|
||||
.landing
|
||||
.landing__brand
|
||||
= link_to root_url, class: 'brand' do
|
||||
= svg_logo_full
|
||||
%span.brand__tagline=t 'about.tagline'
|
||||
%h1
|
||||
= link_to root_url, class: 'brand' do
|
||||
= site_title
|
||||
|
||||
.landing__grid
|
||||
.landing__grid__column.landing__grid__column-registration
|
||||
@ -35,22 +35,29 @@
|
||||
%h4
|
||||
= fa_icon 'globe fw'
|
||||
= t('about.see_whats_happening')
|
||||
%small= t('about.browse_public_posts')
|
||||
%small= t('about.browse_public_posts', title: site_title)
|
||||
|
||||
.directory__tag
|
||||
= link_to 'https://joinmastodon.org/apps', target: '_blank', rel: 'noopener noreferrer' do
|
||||
%h4
|
||||
= fa_icon 'tablet fw'
|
||||
= t('about.get_apps')
|
||||
%small= t('about.apps_platforms')
|
||||
%small= t('about.apps_platforms', title: site_title)
|
||||
|
||||
.landing__grid__column.landing__grid__column-login
|
||||
.box-widget
|
||||
= render 'login'
|
||||
|
||||
.hero-widget
|
||||
.hero-widget__img
|
||||
= image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url || asset_pack_path('media/images/preview.jpg'), alt: @instance_presenter.site_title
|
||||
- if @instance_presenter.hero.present? || @instance_presenter.thumbnail.present?
|
||||
.hero-widget__img
|
||||
= image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url, alt: @instance_presenter.site_title
|
||||
- else
|
||||
%div{:class => ("originalhero")}
|
||||
= svg_logo
|
||||
%h1
|
||||
= link_to root_url, class: 'brand' do
|
||||
= site_title
|
||||
|
||||
.hero-widget__text
|
||||
%p
|
||||
|
||||
Reference in New Issue
Block a user