{% import 'common/macros/elements.html.twig' as elements %}
{% import 'common/macros/svg.html.twig' as svg %}
{% macro nav(label, href) %}
<li><a href="{{ href }}">{{ label|upper }}</a></li>
{% endmacro %}
{% import _self as _ %}
<footer class="page-footer">
<div class="footer-wrapper">
<div class="logo">
{{ svg.icf_logo }}
</div>
<div class="social-links-wrapper">
{{ elements.heading('footer.follow_us'|trans, 3) }}
<div class="social-links">
{% if data.getFacebookLink() is not defined %}
<a href="https://www.facebook.com/icftechnology" target="_blank" rel="nofollow">
{{ svg.facebook }}
</a>
{% else %}
<a href="{{data.getFacebookLink()}}" target="_blank" rel="nofollow">
{{ svg.facebook }}
</a>
{% endif %}
{% if data.getLinkedinLink() is not defined %}
<a href="https://www.linkedin.com/company/icf-technology/" target="_blank" rel="nofollow">
{{ svg.linkedin }}
</a>
{% else %}
<a href="{{data.getLinkedinLink()}}" target="_blank" rel="nofollow">
{{ svg.linkedin }}
</a>
{% endif %}
</div>
</div>
<div class="quick-links">
{{ elements.heading('footer.quick_links'|trans, 3) }}
<div class="footer-nav">
<ul>
{{ _.nav('common.about_us'|trans, path('about_us_index')) }}
{{ _.nav('common.our_locations'|trans, path('office_index')) }}
{{ _.nav('common.operations'|trans, path('home_index') ~ '#operations') }}
{{ _.nav('common.career'|trans, path('career_index')) }}
{{ _.nav('common.news'|trans, path('news_index')) }}
</ul>
</div>
</div>
<div class="locations">
{{ elements.heading('footer.locations'|trans, 3) }}
<div class="footer-nav">
<ul>
{% for location in getLocations() %}
{{ _.nav(location.getCode(), path('office_show', {'location': location.getCode()})) }}
{% endfor %}
{{ _.nav('common.all'|trans, path('office_index')) }}
</ul>
</div>
</div>
</div>
<div class="footer-bottom">
<div class="footer-bottom-wrapper">
<p class="copyright">Copyright © ICF Technology Inc.</p>
<div class="footer-bottom-nav">
<ul>
<li><a href="{{ path('terms_and_conditions_index') }}">{{ 'common.terms_and_conditions'|trans }}</a></li>
<li><a href="{{ path('privacy_policy_index') }}">{{ 'common.privacy_policy'|trans }}</a></li>
</ul>
</div>
</div>
</div>
</footer>