templates/app/base/footer/footer.html.twig line 1

Open in your IDE?
  1. {% set twig_img_path = absolute_url('/media/image/') %}
  2. {% set footerFinalItemSection = footerFinalItemSection() %}
  3. {% set footerSections = footerSections() %}
  4. <div class="d-flex flex-sm-row flex-column my-0 px-0 hf-70 page-wrapper">
  5.     <div class="d-flex flex-sm-row flex-column h-100 w-100 {% if is_mobile() %}pt-3{% endif %}">
  6.         {% if footerSections|default(null) %}
  7.             {% set itemWidth = 12 / footerSections|length %}
  8.             {% for key, section in footerSections %}
  9.                 {% set imageSource = twig_img_path ~ section.sectionImage.path %}
  10.                 {% include '@App/app/base/footer/item.html.twig' with {
  11.                     'imageSource': imageSource,
  12.                     'content': section.content,
  13.                     'itemWidth': itemWidth
  14.                 } %}
  15.             {% endfor %}
  16.         {% endif %}
  17.     </div>
  18.     {% if footerFinalItemSection|default(null) %}
  19.         <div class="d-flex flex-sm-row flex-column{% if not is_mobile() %} w-10 blw-60{% else %} w-15 pt-2 pb-3{% endif %}">
  20.             {% set imageSource = twig_img_path ~ footerFinalItemSection.sectionImage.path %}
  21.             {% include '@App/app/base/footer/final_item.html.twig' with {
  22.                 'imageSource': imageSource,
  23.                 'link': footerFinalItemSection.slug,
  24.                 'itemWidth': 12
  25.             } %}
  26.         </div>
  27.     {% endif %}
  28. </div>
  29. <div class="d-flex align-items-center justify-content-center h-18-p w-100 bg-dark-blue">
  30.     <div class="ff-os-bold fs-12 text-white h-100">
  31.         {{ 'base.footer.disclaimer.content'|trans|upper }}
  32.     </div>
  33. </div>