{% sw_extends '@Storefront/storefront/layout/header/top-bar.html.twig' %}
{% block layout_header_top_bar %}
{% if app.request.attributes.get('theme-name') != 'CogiThemeTulip' %}
{{ parent() }}
{% else %}
<div class="top-bar row">
<nav class="top-bar-nav col">
{% block layout_header_top_bar_language %}
{{ parent() }}
{% endblock %}
{% block layout_header_top_bar_currency %}
{{ parent() }}
{% endblock %}
{% block layout_header_top_bar_service %}
{{ parent() }}
{% endblock %}
</nav>
<nav class="top-bar-nav top-bar-nav-right col">
{% if shopware.config.CogiThemeTulip.config.headerPhone %}
<div class="top-bar-nav-item top-bar-phone">
<a href="phone:{{ config('CogiThemeTulip.config.headerPhone') }}">
{% sw_icon 'headset' style {
'size': 'xs'
} %} {{ config('CogiThemeTulip.config.headerPhone') }}
</a>
</div>
{% endif %}
{% if shopware.config.CogiThemeTulip.config.headerContact %}
<div class="top-bar-nav-item top-bar-contact">
{% set href = config('CogiThemeTulip.config.headerContact') %}
<a href="{% if '@' in href %}mailto:{% endif %}{{ href }}">
{% sw_icon 'envelope' style {
'size': 'xs'
} %} {{ "cogi.theme.tulip.contact"|trans|sw_sanitize }}
</a>
</div>
{% endif %}
</nav>
</div>
{% endif %}
{% endblock %}