{% sw_extends '@Storefront/storefront/base.html.twig' %}
{#{% set isHMRMode = app.request.headers.set('hot-reload-mode', true) %}#}
{% block base_main %}
{{ parent() }}
{% if controllerAction == 'home' %}
{% if context.salesChannel.translated.customFields.enet_adress_showasselection %}
<div class="container">
<div class="row sales-channel-footer-info">
<div class="col-md-6 info-map">
<div class="map-wrapper" data-storemap="true" data-coords="{{ context.salesChannel.translated.customFields.enet_subshop_gmaps_latlng }}">
</div>
</div>
<div class="col-md-6 info-data">
{% if context.salesChannel.translated.customFields.enet_frontendname %}
{% set name = context.salesChannel.translated.customFields.enet_frontendname %}
{% else %}
{% set name = context.salesChannel.translated.name %}
{% endif %}
{% if context.salesChannel.translated.customFields.enet_subshop_logo %}
<img class="info-logo" src="{{ context.salesChannel.translated.customFields.enet_subshop_logo }}" alt="{{ name }}">
{% else %}
<img class="info-logo" src="{{ shopware.theme['sw-logo-desktop'] |sw_encode_url }}" alt="{{ name }}">
{% endif %}
<h4>{{ name }}</h4>
<p>
{# {{ channel.translated.customFields.enet_postalcode }}#}
{{ context.salesChannel.translated.customFields.enet_adress_street }}<br>
<br>
{% if context.salesChannel.translated.customFields.enet_adress_opentimes %}
<b>Unsere Öffnungszeiten</b><br>
{{ context.salesChannel.translated.customFields.enet_adress_opentimes |raw }}<br>
{% endif %}
</p>
</div>
</div>
</div>
{% endif %}
{% endif %}
{% endblock %}