Skip to content

Commit

Permalink
add facebook icon/link back to global footer (#262)
Browse files Browse the repository at this point in the history
  • Loading branch information
amaisano authored Nov 5, 2019
1 parent b6fcf2c commit a23b501
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
8 changes: 8 additions & 0 deletions apps/site/assets/css/_social.scss
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,14 @@
width: 1.5em;
}

.c-social--facebook {
background-color: $facebook;

.fa {
color: $white;
}
}

.c-social--instagram {
background-color: $white;

Expand Down
3 changes: 2 additions & 1 deletion apps/site/lib/site_web/templates/layout/_footer.html.eex
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,8 @@
<li class="m-footer__group">
<div class="m-footer__group-title">Follow Us Online</div>
<ul class="c-social">
<% social_links = %{"instagram" => "https://www.instagram.com/mbtapics/",
<% social_links = %{"facebook" => "https://www.facebook.com/TheMBTA/",
"instagram" => "https://www.instagram.com/mbtapics/",
"youtube" => "https://www.youtube.com/user/mbtagm/",
"twitter" => "https://twitter.com/MBTA"} %>
<%= for {name, href} <- social_links do %>
Expand Down

0 comments on commit a23b501

Please sign in to comment.