2019-07-02 08:10:25 +01:00
|
|
|
- content_for :header_tags do
|
|
|
|
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
|
|
|
|
|
|
|
|
- content_for :content do
|
|
|
|
.public-layout
|
|
|
|
.background-svg
|
|
|
|
- unless @hide_navbar
|
|
|
|
%nav.header
|
|
|
|
.header-container
|
|
|
|
.nav-left
|
|
|
|
= link_to root_url, class: 'brand' do
|
|
|
|
= image_pack_tag 'gab_logo.svg', alt: 'Gab Social'
|
|
|
|
= link_to t('home'), root_url, class: 'nav-link optional'
|
|
|
|
= link_to t('about.about_this'), about_path, class: 'nav-link'
|
2019-07-04 06:25:43 +01:00
|
|
|
= link_to 'Invest', 'https://invest.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
|
|
|
|
%span= "2019 Gab AI Inc. All Rights Reserved."
|
|
|
|
%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'
|