2016-10-06 20:27:58 +01:00
|
|
|
- content_for :header_tags do
|
2019-08-16 18:15:05 +01:00
|
|
|
= render_initial_state
|
2016-10-06 20:27:58 +01:00
|
|
|
|
2016-03-05 22:42:40 +00:00
|
|
|
- content_for :content do
|
2018-07-28 18:25:33 +01:00
|
|
|
.public-layout
|
2019-03-12 16:34:00 +00:00
|
|
|
- unless @hide_navbar
|
|
|
|
.container
|
|
|
|
%nav.header
|
|
|
|
.nav-left
|
|
|
|
= link_to root_url, class: 'brand' do
|
2019-06-08 14:30:06 +01:00
|
|
|
= svg_logo_full
|
2018-12-06 16:36:11 +00:00
|
|
|
|
2019-07-30 10:10:46 +01:00
|
|
|
- unless whitelist_mode?
|
|
|
|
= link_to t('directories.directory'), explore_path, class: 'nav-link optional' if Setting.profile_directory
|
|
|
|
= link_to t('about.about_this'), about_more_path, class: 'nav-link optional'
|
|
|
|
= link_to t('about.apps'), 'https://joinmastodon.org/apps', class: 'nav-link optional'
|
|
|
|
|
2019-03-12 16:34:00 +00:00
|
|
|
.nav-center
|
2019-07-30 10:10:46 +01:00
|
|
|
|
2019-03-12 16:34:00 +00:00
|
|
|
.nav-right
|
|
|
|
- if user_signed_in?
|
|
|
|
= link_to t('settings.back'), root_url, class: 'nav-link nav-button webapp-btn'
|
|
|
|
- else
|
|
|
|
= link_to t('auth.login'), new_user_session_path, class: 'webapp-btn nav-link nav-button'
|
2019-03-14 04:28:30 +00:00
|
|
|
= link_to t('auth.register'), available_sign_up_path, class: 'webapp-btn nav-link nav-button'
|
2018-07-28 18:25:33 +01:00
|
|
|
|
|
|
|
.container= yield
|
|
|
|
|
|
|
|
.container
|
|
|
|
.footer
|
|
|
|
.grid
|
|
|
|
.column-0
|
|
|
|
%h4= t 'footer.resources'
|
|
|
|
%ul
|
|
|
|
%li= link_to t('about.terms'), terms_path
|
|
|
|
%li= link_to t('about.privacy_policy'), terms_path
|
|
|
|
.column-1
|
|
|
|
%h4= t 'footer.developers'
|
|
|
|
%ul
|
2018-10-06 06:33:36 +01:00
|
|
|
%li= link_to t('about.documentation'), 'https://docs.joinmastodon.org/'
|
2020-04-12 12:38:14 +01:00
|
|
|
%li= link_to t('about.api'), 'https://docs.joinmastodon.org/client/intro/'
|
2018-07-28 18:25:33 +01:00
|
|
|
.column-2
|
|
|
|
%h4= link_to t('about.what_is_mastodon'), 'https://joinmastodon.org/'
|
2019-05-27 02:33:39 +01:00
|
|
|
= link_to svg_logo, root_url, class: 'brand'
|
2018-07-28 18:25:33 +01:00
|
|
|
.column-3
|
|
|
|
%h4= site_hostname
|
|
|
|
%ul
|
2021-06-27 21:31:28 +01:00
|
|
|
- unless whitelist_mode?
|
|
|
|
%li= link_to t('about.about_this'), about_more_path
|
2018-07-28 18:25:33 +01:00
|
|
|
%li= "v#{Mastodon::Version.to_s}"
|
|
|
|
.column-4
|
|
|
|
%h4= t 'footer.more'
|
|
|
|
%ul
|
|
|
|
%li= link_to t('about.source_code'), Mastodon::Version.source_url
|
2018-08-19 00:17:44 +01:00
|
|
|
%li= link_to t('about.apps'), 'https://joinmastodon.org/apps'
|
2016-03-05 22:42:40 +00:00
|
|
|
|
2017-05-08 02:35:25 +01:00
|
|
|
= render template: 'layouts/application'
|