custom/plugins/Tuerschild_2/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-4 footer-column js-footer-column">
  4.         {% block layout_footer_navigation_hotline_headline %}
  5.             <div class="footer-column-headline footer-headline js-footer-column-headline js-collapse-footer-column-trigger"
  6.                  id="collapseFooterHotlineTitle" data-target="#collapseFooterHotline" aria-expanded="true"
  7.                  aria-controls="collapseFooterHotline">
  8.                 {{ 'footer.contactHeadline'|trans|sw_sanitize }}
  9.                 {% block layout_footer_navigation_hotline_icons %}
  10.                     <div class="footer-column-toggle">
  11.                         <span class="footer-plus-icon">
  12.                             {% sw_icon 'plus' %}
  13.                         </span>
  14.                         <span class="footer-minus-icon">
  15.                             {% sw_icon 'minus' %}
  16.                         </span>
  17.                     </div>
  18.                 {% endblock %}
  19.             </div>
  20.         {% endblock %}
  21.         {% block layout_footer_navigation_hotline_content %}
  22.             <div id="collapseFooterHotline"
  23.                  class="footer-column-content collapse js-footer-column-content footer-contact"
  24.                  aria-labelledby="collapseFooterHotlineTitle">
  25.                 <div class="footer-column-content-inner">
  26.                     <div class="footer-contact-box">
  27.                         <a href="tel: {{ 'footer.serviceHotline'|trans|sw_sanitize }}" onclick="return gtag_report_conversion_tel('tel:+43-6274-21909');" class="tel">
  28.                             <i>{% sw_icon 'phone' style {
  29.                                     'namespace': 'Tuerschild_2',
  30.                                 } %}
  31.                             </i> {{ 'footer.serviceHotline'|trans|sw_sanitize }}
  32.                         </a>
  33.                         <a href="mailto:{{ 'footer.serviceMail'|trans|sw_sanitize }}"
  34.                            onclick="return gtag_report_conversion_mailto('mailto:info@tuerschild.shop');"
  35.                            class="mail">{% sw_icon 'envelope' %} {{ 'footer.serviceMail'|trans|sw_sanitize }}</a>
  36.                     </div>
  37.                     {{ 'footer.serviceTimes'|trans|sw_sanitize }}
  38.                 </div>
  39.             </div>
  40.         {% endblock %}
  41.     </div>
  42. {% endblock %}
  43. {% block layout_footer_navigation_columns %}
  44.     {% for root in page.footer.navigation.tree %}
  45.         {% block layout_footer_navigation_column %}
  46.             <div class="col-md-4 footer-column js-footer-column">
  47.                 {% block layout_footer_navigation_information_headline %}
  48.                     <div class="footer-column-headline footer-headline js-collapse-footer-column-trigger"
  49.                          data-target="#collapseFooterTitle{{ loop.index }}" aria-expanded="true"
  50.                          aria-controls="collapseFooter{{ loop.index }}">
  51.                         {{ root.category.translated.name }}
  52.                         {% block layout_footer_navigation_information_icons %}
  53.                             <div class="footer-column-toggle">
  54.                                 <span class="footer-plus-icon">
  55.                                     {% sw_icon 'plus' %}
  56.                                 </span>
  57.                                 <span class="footer-minus-icon">
  58.                                     {% sw_icon 'minus' %}
  59.                                 </span>
  60.                             </div>
  61.                         {% endblock %}
  62.                     </div>
  63.                 {% endblock %}
  64.                 {% block layout_footer_navigation_information_content %}
  65.                     <div id="collapseFooter{{ loop.index }}"
  66.                          class="footer-column-content collapse js-footer-column-content"
  67.                          aria-labelledby="collapseFooterTitle{{ loop.index }}">
  68.                         <div class="footer-column-content-inner">
  69.                             {% block layout_footer_navigation_information_links %}
  70.                                 <ul class="list-unstyled">
  71.                                     {% for treeItem in root.children %}
  72.                                         {% set category = treeItem.category %}
  73.                                         {% set name = category.translated.name %}
  74.                                         {% set externalLink = category.translated.externalLink %}
  75.                                         {% block layout_footer_navigation_information_link_item %}
  76.                                             <li class="footer-link-item">
  77.                                                 {% block layout_footer_navigation_information_link %}
  78.                                                     <a class="footer-link"
  79.                                                        href="{% if externalLink %}{{ externalLink }}{% else %}{{ seoUrl('frontend.navigation.page', { navigationId: category.id }) }}{% endif %}"
  80.                                                        title="{{ name }}">
  81.                                                         {% sw_icon 'arrow_left'  style {
  82.                                                             'namespace': 'Tuerschild_2',
  83.                                                         } %}
  84.                                                         {{ name }}
  85.                                                     </a>
  86.                                                 {% endblock %}
  87.                                             </li>
  88.                                         {% endblock %}
  89.                                     {% endfor %}
  90.                                 </ul>
  91.                             {% endblock %}
  92.                         </div>
  93.                     </div>
  94.                 {% endblock %}
  95.                 {% if loop.last %}
  96.                     {% block layout_footer_payment_logos %}
  97.                         {% for paymentMethod in page.salesChannelPaymentMethods %}
  98.                             {% block layout_footer_payment_logo %}
  99.                                 <div class="footer-logo is-payment" title="{{ paymentMethod.translated.name }}">
  100.                                     {% sw_thumbnails 'footer-payment-image-thumbnails' with {
  101.                                         media: paymentMethod.media,
  102.                                         sizes: {
  103.                                             'default': '100px'
  104.                                         },
  105.                                         attributes: {
  106.                                             'class': 'img-fluid footer-logo-image',
  107.                                             'alt': (paymentMethod.media.translated.alt ?: paymentMethod.translated.name),
  108.                                             'title': (paymentMethod.media.translated.title ?: paymentMethod.translated.name)
  109.                                         }
  110.                                     } %}
  111.                                 </div>
  112.                             {% endblock %}
  113.                         {% endfor %}
  114.                     {% endblock %}
  115.                 {% endif %}
  116.             </div>
  117.         {% endblock %}
  118.     {% endfor %}
  119. {% endblock %}
  120. {% block layout_footer_payment_shipping_logos %}{% endblock %}
  121. {% block layout_footer_bottom %}{% endblock %}