1
0
mirror of https://github.com/whippyshou/mastodon synced 2024-12-18 00:29:06 +09:00
whippy-edition/app/views/about/show.html.haml

88 lines
3.1 KiB
Plaintext
Raw Normal View History

2017-01-10 03:43:53 +09:00
- content_for :header_tags do
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
2017-01-10 03:43:53 +09:00
- content_for :page_title do
= site_hostname
- content_for :header_tags do
%meta{ property: 'og:site_name', content: site_title }/
%meta{ property: 'og:url', content: about_url }/
%meta{ property: 'og:type', content: 'website' }/
%meta{ property: 'og:title', content: site_hostname }/
%meta{ property: 'og:description', content: strip_tags(@instance_presenter.site_description.presence || t('about.about_mastodon')) }/
%meta{ property: 'og:image', content: asset_pack_path('mastodon_small.jpg') }/
2016-12-15 09:07:58 +09:00
%meta{ property: 'og:image:width', content: '400' }/
%meta{ property: 'og:image:height', content: '400' }/
%meta{ property: 'twitter:card', content: 'summary' }/
2016-09-28 06:12:33 +09:00
.wrapper
%h1
= image_tag asset_pack_path('logo.png')
= Setting.site_title
2016-09-28 06:12:33 +09:00
%p= t('about.about_mastodon').html_safe
2016-09-28 06:12:33 +09:00
2017-03-22 03:18:37 +09:00
.screenshot-with-signup
.mascot= image_tag asset_pack_path('fluffy-elephant-friend.png')
2017-03-22 03:18:37 +09:00
- if @instance_presenter.open_registrations
= render 'registration'
- else
.closed-registrations-message
- if @instance_presenter.closed_registrations_message.blank?
%p= t('about.closed_registrations')
- else
= @instance_presenter.closed_registrations_message.html_safe
.info
= link_to t('auth.login'), new_user_session_path, class: 'webapp-btn'
·
= link_to t('about.other_instances'), 'https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/List-of-Mastodon-instances.md'
·
= link_to t('about.about_this'), about_more_path
2017-03-22 03:18:37 +09: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'
- unless @instance_presenter.site_description.blank?
%h3= t('about.description_headline', domain: site_hostname)
%p= @instance_presenter.site_description.html_safe
2016-09-28 06:12:33 +09:00
.actions
.info
= link_to t('about.terms'), terms_path
2017-03-18 04:49:34 +09:00
·
= link_to t('about.apps'), 'https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/Apps.md'
2017-03-18 04:49:34 +09:00
·
= link_to t('about.source_code'), 'https://github.com/tootsuite/mastodon'
2017-03-18 04:49:34 +09:00
·
= link_to t('about.other_instances'), 'https://github.com/tootsuite/documentation/blob/master/Using-Mastodon/List-of-Mastodon-instances.md'