custom/plugins/HelmaTheme/src/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_hotline %}
  3.     <div class="col-md footer-column">
  4.         {% block layout_footer_navigation_hotline_headline %}
  5.             <div class="footer-column-headline footer-headline">
  6.                 {{ 'footer.serviceHotlineHeadline'|trans|sw_sanitize }}
  7.             </div>
  8.         {% endblock %}
  9.         {% block layout_footer_navigation_hotline_content %}
  10.             <div id="collapseFooterHotline"
  11.                     class="footer-column-content footer-contact">
  12.                 <div class="footer-column-content-inner">
  13.                     <p class="footer-contact-hotline">
  14.                         {{ 'footer.serviceHotline'|trans|sw_sanitize }}
  15.                     </p>
  16.                 </div>
  17.             </div>
  18.         {% endblock %}
  19.     </div>
  20. {% endblock %}
  21. {% block layout_footer_navigation_columns %}
  22.     {% for root in page.footer.navigation.tree %}
  23.         {% block layout_footer_navigation_column %}
  24.             <div class="col-md footer-column">
  25.                 {% block layout_footer_navigation_information_headline %}
  26.                     <div class="footer-column-headline footer-headline">
  27.                         {{ root.category.translated.name }}
  28.                     </div>
  29.                 {% endblock %}
  30.                 {% block layout_footer_navigation_information_content %}
  31.                     <div id="collapseFooter{{ loop.index }}"
  32.                             class="footer-column-content">
  33.                         <div class="footer-column-content-inner">
  34.                             {% block layout_footer_navigation_information_links %}
  35.                                 <ul class="list-unstyled">
  36.                                     {% for treeItem in root.children %}
  37.                                         {% set category = treeItem.category %}
  38.                                         {% set name = category.translated.name %}
  39.                                         {% set externalLink = category.translated.externalLink %}
  40.                                         {% block layout_footer_navigation_information_link_item %}
  41.                                             <li class="footer-link-item">
  42.                                                 {% block layout_footer_navigation_information_link %}
  43.                                                     <a class="footer-link"
  44.                                                         href="{% if externalLink %}{{ externalLink }}{% else %}{{ seoUrl('frontend.navigation.page', { navigationId: category.id }) }}{% endif %}"
  45.                                                         title="{{ name }}" {% if treeItem.category.translated.customFields.custom_category_field_target_blank %}target="_blank"{% endif %}>
  46.                                                         {{ name }}
  47.                                                     </a>
  48.                                                 {% endblock %}
  49.                                             </li>
  50.                                         {% endblock %}
  51.                                     {% endfor %}
  52.                                 </ul>
  53.                             {% endblock %}
  54.                         </div>
  55.                     </div>
  56.                 {% endblock %}
  57.             </div>
  58.         {% endblock %}
  59.     {% endfor %}
  60. {% endblock %}
  61. {% block layout_footer_payment_shipping_logos %}
  62.     <div class="footer-logos">
  63.         {% block layout_footer_payment_logos %}
  64.             {% for paymentMethod in page.salesChannelPaymentMethods %}
  65.                 {% block layout_footer_payment_logo %}
  66.                     {% if paymentMethod.media %}
  67.                         <div class="footer-logo is-payment">
  68.                             {% sw_thumbnails 'footer-payment-image-thumbnails' with {
  69.                                 media: paymentMethod.media,
  70.                                 sizes: {
  71.                                     'default': '100px'
  72.                                 },
  73.                                 attributes: {
  74.                                     'class': 'img-fluid footer-logo-image',
  75.                                     'alt': (paymentMethod.media.translated.alt ?: paymentMethod.translated.name),
  76.                                     'title': (paymentMethod.media.translated.title ?: paymentMethod.translated.name)
  77.                                 }
  78.                             } %}
  79.                         </div>
  80.                     {% endif %}
  81.                 {% endblock %}
  82.             {% endfor %}
  83.         {% endblock %}
  84.         {% block layout_footer_shipping_logos %}
  85.             {% for shippingMethod in page.salesChannelShippingMethods %}
  86.                 {% block layout_footer_shipping_logo %}
  87.                     {% if shippingMethod.media %}
  88.                         <div class="footer-logo is-shipping">
  89.                             {% sw_thumbnails 'footer-shipping-image-thumbnails' with {
  90.                                 media: shippingMethod.media,
  91.                                 sizes: {
  92.                                     'default': '100px'
  93.                                 },
  94.                                 attributes: {
  95.                                     'class': 'img-fluid footer-logo-image',
  96.                                     'alt': (shippingMethod.media.translated.alt ?: shippingMethod.translated.name),
  97.                                     'title': (shippingMethod.media.translated.title ?: shippingMethod.translated.name)
  98.                                 }
  99.                             } %}
  100.                         </div>
  101.                     {% endif %}
  102.                 {% endblock %}
  103.             {% endfor %}
  104.         {% endblock %}
  105.     </div>
  106. {% endblock %}
  107. {% block layout_footer_vat %}
  108. {% endblock %}
  109. {% block layout_footer_copyright %}
  110.     <div class="footer-copyright">
  111.         {{ 'footer.copyrightText'|trans }}
  112.     </div>
  113. {% endblock %}