Commit 62a6f891 by Chris Rodriguez

AC-398 putting edx.org social media links in list, updating styles

parent d794fc5c
...@@ -84,6 +84,15 @@ footer#footer-edx-v3 { ...@@ -84,6 +84,15 @@ footer#footer-edx-v3 {
} }
} }
.social-media-links,
.mobile-app-links {
@extend %ui-no-list;
.list-item {
display: inline-block;
}
}
.mobile-app-links { .mobile-app-links {
@include clearfix(); @include clearfix();
position: relative; position: relative;
......
...@@ -52,22 +52,26 @@ ...@@ -52,22 +52,26 @@
</div> </div>
<div class="external-links"> <div class="external-links">
<div class="social-media-links"> <ul class="social-media-links">
% for link in footer['social_links']: % for link in footer['social_links']:
<li class="list-item">
<a href="${link['url']}" class="sm-link external" title="${link['title']}" rel="noreferrer"> <a href="${link['url']}" class="sm-link external" title="${link['title']}" rel="noreferrer">
<span class="icon fa ${link['icon-class']}" aria-hidden="true"></span> <span class="icon fa ${link['icon-class']}" aria-hidden="true"></span>
<span class="sr">${link['action']}</span> <span class="sr">${link['action']}</span>
</a> </a>
</li>
% endfor % endfor
</div> </ul>
<div class="mobile-app-links"> <ul class="mobile-app-links">
% for link in footer['mobile_links']: % for link in footer['mobile_links']:
<li class="list-item">
<a href="${link['url']}" class="app-link external"> <a href="${link['url']}" class="app-link external">
<img alt="${link['title']}" src="${link['image']}"> <img alt="${link['title']}" src="${link['image']}">
</a> </a>
</li>
% endfor % endfor
</div> </ul>
</div> </div>
</div> </div>
</footer> </footer>
...@@ -91,4 +95,3 @@ ...@@ -91,4 +95,3 @@
% if footer_js_url: % if footer_js_url:
<script type="text/javascript" src="${footer_js_url}"></script> <script type="text/javascript" src="${footer_js_url}"></script>
% endif % endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment