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

rebase/4.0.0rc2
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 - else
= link_to t('auth.login'), new_user_session_path, class: 'webapp-btn' = 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.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 .container.hero
.heading .heading

View File

@ -33,7 +33,10 @@
- else - else
= link_to t('auth.login'), new_user_session_path, class: 'webapp-btn' = 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.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 .container.hero
.floats .floats