custom/apps/AtlKatanaTheme/Resources/views/storefront/layout/footer/footer.html.twig line 1

Open in your IDE?
  1. {% sw_extends "@Storefront/storefront/layout/footer/footer.html.twig" %}
  2. {% block layout_footer_navigation %}
  3.     <div id="footerColumns"
  4.          class="row footer-columns"
  5.          data-collapse-footer="true"
  6.          role="list">
  7.         {% block layout_footer_navigation_columns %}
  8.             {% set columnElements = [
  9.                 theme_config('atl-footer-columns-element-one'),
  10.                 theme_config('atl-footer-columns-element-two'),
  11.                 theme_config('atl-footer-columns-element-three'),
  12.                 theme_config('atl-footer-columns-element-four'),
  13.                 theme_config('atl-footer-columns-element-five')
  14.             ] %}
  15.             {% set sanitizedColumnElements = [] %}
  16.             {% for element in columnElements %}
  17.                 {% if element not in sanitizedColumnElements and element != 'none' %}
  18.                     {% set sanitizedColumnElements = sanitizedColumnElements|merge([element]) %}
  19.                 {% endif %}
  20.             {% endfor %}
  21.             {% for element in sanitizedColumnElements %}
  22.                 {% sw_include "@Storefront/storefront/skin/global/layout/footer/column/" ~ element ~ ".html.twig" ignore missing %}
  23.             {% endfor %}
  24.         {% endblock %}
  25.     </div>
  26. {% endblock %}
  27. {% block layout_footer_payment_shipping_logos %}{% endblock %}
  28. {% block layout_footer_bottom %}
  29.     <div class="container">
  30.         {% block layout_footer_bottom_inner %}
  31.             {% set leftBottomElements = [
  32.                 theme_config('atl-footer-bottom-element-one'),
  33.                 theme_config('atl-footer-bottom-element-two')
  34.             ] %}
  35.             {% set sanitizedLeftBottomElements = [] %}
  36.             {% for element in leftBottomElements %}
  37.                 {% if element not in sanitizedLeftBottomElements and element != 'none' %}
  38.                     {% set sanitizedLeftBottomElements = sanitizedLeftBottomElements|merge([element]) %}
  39.                 {% endif %}
  40.             {% endfor %}
  41.             {% set rightBottomElements = [
  42.                 theme_config('atl-footer-bottom-element-three'),
  43.                 theme_config('atl-footer-bottom-element-four')
  44.             ] %}
  45.             {% set sanitizedRightBottomElements = [] %}
  46.             {% for element in rightBottomElements %}
  47.                 {% if element not in sanitizedRightBottomElements and element != 'none' %}
  48.                     {% set sanitizedRightBottomElements = sanitizedRightBottomElements|merge([element]) %}
  49.                 {% endif %}
  50.             {% endfor %}
  51.             <div class="footer-bottom">
  52.                 {% block layout_footer_bottom_row %}
  53.                     <div class="row justify-content-between">
  54.                         {% block layout_footer_bottom_column_left %}
  55.                             <div class="col-12 col-md-6 order-1 order-md-0">
  56.                                 <div class="footer-bottom-column-left-elements d-flex justify-content-center justify-content-md-start align-items-center flex-column flex-md-row flex-md-wrap h-100">
  57.                                     {% block layout_footer_bottom_column_left_elements %}
  58.                                         {% for element in sanitizedLeftBottomElements %}
  59.                                             {% sw_include "@Storefront/storefront/skin/global/layout/footer/bottom/" ~ element ~ ".html.twig" ignore missing %}
  60.                                         {% endfor %}
  61.                                     {% endblock %}
  62.                                 </div>
  63.                             </div>
  64.                         {% endblock %}
  65.                         {% block layout_footer_bottom_column_right %}
  66.                             <div class="col-12 col-md-6 order-0 order-md-1">
  67.                                 <div class="footer-bottom-column-right-elements d-flex justify-content-center justify-content-md-end align-items-center flex-column flex-md-row flex-md-wrap h-100">
  68.                                     {% block layout_footer_bottom_column_right_elements %}
  69.                                         {% for element in sanitizedRightBottomElements %}
  70.                                             {% if element not in sanitizedLeftBottomElements %}
  71.                                                 {% sw_include "@Storefront/storefront/skin/global/layout/footer/bottom/" ~ element ~ ".html.twig" ignore missing %}
  72.                                             {% endif %}
  73.                                         {% endfor %}
  74.                                     {% endblock %}
  75.                                 </div>
  76.                             </div>
  77.                         {% endblock %}
  78.                     </div>
  79.                 {% endblock %}
  80.             </div>
  81.         </div>
  82.     {% endblock %}
  83.     {% block layout_footer_closure %}
  84.         <div class="footer-closure">
  85.             {% block layout_footer_copyright %}
  86.                 {% if theme_config('atl-footer-closure-copyright') == 'above' %}
  87.                     <div class="footer-copyright text-center mb-3">
  88.                         {{ 'atl-katana-theme.footer.copyright'|trans({'%year%': "now"|date("Y") })|sw_sanitize }}
  89.                     </div>
  90.                 {% endif %}
  91.             {% endblock %}
  92.             {% block layout_footer_vat %}
  93.                 {{ parent() }}
  94.             {% endblock %}
  95.         </div>
  96.     {% endblock %}
  97. {% endblock %}