2017-01-09 18:43:53 +00:00
|
|
|
- content_for :header_tags do
|
2017-05-03 00:04:16 +00:00
|
|
|
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
|
2017-01-09 18:43:53 +00:00
|
|
|
|
2016-10-13 23:03:12 +00:00
|
|
|
- content_for :page_title do
|
2017-04-17 22:16:32 +00:00
|
|
|
= site_hostname
|
2016-10-13 23:03:12 +00:00
|
|
|
|
2016-12-14 23:59:49 +00:00
|
|
|
- content_for :header_tags do
|
2017-04-08 10:15:40 +00:00
|
|
|
%meta{ property: 'og:site_name', content: site_title }/
|
2017-04-22 15:29:46 +00:00
|
|
|
%meta{ property: 'og:url', content: about_url }/
|
2016-12-14 23:59:49 +00:00
|
|
|
%meta{ property: 'og:type', content: 'website' }/
|
2017-04-17 22:16:32 +00:00
|
|
|
%meta{ property: 'og:title', content: site_hostname }/
|
2017-04-17 21:19:45 +00:00
|
|
|
%meta{ property: 'og:description', content: strip_tags(@instance_presenter.site_description.presence || t('about.about_mastodon')) }/
|
2017-06-16 20:38:26 +00:00
|
|
|
%meta{ property: 'og:image', content: asset_pack_path('mastodon_small.jpg', protocol: :request) }/
|
2016-12-15 00:07:58 +00:00
|
|
|
%meta{ property: 'og:image:width', content: '400' }/
|
|
|
|
%meta{ property: 'og:image:height', content: '400' }/
|
2017-01-05 22:47:40 +00:00
|
|
|
%meta{ property: 'twitter:card', content: 'summary' }/
|
2016-12-14 23:59:49 +00:00
|
|
|
|
2016-09-27 21:12:33 +00:00
|
|
|
.wrapper
|
|
|
|
%h1
|
2017-06-19 01:23:25 +00:00
|
|
|
= image_tag asset_pack_path('logo.png')
|
2017-04-15 11:28:09 +00:00
|
|
|
= Setting.site_title
|
2016-09-27 21:12:33 +00:00
|
|
|
|
2017-05-08 01:35:25 +00:00
|
|
|
%p!= t('about.about_mastodon')
|
2016-09-27 21:12:33 +00:00
|
|
|
|
2017-03-21 18:18:37 +00:00
|
|
|
.screenshot-with-signup
|
2017-05-03 00:04:16 +00:00
|
|
|
.mascot= image_tag asset_pack_path('fluffy-elephant-friend.png')
|
2017-03-21 18:18:37 +00:00
|
|
|
|
2017-04-09 12:47:25 +00:00
|
|
|
- if @instance_presenter.open_registrations
|
|
|
|
= render 'registration'
|
2017-04-04 13:26:57 +00:00
|
|
|
- else
|
|
|
|
.closed-registrations-message
|
2017-04-09 12:47:25 +00:00
|
|
|
- if @instance_presenter.closed_registrations_message.blank?
|
2017-04-04 13:26:57 +00:00
|
|
|
%p= t('about.closed_registrations')
|
|
|
|
- else
|
2017-05-08 01:35:25 +00:00
|
|
|
!= @instance_presenter.closed_registrations_message
|
2017-04-04 13:26:57 +00:00
|
|
|
.info
|
|
|
|
= link_to t('auth.login'), new_user_session_path, class: 'webapp-btn'
|
|
|
|
·
|
2017-05-29 00:09:12 +00:00
|
|
|
= link_to t('about.other_instances'), 'https://instances.mastodon.xyz/'
|
2017-04-04 13:26:57 +00:00
|
|
|
·
|
|
|
|
= link_to t('about.about_this'), about_more_path
|
2017-03-21 18:18:37 +00:00
|
|
|
|
|
|
|
%h3= t('about.features_headline')
|
|
|
|
|
|
|
|
.features-list
|
|
|
|
.features-list__column
|
|
|
|
%ul.fa-ul
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.chronology'
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.public'
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.characters'
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.gifv'
|
|
|
|
.features-list__column
|
|
|
|
%ul.fa-ul
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.privacy'
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.blocks'
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.ethics'
|
|
|
|
%li
|
|
|
|
= fa_icon('li check-square')
|
|
|
|
= t 'about.features.api'
|
2016-11-01 15:58:13 +00:00
|
|
|
|
2017-04-09 12:47:25 +00:00
|
|
|
- unless @instance_presenter.site_description.blank?
|
2017-04-17 22:16:32 +00:00
|
|
|
%h3= t('about.description_headline', domain: site_hostname)
|
2017-05-08 01:35:25 +00:00
|
|
|
%p!= @instance_presenter.site_description
|
2017-01-12 19:46:24 +00:00
|
|
|
|
2016-09-27 21:12:33 +00:00
|
|
|
.actions
|
2016-11-01 15:58:13 +00:00
|
|
|
.info
|
2016-11-15 22:56:03 +00:00
|
|
|
= link_to t('about.terms'), terms_path
|
2017-03-17 19:49:34 +00:00
|
|
|
·
|
2017-04-11 19:57:05 +00:00
|
|
|
= link_to t('about.apps'), 'https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/Apps.md'
|
2017-03-17 19:49:34 +00:00
|
|
|
·
|
2017-05-29 00:09:12 +00:00
|
|
|
= link_to t('about.source_code'), 'https://github.com/chronister/mastodon'
|
2017-03-17 19:49:34 +00:00
|
|
|
·
|
2017-05-29 00:09:12 +00:00
|
|
|
= link_to t('about.other_instances'), 'https://instances.mastodon.xyz/'
|