{% sw_extends '@CogiThemeTulip/storefront/layout/header/top-bar.html.twig' %}
{% block layout_header_top_bar %}
<div class="top-bar row justify-content-sm-between justify-content-center">
<nav class="top-bar-nav col-auto">
{% if config('CogiCustomObstDe.config.customTopBarText1') %}
{{ config('CogiCustomObstDe.config.customTopBarText1')|raw }}
{% else %}
{% block layout_header_top_bar_language %}
{{ parent() }}
{% endblock %}
{% block layout_header_top_bar_currency %}
{{ parent() }}
{% endblock %}
{% block layout_header_top_bar_service %}
{{ parent() }}
{% endblock %}
{% endif %}
</nav>
{% if shopware.config.CogiCustomObstDe.config.customTopBarText2 %}
<nav class="top-bar-nav col-auto d-none d-sm-flex">
{{ config('CogiCustomObstDe.config.customTopBarText2')|raw }}
</nav>
{% endif %}
<nav class="top-bar-nav top-bar-nav-right col-auto d-none d-sm-flex">
{% if config('CogiCustomObstDe.config.customTopBarText3') %}
{{ config('CogiCustomObstDe.config.customTopBarText3')|raw }}
{% else %}
{% if 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 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 %}
{% endif %}
</nav>
</div>
{% endblock %}