Restore legacy dark theme to non-React pages

This commit is contained in:
Alex Gleason 2020-03-12 10:49:16 -05:00
parent 7712ebdbbd
commit 5661277d9d
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
13 changed files with 32 additions and 3 deletions

View File

@ -10,7 +10,7 @@
.landing-columns--left .landing-columns--left
.landing__brand .landing__brand
= link_to root_url, class: 'brand' do = link_to root_url, class: 'brand' do
-# = image_pack_tag 'gab_logo.svg', alt: 'Gab Social' %img(src='/legacy/gab_logo.svg' alt='Gab Social')
%span.brand__tagline=t 'about.tagline' %span.brand__tagline=t 'about.tagline'
.landing-columns--right .landing-columns--right

View File

@ -1,5 +1,7 @@
- content_for :header_tags do - content_for :header_tags do
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous' = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
%link(rel='stylesheet' href='/legacy/common-05893041.css')
%link(rel='stylesheet' href='/legacy/default-558fca16.chunk.css')
- content_for :content do - content_for :content do
.admin-wrapper .admin-wrapper

View File

@ -1,5 +1,7 @@
- content_for :header_tags do - content_for :header_tags do
= javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous' = javascript_pack_tag 'public', integrity: true, crossorigin: 'anonymous'
%link(rel='stylesheet' href='/legacy/common-05893041.css')
%link(rel='stylesheet' href='/legacy/default-558fca16.chunk.css')
- content_for :content do - content_for :content do
.public-layout .public-layout
@ -9,7 +11,7 @@
.header-container .header-container
.nav-left .nav-left
= link_to root_url, class: 'brand' do = link_to root_url, class: 'brand' do
-# = image_pack_tag 'gab_logo.svg', alt: 'Gab Social' %img(src='/legacy/gab_logo.svg' alt='Gab Social')
= link_to t('home'), root_url, class: 'nav-link optional' = link_to t('home'), root_url, class: 'nav-link optional'
= link_to t('about.about_this'), about_path, class: 'nav-link' = link_to t('about.about_this'), about_path, class: 'nav-link'
= link_to 'Apps', 'https://apps.gab.com', class: 'nav-link' = link_to 'Apps', 'https://apps.gab.com', class: 'nav-link'
@ -29,7 +31,7 @@
.footer .footer
.footer-container .footer-container
.copyright .copyright
%span= "2019 Gab AI Inc. All Rights Reserved." %span= "2020 Gab AI Inc. All Rights Reserved."
%ul %ul
%li= link_to t('about.investors'), about_investors_path %li= link_to t('about.investors'), about_investors_path
%li= link_to 'Terms of Sale', about_sales_path %li= link_to 'Terms of Sale', about_sales_path

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 23.0.2, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
width="50px" height="30px" viewBox="0 0 50 30" style="enable-background:new 0 0 50 30;" xml:space="preserve">
<style type="text/css">
.st0{fill-rule:evenodd;clip-rule:evenodd;fill:#21CF7A;}
</style>
<g>
<path class="st0" d="M13.8,7.6h-2.4v0.7V9l-0.4-0.3C10.2,7.8,9,7.2,7.7,7.2c-0.2,0-0.4,0-0.4,0c-0.1,0-0.3,0-0.5,0
c-5.6,0.3-8.7,7.2-5.4,12.1c2.3,3.4,7.1,4.1,9.7,1.5l0.3-0.3l0,0.7c0,1-0.1,1.5-0.4,2.2c-1,2.4-4.1,3-6.8,1.3
c-0.2-0.1-0.4-0.2-0.4-0.2c-0.1,0.1-1.9,3.5-1.9,3.6c0,0.1,0.5,0.4,0.8,0.6c2.2,1.4,5.6,1.7,8.3,0.8c2.7-0.9,4.5-3.2,5-6.4
c0.2-1.1,0.2-0.8,0.2-8.4l0-7.1H13.8z M9.7,17.6c-2.2,1.2-4.9-0.4-4.9-2.9C4.8,12.6,7,11,9,11.6C11.8,12.4,12.3,16.1,9.7,17.6z"/>
<path class="st0" d="M45.6,7.7c-2.4-1-5-0.6-6.7,1L38.6,9V4.5V0h-2.4h-2.4v11v11h2.4h2.4v-0.7v-0.7l0.3,0.3
c2.4,2.4,6.9,1.9,9.3-0.9C51.5,15.9,50.1,9.6,45.6,7.7z M43.7,17.5c-2.1,1.4-5.1-0.2-5.1-2.8c0-2.1,1.9-3.7,3.9-3.3
C45.4,12.1,46.2,15.8,43.7,17.5z"/>
<path class="st0" d="M31.5,12.5c-0.7-3.7-3.1-5.5-7.1-5.3c-1.7,0.1-4,0.7-4.8,1.4l-0.1,0.1l0.7,1.7c0.4,0.9,0.7,1.7,0.7,1.7
c0,0,0.1,0,0.2-0.1c2.7-1.4,5.4-0.9,5.6,1.1l0,0.2l-0.4-0.1c-3-0.8-6.3-0.1-7.7,1.6c-1.8,2.2-0.9,5.8,1.7,7.1
c2.1,1,4.6,0.6,6.1-0.8l0.2-0.2v0.6v0.6h2.4h2.4v-4C31.7,13.7,31.7,13.3,31.5,12.5z M26.9,16.4c-0.1,0.7-0.5,1.5-1,2
c-1.2,1.1-3,0.7-3.2-0.7c-0.2-1,0.6-1.7,2-1.8c0.1,0,0.2,0,0.2,0c0,0,0.2,0,0.4,0c0.5,0,1,0.1,1.4,0.2l0.3,0.1L26.9,16.4z"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

File diff suppressed because one or more lines are too long