Browse Source

In footer, replace text "Mastodon" with logo (#7545)

pull/4/head
Eugen Rochko 6 years ago
committed by GitHub
parent
commit
93c66f0c03
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions
  1. +8
    -0
      app/javascript/styles/mastodon/footer.scss
  2. +1
    -1
      app/views/layouts/public.html.haml

+ 8
- 0
app/javascript/styles/mastodon/footer.scss View File

@ -26,5 +26,13 @@
text-decoration: none;
}
}
img {
margin: 0 4px;
position: relative;
bottom: -1px;
height: 18px;
vertical-align: top;
}
}
}

+ 1
- 1
app/views/layouts/public.html.haml View File

@ -12,6 +12,6 @@
- else
%span.footer__domain= link_to site_hostname, root_path
%span.powered-by
!= t('generic.powered_by', link: link_to('Mastodon', 'https://joinmastodon.org'))
!= t('generic.powered_by', link: link_to('https://joinmastodon.org') { image_tag asset_pack_path('logo_full.svg'), alt: 'Mastodon' })
= render template: 'layouts/application'

Loading…
Cancel
Save