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

signup-info-prompt
Eugen Rochko 2018-05-19 16:10:55 +02:00 committed by GitHub
parent 587da93152
commit 93c66f0c03
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

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

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'