custom/plugins/ThemeOkeonline/src/Resources/views/storefront/layout/footer/versions/version-02/footer.html.twig line 1

Open in your IDE?
  1. {% extends '@Storefront/storefront/layout/footer/footer.html.twig' %}
  2. {% block layout_footer_inner_container %}
  3.     <div class="footer-container">
  4.         {% if theme_config('footerSettingsLayoutDisplayFooterTop') %}
  5.             {% block layout_footer_top %}
  6.                 <div class="footer-top">
  7.                     {% block layout_footer_top_container %}
  8.                         <div class="{% if theme_config('footerStylesLayoutContainer') == 'boxed' %}container{% else %}container-fluid{% endif %}">
  9.                             <div class="row justify-content-between">
  10.                                 {% set serviceMdSize = 8 %}
  11.                                 {% set serviceLgSize = 6 %}
  12.                                 {% if theme_config('footerStylesLayoutCustomerServiceOccupyImageWhitespace') %}
  13.                                     {% if theme_config('footerStylesLayoutFooterServiceImage') is empty %}
  14.                                         {% set serviceLgSize = serviceLgSize + 3 %}
  15.                                     {% endif %}
  16.                                 {% endif %}
  17.                                 {% if theme_config('footerStylesLayoutCustomerServiceOccupyNewsletterWhitespace') %}
  18.                                     {% if theme_config('footerSettingsNewsletterForm') is empty %}
  19.                                         {% set serviceMdSize = serviceMdSize + 4 %}
  20.                                         {% set serviceLgSize = serviceLgSize + 3 %}
  21.                                     {% endif %}
  22.                                 {% endif %}
  23.                                 {% if theme_config('footerStylesLayoutFooterServiceImage') or theme_config('footerStylesLayoutCustomerServiceOccupyImageWhitespace') is false %}
  24.                                     {% block base_footer_column_1_wrapper %}
  25.                                         <div class="col-lg-3 d-none d-lg-flex align-items-end pl-0 pr-0"> {#col-lg-2#}   
  26.                                             {% block base_footer_service_image_wrapper %}                                        
  27.                                                 {% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with { 
  28.                                                     footerContent: theme_config('footerStylesLayoutFooterTopLeft'),
  29.                                                     footerImage: theme_config('footerStylesLayoutFooterServiceImage'),
  30.                                                     footerLocation: 'top',
  31.                                                 } %}
  32.                                             {% endblock %}
  33.                                         </div>
  34.                                     {% endblock %}
  35.                                 {% endif %}
  36.                                 {% block base_footer_column_2_wrapper %}
  37.                                     <div class="col-12 col-sm-12 col-md-{{ serviceMdSize }} col-lg-{{ serviceLgSize }}"> {#offset-lg-1#}
  38.                                         {% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with { 
  39.                                             footerContent: theme_config('footerStylesLayoutFooterTopCenter'),
  40.                                             footerImage: theme_config('footerStylesLayoutFooterServiceImage'),
  41.                                             footerLocation: 'top',
  42.                                         } %}
  43.                                     </div>
  44.                                 {% endblock %}
  45.                                 {% if theme_config('footerSettingsNewsletterForm') or theme_config('footerStylesLayoutCustomerServiceOccupyNewsletterWhitespace') is false %}
  46.                                     {% block base_footer_column_3_wrapper %}
  47.                                         <div class="col-12 col-sm-12 col-md-4 col-lg-3 d-block d-sm-none d-md-block d-lg-block">
  48.                                             {% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with { 
  49.                                                 footerContent: theme_config('footerStylesLayoutFooterTopRight'),
  50.                                                 footerImage: theme_config('footerStylesLayoutFooterServiceImage'),
  51.                                                 footerLocation: 'top',
  52.                                             } %}
  53.                                         </div>
  54.                                     {% endblock %}
  55.                                 {% endif %}
  56.                             </div>
  57.                         </div>
  58.                     {% endblock %}
  59.                 </div>
  60.             {% endblock %}
  61.         {% endif %}
  62.         {# Footer navigation tree #}
  63.         {% if theme_config('footerSettingsLayoutDisplayFooterCenter') %}
  64.             {% block layout_footer_center %}
  65.                 <div class="footer-center">
  66.                     {% block layout_footer_center_container %}
  67.                         <div class="{% if theme_config('footerStylesLayoutContainer') == 'boxed' %}container{% else %}container-fluid{% endif %}">
  68.                             {% block layout_footer_navigation %}
  69.                                 <div class="row">
  70.                                     <div id="footerColumns"
  71.                                         class="row footer-columns {% if theme_config('footerStylesLayoutFooterCenterRight') != 'none' %}col-12 col-md-9{% else %}col-12{% endif %}"
  72.                                         data-collapse-footer="true">
  73.                                         {% block layout_footer_navigation_columns %}
  74.                                             {% for root in page.footer.navigation.tree %}
  75.                                                 {% block layout_footer_navigation_column %}
  76.                                                     <div class="col-md-3 footer-column js-footer-column">
  77.                                                         {% block layout_footer_navigation_information_headline %}
  78.                                                             <div class="footer-column-headline footer-headline js-collapse-footer-column-trigger {{ theme_config('footerStylesFooterCenterTitleFont') }}"
  79.                                                                 data-target="#collapseFooterTitle{{ loop.index }}"
  80.                                                                 aria-expanded="false"
  81.                                                                 role="navigation"
  82.                                                                 aria-controls="collapseFooter{{ loop.index }}">
  83.                                                                 {% if root.category.type == 'folder' %}
  84.                                                                     {{ root.category.translated.name }}
  85.                                                                 {% else %}
  86.                                                                     <a href="{{ category_url(root.category) }}"
  87.                                                                     {% if category_linknewtab(root.category) %}target="_blank"{% endif %}
  88.                                                                     title="{{ root.category.translated.name }}">
  89.                                                                         {{ root.category.translated.name }}
  90.                                                                     </a>
  91.                                                                 {% endif %}
  92.                                                                 {% block layout_footer_navigation_information_icons %}
  93.                                                                     <div class="footer-column-toggle">
  94.                                                                         <span class="footer-plus-icon">
  95.                                                                             <i class="far fa-plus"></i>
  96.                                                                         </span>
  97.                                                                         <span class="footer-minus-icon">
  98.                                                                             <i class="far fa-minus"></i>
  99.                                                                         </span>
  100.                                                                     </div>
  101.                                                                 {% endblock %}
  102.                                                             </div>
  103.                                                         {% endblock %}
  104.                                                         {% block layout_footer_navigation_information_content %}
  105.                                                             <div id="collapseFooter{{ loop.index }}"
  106.                                                                 class="footer-column-content collapse js-footer-column-content"
  107.                                                                 aria-labelledby="collapseFooterTitle{{ loop.index }}">
  108.                                                                 <div class="footer-column-content-inner">
  109.                                                                     {% block layout_footer_navigation_information_links %}
  110.                                                                         <ul class="list-unstyled">
  111.                                                                             {% for treeItem in root.children %}
  112.                                                                                 {% set category = treeItem.category %}
  113.                                                                                 {% set name = category.translated.name %}
  114.                                                                                 {# @deprecated tag:v6.5.0 - Use "category.translated.externalLink" directly or category_url function instead. #}
  115.                                                                                 {% set externalLink = category.translated.externalLink %}
  116.                                                                                 {% block layout_footer_navigation_information_link_item %}
  117.                                                                                     <li class="footer-link-item">
  118.                                                                                         {% block layout_footer_navigation_information_link %}
  119.                                                                                             {% if category.type == 'folder' %}
  120.                                                                                                 <div>{{ name }}</div>
  121.                                                                                             {% else %}
  122.                                                                                                 <a class="footer-link"
  123.                                                                                                 href="{{ category_url(category) }}"
  124.                                                                                                 {% if category_linknewtab(category) %}target="_blank"{% endif %}
  125.                                                                                                 title="{{ name }}">
  126.                                                                                                     {{ name }}
  127.                                                                                                 </a>
  128.                                                                                             {% endif %}
  129.                                                                                         {% endblock %}
  130.                                                                                     </li>
  131.                                                                                 {% endblock %}
  132.                                                                             {% endfor %}
  133.                                                                         </ul>
  134.                                                                     {% endblock %}
  135.                                                                 </div>
  136.                                                             </div>
  137.                                                         {% endblock %}
  138.                                                     </div>
  139.                                                 {% endblock %}
  140.                                             {% endfor %}
  141.                                         {% endblock %}
  142.                                     </div>
  143.                                     {# Using default block-name here for backwards-compatibility #}
  144.                                     {% block layout_footer_center_right %}
  145.                                         <div class="col-12 col-md-3">
  146.                                             {% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with { 
  147.                                                 footerContent: theme_config('footerStylesLayoutFooterCenterRight'),
  148.                                                 footerImage: theme_config('footerStylesLayoutFooterCenterImage'),
  149.                                                 footerLocation: 'center',
  150.                                             } %}
  151.                                         </div>
  152.                                     {% endblock %}
  153.                                 </div>
  154.                             {% endblock %}
  155.                         </div>
  156.                     {% endblock %}
  157.                 </div>
  158.             {% endblock %}
  159.         {% endif %}
  160.         {% if theme_config('footerSettingsLayoutDisplayFooterBottom') %}
  161.             {% block layout_footer_bottom %}
  162.                 <div class="footer-bottom">
  163.                     {% block layout_footer_bottom_container %}
  164.                         <div class="{% if theme_config('footerStylesLayoutContainer') == 'boxed' %}container{% else %}container-fluid{% endif %}">
  165.                             <div class="row d-flex justify-content-between align-content-center">
  166.                                 {% block layout_footer_bottom_content %}
  167.                                     {# Using default block-name here for backwards-compatibility #}
  168.                                     {% block layout_footer_service_menu %}
  169.                                         <div class="col-auto">
  170.                                             {% block layout_footer_service_menu_content %}
  171.                                                 {% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with { 
  172.                                                     footerContent: theme_config('footerStylesLayoutFooterBottomLeft'),
  173.                                                     footerImage: theme_config('footerStylesLayoutFooterBottomImage'),
  174.                                                     footerLocation: 'bottom',
  175.                                                 } %}
  176.                                             {% endblock %}
  177.                                         </div>
  178.                                     {% endblock %}
  179.                                     {# Using default block-name here for backwards-compatibility #}
  180.                                     {% block layout_footer_copyright %}
  181.                                         <div class="col-auto">
  182.                                             {% block layout_footer_copyright_content %}
  183.                                                 {% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with { 
  184.                                                     footerContent: theme_config('footerStylesLayoutFooterBottomCenter'),
  185.                                                     footerImage: theme_config('footerStylesLayoutFooterBottomImage'),
  186.                                                     footerLocation: 'bottom',
  187.                                                 } %}
  188.                                             {% endblock %}
  189.                                         </div>
  190.                                     {% endblock %}
  191.                                     {# Using default block-name here for backwards-compatibility #}
  192.                                     {% block layout_footer_payment_shipping_logos %}
  193.                                         <div class="col-auto">
  194.                                             {% block layout_footer_payment_shipping_logos_content %}
  195.                                                 {% sw_include '@Storefront/storefront/layout/footer/footer-content-renderer.html.twig' ignore missing with { 
  196.                                                     footerContent: theme_config('footerStylesLayoutFooterBottomRight'),
  197.                                                     footerImage: theme_config('footerStylesLayoutFooterBottomImage'),
  198.                                                     footerLocation: 'bottom',
  199.                                                 } %}
  200.                                             {% endblock %}
  201.                                         </div>
  202.                                     {% endblock %}
  203.                                 {% endblock %}
  204.                             </div>
  205.                         </div>
  206.                     {% endblock %}
  207.                 </div>
  208.             {% endblock %}
  209.         {% endif %}
  210.     </div>
  211. {% endblock %}