Skip to content

Commit e878855

Browse files
committed
Cosmetic change on links in footer
1 parent 6003425 commit e878855

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

app/views/shared/_footer.html.erb

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,24 +16,24 @@
1616
</h2>
1717

1818
<h2>
19-
<a href="http://news.coderdojo.jp/" target="_blank" rel="external noopener">
19+
<%= link_to news_url do %>
2020
<i class="fa fa-newspaper-o fa-3x fa-fw" aria-hidden="true" title="News"></i>
21-
</a>
22-
<a href="https://www.facebook.com/coderdojo.jp/">
21+
<% end %>
22+
<%= link_to "https://www.facebook.com/coderdojo.jp/" do %>
2323
<i class="fa fa-facebook fa-3x fa-fw" aria-hidden="true" title="Facebook"></i>
24-
</a>
25-
<a href="https://twitter.com/CoderDojoJapan">
24+
<% end %>
25+
<%= link_to "https://twitter.com/CoderDojoJapan" do %>
2626
<i class="fa fa-twitter fa-3x fa-fw" aria-hidden="true" title="Twitter"></i>
27-
</a>
28-
<a href="https://www.youtube.com/CoderDojoJapan">
27+
<% end %>
28+
<%= link_to "https://www.youtube.com/CoderDojoJapan" do %>
2929
<i class="fa fa-youtube fa-3x fa-fw" aria-hidden="true" title="YouTube"></i>
30-
</a>
31-
<a href="/podcasts">
30+
<% end %>
31+
<%= link_to podcasts_path do %>
3232
<i class="fa fa-podcast fa-3x fa-fw" aria-hidden="true" title="Podcast"></i>
33-
</a>
34-
<a href="/english">
33+
<% end %>
34+
<%= link_to english_path do %>
3535
<i class="fa fa-globe fa-3x fa-fw" aria-hidden="true" title="English"></i>
36-
</a>
36+
<% end %>
3737
</h2>
3838

3939
<p style="margin-bottom: 30px;">

0 commit comments

Comments
 (0)