1
0
Fork 1
forked from fedi/mastodon

Added external link icons to joinmastodon navbar buttons (#4368)

This commit is contained in:
Ondřej Hruška 2017-07-26 02:00:36 +02:00 committed by Eugen Rochko
parent 7062cb764f
commit 4115043dc7
2 changed files with 8 additions and 2 deletions

View file

@ -29,7 +29,10 @@
- else
= link_to t('auth.login'), new_user_session_path, class: 'webapp-btn'
%li= link_to t('about.about_this'), about_more_path
%li= link_to t('about.other_instances'), 'https://joinmastodon.org/'
%li
= link_to 'https://joinmastodon.org/' do
= "#{t('about.other_instances')}"
%i.fa.fa-external-link{ style: 'padding-left: 5px;' }
.container.hero
.heading

View file

@ -33,7 +33,10 @@
- else
= link_to t('auth.login'), new_user_session_path, class: 'webapp-btn'
%li= link_to t('about.about_this'), about_more_path
%li= link_to t('about.other_instances'), 'https://joinmastodon.org/'
%li
= link_to 'https://joinmastodon.org/' do
= "#{t('about.other_instances')}"
%i.fa.fa-external-link{ style: 'padding-left: 5px;' }
.container.hero
.floats