2019-07-02 08:10:25 +01:00
|
|
|
- content_for :header_tags do
|
|
|
|
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
|
2020-05-04 19:44:37 +01:00
|
|
|
%link(rel='stylesheet' href='/legacy/common.css')
|
|
|
|
%link(rel='stylesheet' href='/legacy/default.css')
|
2019-07-02 08:10:25 +01:00
|
|
|
|
|
|
|
- content_for :content do
|
|
|
|
.public-layout
|
|
|
|
.background-svg
|
|
|
|
- unless @hide_navbar
|
|
|
|
%nav.header
|
|
|
|
.header-container
|
|
|
|
.nav-left
|
|
|
|
= link_to root_url, class: 'brand' do
|
2020-03-12 15:49:16 +00:00
|
|
|
%img(src='/legacy/gab_logo.svg' alt='Gab Social')
|
2019-07-02 08:10:25 +01:00
|
|
|
= link_to t('home'), root_url, class: 'nav-link optional'
|
|
|
|
= link_to t('about.about_this'), about_path, class: 'nav-link'
|
2019-07-31 04:04:05 +01:00
|
|
|
= link_to 'Apps', 'https://apps.gab.com', class: 'nav-link'
|
2019-10-22 01:03:09 +01:00
|
|
|
= link_to 'Trends', 'https://trends.gab.com', class: 'nav-link'
|
2019-07-02 08:10:25 +01:00
|
|
|
.nav-center
|
|
|
|
.nav-right
|
|
|
|
- if user_signed_in?
|
|
|
|
= link_to t('settings.back'), root_url, class: 'nav-link nav-button webapp-btn'
|
|
|
|
- else
|
|
|
|
.hidden-sm
|
|
|
|
= render 'about/login'
|
|
|
|
.visible-sm
|
|
|
|
= link_to t('auth.login'), new_user_session_path, class: 'webapp-btn nav-link nav-button'
|
|
|
|
|
|
|
|
.container= yield
|
|
|
|
|
|
|
|
.footer
|
|
|
|
.footer-container
|
|
|
|
.copyright
|
2020-03-12 15:49:16 +00:00
|
|
|
%span= "2020 Gab AI Inc. All Rights Reserved."
|
2019-07-02 08:10:25 +01:00
|
|
|
%ul
|
|
|
|
%li= link_to t('about.investors'), about_investors_path
|
2019-07-04 06:28:26 +01:00
|
|
|
%li= link_to 'Terms of Sale', about_sales_path
|
|
|
|
%li= link_to 'DMCA', about_dmca_path
|
|
|
|
%li= link_to 'Source Code', about_path + "#opensource"
|
2019-07-04 04:01:14 +01:00
|
|
|
%li= mail_to 'support@gab.com', 'Press'
|
2019-07-04 06:28:26 +01:00
|
|
|
%li= link_to 'Terms of Service', about_tos_path
|
|
|
|
%li= link_to 'Privacy Policy', about_privacy_path
|
2019-07-02 08:10:25 +01:00
|
|
|
|
|
|
|
= render template: 'layouts/application'
|