mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-09 08:25:55 +00:00
1488be7d96
Conflicts: - app/controllers/home_controller.rb - app/controllers/shares_controller.rb - app/javascript/packs/public.js - app/models/status.rb - app/serializers/initial_state_serializer.rb - app/views/home/index.html.haml - app/views/layouts/public.html.haml - app/views/public_timelines/show.html.haml - app/views/shares/show.html.haml - app/views/tags/show.html.haml - config/initializers/content_security_policy.rb - config/locales/en.yml - config/webpack/shared.js - package.json
57 lines
2.1 KiB
Plaintext
57 lines
2.1 KiB
Plaintext
- content_for :header_tags do
|
|
= render_initial_state
|
|
|
|
- content_for :content do
|
|
.public-layout
|
|
- unless @hide_navbar
|
|
.container
|
|
%nav.header
|
|
.nav-left
|
|
= link_to root_url, class: 'brand' do
|
|
= svg_logo_full
|
|
|
|
- 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'
|
|
|
|
.nav-center
|
|
|
|
.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'
|
|
= link_to t('auth.register'), available_sign_up_path, class: 'webapp-btn nav-link nav-button'
|
|
|
|
.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
|
|
%li= link_to t('about.documentation'), 'https://docs.joinmastodon.org/'
|
|
%li= link_to t('about.api'), 'https://docs.joinmastodon.org/api/guidelines/'
|
|
.column-2
|
|
%h4= link_to t('about.what_is_mastodon'), 'https://joinmastodon.org/'
|
|
= link_to svg_logo, root_url, class: 'brand'
|
|
.column-3
|
|
%h4= site_hostname
|
|
%ul
|
|
%li= link_to t('about.about_this'), about_more_path
|
|
%li= "v#{Mastodon::Version.to_s}"
|
|
.column-4
|
|
%h4= t 'footer.more'
|
|
%ul
|
|
%li= link_to t('about.source_code'), Mastodon::Version.source_url
|
|
%li= link_to t('about.apps'), 'https://joinmastodon.org/apps'
|
|
|
|
= render template: 'layouts/application'
|