{% sw_extends '@Storefront/storefront/layout/footer/footer.html.twig' %}
{% block layout_footer_navigation_hotline %}
<div class="col-md-3 footer-column js-footer-column">
{% block layout_footer_navigation_hotline_headline %}
<div class="footer-column-headline footer-headline js-footer-column-headline js-collapse-footer-column-trigger"
id="collapseFooterHotlineTitle" data-target="#collapseFooterHotline" aria-expanded="true"
aria-controls="collapseFooterHotline">
{{ 'footer.contactHeadline'|trans|sw_sanitize }}
{% block layout_footer_navigation_hotline_icons %}
<div class="footer-column-toggle">
<span class="footer-plus-icon">
{% sw_icon 'plus' %}
</span>
<span class="footer-minus-icon">
{% sw_icon 'minus' %}
</span>
</div>
{% endblock %}
</div>
{% endblock %}
{% block layout_footer_navigation_hotline_content %}
{% set email = context.salesChannel.customFields.custom_sales_channel_email %}
{% set phone = context.salesChannel.customFields.custom_sales_channel_phone %}
<div id="collapseFooterHotline"
class="footer-column-content collapse js-footer-column-content footer-contact"
aria-labelledby="collapseFooterHotlineTitle">
<div class="footer-column-content-inner">
<div class="footer-contact-box">
<a href="tel: {{ phone }}"
onclick="return gtag_report_conversion_tel('tel:{{ phone }}');" class="tel">
<i>{% sw_icon 'phone' style {
'namespace': 'Tuerschild_2',
} %}
</i> {{ phone }}
</a>
<a href="mailto:{{ email }}"
onclick="return gtag_report_conversion_mailto('{{ email }}');"
class="mail">{% sw_icon 'envelope' %} {{ email }}</a>
<div>
{{ 'footer.serviceTimes'|trans|sw_sanitize }}
</div>
</div>
</div>
</div>
{% endblock %}
</div>
{% endblock %}
{% block layout_footer_navigation_columns %}
{% for root in page.footer.navigation.tree %}
{% block layout_footer_navigation_column %}
<div class="col-md-3 footer-column js-footer-column">
{% block layout_footer_navigation_information_headline %}
<div class="footer-column-headline footer-headline js-collapse-footer-column-trigger"
data-target="#collapseFooterTitle{{ loop.index }}" aria-expanded="true"
aria-controls="collapseFooter{{ loop.index }}">
{% if root.category.externalLink %}
<a href="{{ root.category.externalLink }}">
{{ root.category.translated.name }}</a>
{% else %}
{{ root.category.translated.name }}
{% endif %}
{% block layout_footer_navigation_information_icons %}
<div class="footer-column-toggle">
<span class="footer-plus-icon">
{% sw_icon 'plus' %}
</span>
<span class="footer-minus-icon">
{% sw_icon 'minus' %}
</span>
</div>
{% endblock %}
</div>
{% endblock %}
{% block layout_footer_navigation_information_content %}
<div id="collapseFooter{{ loop.index }}"
class="footer-column-content collapse js-footer-column-content"
aria-labelledby="collapseFooterTitle{{ loop.index }}">
<div class="footer-column-content-inner">
{% block layout_footer_navigation_information_links %}
<ul class="list-unstyled">
{% for treeItem in root.children %}
{% set category = treeItem.category %}
{% set name = category.translated.name %}
{% set externalLink = category.translated.externalLink %}
{% block layout_footer_navigation_information_link_item %}
<li class="footer-link-item">
{% block layout_footer_navigation_information_link %}
<a class="footer-link"
href="{% if externalLink %}{{ externalLink }}{% else %}{{ seoUrl('frontend.navigation.page', { navigationId: category.id }) }}{% endif %}"
title="{{ name }}">
{% sw_icon 'arrow_left' style {
'namespace': 'Tuerschild_2',
} %}
{{ name }}
</a>
{% endblock %}
</li>
{% endblock %}
{% endfor %}
</ul>
{% endblock %}
</div>
</div>
{% endblock %}
{% block layout_footer_payment_logos %}
{% endblock %}
</div>
{% endblock %}
{% endfor %}
{% endblock %}
{% block layout_footer_payment_shipping_logos %}
<div class="footer-payments">
{% block layout_footer_payment_logos_custom %}
{% for paymentMethod in page.salesChannelPaymentMethods %}
{% block layout_footer_payment_logo_custom %}
<div class="footer-logo is-payment" title="{{ paymentMethod.translated.name }}">
{% sw_thumbnails 'footer-payment-image-thumbnails' with {
media: paymentMethod.media,
sizes: {
'default': '100px'
},
attributes: {
'class': 'img-fluid footer-logo-image',
'alt': (paymentMethod.media.translated.alt ?: paymentMethod.translated.name),
'title': (paymentMethod.media.translated.title ?: paymentMethod.translated.name)
}
} %}
</div>
{% endblock %}
{% endfor %}
{% endblock %}
</div>
{% endblock %}
{% block layout_footer_bottom %}{% endblock %}