Switch out old hometown logo for new one

Also tidies up a bunch of svgs that were hardcoded and shouldn't have been
This commit is contained in:
Emma Winston
2019-10-02 00:57:31 +01:00
parent 08f6148334
commit 682afe8d2d
10 changed files with 51 additions and 17 deletions

View File

@ -8,9 +8,15 @@
.grid-3
.column-0
.public-account-header.public-account-header--no-bar
- if @instance_presenter.hero.present? || @instance_presenter.thumbnail.present?
.public-account-header__image
.public-account-header__image
- if @instance_presenter.hero.present? || @instance_presenter.thumbnail.present?
= image_tag @instance_presenter.hero&.file&.url || @instance_presenter.thumbnail&.file&.url, alt: @instance_presenter.site_title, class: 'parallax'
- else
%div{:class => ("originalheader")}
= svg_logo
%h1
= link_to root_url, class: 'brand' do
= site_title
.column-1
.landing-page__call-to-action{ dir: 'ltr' }

View File

@ -35,5 +35,5 @@
= content_for?(:content) ? yield(:content) : yield
%div{ style: 'display: none'}
= render file: Rails.root.join('app', 'javascript', 'images', 'hometownlogo.svg')
= render file: Rails.root.join('app', 'javascript', 'images', 'hometown.svg')
= render file: Rails.root.join('app', 'javascript', 'images', 'logo_full.svg')