Skip to content

Commit f1ed852

Browse files
safakferhatkayaenderahmetyurt
authored andcommitted
Font awesome' brand icons could not be displayed issue fixed
1 parent 2caa619 commit f1ed852

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

app/views/companies/index.html.erb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<% end %>
1515
<% else %>
1616
<%= link_to user_github_omniauth_authorize_path, class: 'btn btn-github', method: :post do %>
17-
<%= fa_icon "github", text: "Yeni firma eklemek için GitHub ile giriş yapın" %>
17+
<%= fab_icon "github", text: "Yeni firma eklemek için GitHub ile giriş yapın" %>
1818
<% end %>
1919
<% end %>
2020
</div>
@@ -37,10 +37,10 @@
3737
<td>
3838
<%= link_to fa_icon("globe"), "http://#{company.url}", target: "_blank" %>
3939
<% if company.github.present? %>
40-
<%= link_to fa_icon("github"), "http://github.com/#{company.github}", target: "_blank" %>
40+
<%= link_to fab_icon("github"), "http://github.com/#{company.github}", target: "_blank" %>
4141
<% end %>
4242
<% if company.twitter.present? %>
43-
<%= link_to fa_icon("twitter"), "http://twitter.com/#{company.twitter}", target: "_blank" %>
43+
<%= link_to fab_icon("twitter"), "http://twitter.com/#{company.twitter}", target: "_blank" %>
4444
<% end %>
4545
</td>
4646
</tr>

app/views/devise/registrations/edit.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<h2>Profilini Düzenle</h2>
66
<%= render "shared/notice" %>
77
<%= link_to destroy_user_session_path, method: :delete, class: "btn btn-github" do %>
8-
<i class="fa fa-github"></i> Çıkış Yap
8+
<i class="fab fa-github"></i> Çıkış Yap
99
<% end %>
1010
</div>
1111
<%= form_for(resource, as: resource_name, url: registration_path(resource_name), html: { method: :put }) do |f| %>

app/views/shared/_footer.html.erb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
<div class="lg-2-1">&copy; <%= Time.now.year %> - Ruby Türkiye</div>
55
<div class="lg-2-1 text-right">
66
<%= link_to "https://twitter.com/ruby_turkiye", target: "_blank" do %>
7-
<%= fa_icon "twitter", text: "Twitter" %>
7+
<%= fab_icon "twitter", text: "Twitter" %>
88
<% end %>
99
<%= link_to 'https://www.meetup.com/Ruby-Turkiye/', target: '_blank' do %>
10-
<%= fa_icon 'meetup', text: 'Meetup' %>
10+
<%= fab_icon 'meetup', text: 'Meetup' %>
1111
<% end %>
1212
<%= link_to 'https://www.facebook.com/rubyturkiye', target: '_blank' do %>
13-
<%= fa_icon 'facebook', text: 'Facebook' %>
13+
<%= fab_icon 'facebook', text: 'Facebook' %>
1414
<% end %>
1515
<%= link_to "https://github.com/rubytr", target: "_blank" do %>
16-
<%= fa_icon "github", text: "Github" %>
16+
<%= fab_icon "github", text: "Github" %>
1717
<% end %>
1818
<%= link_to "https://kommunity.com/ruby-turkiye", target: "_blank" do %>
1919
<%= fa_icon "users", text: "Kommunity" %>

app/views/users/_user.html.erb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@
66
<h3><%= user.name %></h3>
77
<% unless user.twitter.blank? %>
88
<%= link_to twitter_url(user), class: "link", target: "blank", title: "Twitter" do %>
9-
<i class="fa fa-twitter fa-2x"></i>
9+
<i class="fab fa-twitter fa-2x"></i>
1010
<% end %>
1111
<% end %>
1212
<% unless user.github.blank? %>
1313
<%= link_to github_url(user), class: "link", target: "blank", title: "Github" do %>
14-
<i class="fa fa-github fa-2x"></i>
14+
<i class="fab fa-github fa-2x"></i>
1515
<% end %>
1616
<% end %>
1717
<% unless user.web.blank? %>

app/views/users/index.html.erb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<div class="lg-12-3">
99
<% unless current_user %>
1010
<%= link_to user_github_omniauth_authorize_path, class: "btn btn-github" do %>
11-
<i class="fa fa-github"></i> Github ile Giriş Yap
11+
<i class="fab fa-github"></i> Github ile Giriş Yap
1212
<% end %>
1313
<% end %>
1414
<br/>

0 commit comments

Comments
 (0)