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