{% sw_extends '@Storefront/storefront/layout/footer/footer.html.twig' %}
{% block layout_footer_navigation_hotline %}
<div class="col-12 col-lg-5 footer-column contact-column">
<div class="row">
<div class="col-sm-6 col-md-4 col-lg-5">
{% block layout_footer_navigation_hotline_headline %}
<a class="footer-logo-main-link"
href="{{ path('frontend.home.page') }}"
title="{{ "header.logoLink"|trans|striptags }}">
<picture>
{% if shopware.theme['sw-logo-desktop'] %}
<img src="{{ shopware.theme['sw-logo-desktop'] |sw_encode_url }}"
alt="{{ "header.logoLink"|trans|striptags }}"
class="img-fluid header-logo-main-img"/>
{% endif %}
</picture>
</a>
{% endblock %}
<div class="footer-service-address">
{{ "footer.serviceAddress"|trans|raw }}
</div>
<div class="footer-social-media">
<div class="social-media-headline">{{ "footer.socialMediaHeadline"|trans }}</div>
<ul>
<li class="facebook-icon"><a href="{{ "socialMedia.facebookUrl"|trans|raw }}" title="Facebook - Bodymed" target="_blank">{% sw_icon 'facebook' style {'pack':'bodymed'} %}</a></li>
<li class="youtube-icon"><a href="{{ "socialMedia.youtubeUrl"|trans|raw }}" title="Youtube - Bodymed" target="_blank">{% sw_icon 'youtube' style {'pack':'bodymed'} %}</a></li>
<li class="instagram-icon"><a href="{{ "socialMedia.instagramUrl"|trans|raw }}" title="Instagram - Bodymed" target="_blank">{% sw_icon 'instagram' style {'pack':'bodymed'} %}</a></li>
<li class="spotify-icon"><a href="{{ "socialMedia.spotifyUrl"|trans|raw }}" title="Spotify - Bodymed" target="_blank">{% sw_icon 'spotify' style {'pack':'bodymed'} %}</a></li>
</ul>
</div>
</div>
<div class="col-sm-6 col-md-8 col-lg-7">
{% block layout_footer_navigation_hotline_content %}
<div class="footer-column-content footer-contact"
aria-labelledby="collapseFooterHotlineTitle">
<div class="footer-contact-headline">
{{ "footer.serviceHotlineHeadline"|trans|raw }}
</div>
{% sw_icon "hotline" style{'pack':'bodymed'} %}
<div class="footer-column-content-inner">
<p class="footer-contact-hotline">
{{ 'footer.serviceHotline'|trans|sw_sanitize }}
</p>
</div>
<div class="footer-contact-form">
{{ 'footer.serviceContactLink'|trans({
'%url%': path('frontend.cms.page', { id: config('core.basicInformation.contactPage') })
})|raw }}
</div>
</div>
{% endblock %}
</div>
</div>
</div>
{% endblock %}
{% block layout_footer_navigation_columns %}
<div class="col-12 col-lg-7">
<div class="row">
{{ parent() }}
</div>
</div>
{% endblock %}
{% block layout_footer_navigation_information_link %}
<a class="footer-link"
href="{% if externalLink %}{{ externalLink }}{% else %}{{ seoUrl('frontend.navigation.page', { navigationId: category.id }) }}{% endif %}"
{% if 'bodymed.com' in externalLink %}target="_blank"{% endif %}
title="{{ name }}">
{{ name }}
</a>
{% endblock %}
{% block layout_footer_payment_shipping_logos %}
<div class="footer-logos">
<div class="row">
<!-- div class="footer-vat col col-md-8 col-xl-9" -->
<div class="footer-vat col-12">
{{ render_esi(controller('\\Bodymed\\Webshop\\StoreFront\\Controller\\Fragment\\VatInfoController::footer')) }}
<p>
{{ "footer.vatInfo2"|trans({
'%url%': path('frontend.cms.page',{ id: config('core.basicInformation.shippingPaymentInfoPage') })
})|raw }}
</p>
</div>
<!-- div class="footer-badges col-md-4 col-xl-3">
<img src="{{ asset('assets/img/bodymed-25-years-certificate.svg', '@MadBodymedTheme') }}" />
<img src="{{ asset('assets/img/bodymed-expert-certificate.svg', '@MadBodymedTheme') }}" />
<img src="{{ asset('assets/img/bodymed-nr-1-certificate.svg', '@MadBodymedTheme') }}" />
</div -->
</div>
</div>
{% endblock %}
{% block layout_footer_navigation_information_link_item %}
{% if treeItem.category.customFields.custom_footer_navigation_customer_end_customer or treeItem.category.customFields.custom_footer_navigation_customer_partner or treeItem.category.customFields.custom_footer_navigation_customer_pharmacy %}
{% if treeItem.category.customFields.custom_footer_navigation_customer_end_customer and isCustomerPrivate() or treeItem.category.customFields.custom_footer_navigation_customer_end_customer and isCustomerBusiness() %}
{{ parent() }}
{% endif %}
{% if treeItem.category.customFields.custom_footer_navigation_customer_partner and isCustomerPartner() %}
{{ parent() }}
{% endif %}
{% if treeItem.category.customFields.custom_footer_navigation_customer_pharmacy and isCustomerPharmacy() %}
{{ parent() }}
{% endif %}
{% else %}
{{ parent() }}
{% endif %}
{% endblock %}
{% block layout_footer_vat %}
{% endblock %}
{% block layout_footer_copyright %}
{% endblock %}
{% block layout_footer_service_menu_content %}
<div class="row">
<div class="col-12 col-md-4">
{{ "footer.copyrightInfo"|trans|sw_sanitize }}
</div>
<div class="col-12 col-md-4">
<ul class="footer-service-menu-list list-unstyled">
{% for serviceMenuItem in page.header.serviceMenu %}
{% block layout_footer_service_menu_item %}
<li class="footer-service-menu-item">
<a class="footer-service-menu-link"
href="{% if serviceMenuItem.externalLink %}{{ serviceMenuItem.externalLink }}{% else %}{{ seoUrl('frontend.navigation.page', { navigationId: serviceMenuItem.id }) }}{% endif %}"
title="{{ serviceMenuItem.translated.name }}">
{{ serviceMenuItem.translated.name }}
</a>
</li>
{% endblock %}
{% endfor %}
<li class="footer-service-menu-item">
{{ 'footer.serviceContactLinkPlain'|trans({
'%url%': path('frontend.cms.page', { id: config('core.basicInformation.contactPage') })
})|raw }}
</li>
</ul>
</div>
<div class="col-12 col-md-4 footer-payment-col">
{% for paymentMethod in page.salesChannelPaymentMethods %}
{% block layout_footer_payment_logo %}
{% if paymentMethod.media %}
<div class="footer-logo is-payment m-0">
{% 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>
{% endif %}
{% endblock %}
{% endfor %}
</div>
</div>
{% endblock %}