templates/layout/footer.html.twig line 1

Open in your IDE?
  1. {% import 'common/macros/elements.html.twig' as elements %}
  2. {% import 'common/macros/svg.html.twig' as svg %}
  3. {% macro nav(label, href) %}
  4.     <li><a href="{{ href }}">{{ label|upper }}</a></li>
  5. {% endmacro %}
  6. {% import _self as _ %}
  7. <footer class="page-footer">
  8.     <div class="footer-wrapper">
  9.         <div class="logo">
  10.             {{ svg.icf_logo }}
  11.         </div>
  12.         <div class="social-links-wrapper">
  13.             {{ elements.heading('footer.follow_us'|trans, 3) }}
  14.             <div class="social-links">
  15.                 {% if data.getFacebookLink() is not defined %}
  16.                     <a href="https://www.facebook.com/icftechnology" target="_blank" rel="nofollow">
  17.                         {{ svg.facebook }}
  18.                     </a>
  19.                 {% else %}
  20.                     <a href="{{data.getFacebookLink()}}" target="_blank" rel="nofollow">
  21.                         {{ svg.facebook }}
  22.                     </a>
  23.                 {% endif %}
  24.                 {% if data.getLinkedinLink() is not defined %}
  25.                     <a href="https://www.linkedin.com/company/icf-technology/" target="_blank" rel="nofollow">
  26.                         {{ svg.linkedin }}
  27.                     </a>
  28.                 {% else %}
  29.                     <a href="{{data.getLinkedinLink()}}" target="_blank" rel="nofollow">
  30.                         {{ svg.linkedin }}
  31.                     </a>
  32.                 {% endif %}
  33.             </div>
  34.         </div>
  35.         <div class="quick-links">
  36.             {{ elements.heading('footer.quick_links'|trans, 3) }}
  37.             <div class="footer-nav">
  38.                 <ul>
  39.                     {{ _.nav('common.about_us'|trans, path('about_us_index')) }}
  40.                     {{ _.nav('common.our_locations'|trans, path('office_index')) }}
  41.                     {{ _.nav('common.operations'|trans, path('home_index') ~ '#operations') }}
  42.                     {{ _.nav('common.career'|trans, path('career_index')) }}
  43.                     {{ _.nav('common.news'|trans, path('news_index')) }}
  44.                 </ul>
  45.             </div>
  46.         </div>
  47.         <div class="locations">
  48.             {{ elements.heading('footer.locations'|trans, 3) }}
  49.             <div class="footer-nav">
  50.                 <ul>
  51.                     {% for location in getLocations() %}
  52.                         {{ _.nav(location.getCode(), path('office_show', {'location': location.getCode()})) }}
  53.                     {% endfor %}
  54.                     {{ _.nav('common.all'|trans, path('office_index')) }}
  55.                 </ul>
  56.             </div>
  57.         </div>
  58.     </div>
  59.     <div class="footer-bottom">
  60.         <div class="footer-bottom-wrapper">
  61.             <p class="copyright">Copyright © ICF Technology Inc.</p>
  62.             <div class="footer-bottom-nav">
  63.                 <ul>
  64.                     <li><a href="{{ path('terms_and_conditions_index') }}">{{ 'common.terms_and_conditions'|trans }}</a></li>
  65.                     <li><a href="{{ path('privacy_policy_index') }}">{{ 'common.privacy_policy'|trans }}</a></li>
  66.                 </ul>
  67.             </div>
  68.         </div>
  69.     </div>
  70. </footer>