Browse Source

hometown logo in footer

pull/19/head
Emma Winston 7 years ago
parent
commit
b51aba95b3
  1. 2
      app/helpers/stream_entries_helper.rb
  2. 1
      app/javascript/images/hometownlogo.svg
  3. 2
      app/javascript/mastodon/features/introduction/index.js
  4. 2
      app/views/layouts/application.html.haml

2
app/helpers/stream_entries_helper.rb

@ -35,7 +35,7 @@ module StreamEntriesHelper
end
def svg_logo
content_tag(:svg, tag(:use, 'xlink:href' => '#mastodon-svg-logo'), 'viewBox' => '0 0 216.4144 232.00976')
content_tag(:svg, tag(:use, 'xlink:href' => '#hometownlogo'), 'viewBox' => '0 0 611.55 611.55')
end
def svg_logo_full

1
app/javascript/images/hometownlogo.svg

File diff suppressed because one or more lines are too long

After

Width:  |  Height:  |  Size: 5.9 KiB

2
app/javascript/mastodon/features/introduction/index.js

@ -8,7 +8,7 @@ import { closeOnboarding } from '../../actions/onboarding';
import screenHello from '../../../images/screen_hello.svg';
import screenFederation from '../../../images/screen_federation.svg';
import screenInteractions from '../../../images/screen_interactions.svg';
import logoTransparent from '../../../images/logo_transparent.svg';
import hometownlogo from '../../../images/hometownlogo.svg';
const FrameWelcome = ({ domain, onNext }) => (
<div className='introduction__frame'>

2
app/views/layouts/application.html.haml

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

Loading…
Cancel
Save