{% sw_extends '@Storefront/storefront/layout/header/header.html.twig' %}
{% block layout_header_actions %}
<div class="col-12 order-1 col-sm-auto order-sm-2 header-actions-col d-flex h-100 align-items-center">
<div class="row no-gutters">
{% block layout_header_navigation_toggle %}
<div class="col d-sm-none">
<div class="menu-button">
{% block layout_header_navigation_toggle_button %}
<button class="btn nav-main-toggle-btn header-actions-btn"
type="button"
data-offcanvas-menu="true"
aria-label="{{ "general.menuLink"|trans|striptags }}">
{% block layout_header_navigation_toggle_button_icon %}
{% sw_icon 'stack' %}
{% endblock %}
</button>
{% endblock %}
</div>
</div>
{% endblock %}
{% block layout_header_search_toggle %}
<div class="col-auto d-sm-none">
<div class="search-toggle">
<button class="btn header-actions-btn search-toggle-btn js-search-toggle-btn collapsed"
type="button"
data-toggle="collapse"
data-target="#searchCollapse"
aria-expanded="false"
aria-controls="searchCollapse"
aria-label="{{ "header.searchButton"|trans|striptags }}">
{% sw_icon 'search' %}
</button>
</div>
</div>
{% endblock %}
{% if config('core.cart.wishlistEnabled') %}
{% block layout_header_actions_wishlist %}
<div class="col-auto">
<div class="header-wishlist">
<a class="btn header-wishlist-btn header-actions-btn"
href="{{ path('frontend.wishlist.page') }}"
title="{{ 'header.wishlist'|trans|striptags }}"
aria-label="{{ 'header.wishlist'|trans|striptags }}">
{% sw_include '@Storefront/storefront/layout/header/actions/wishlist-widget.html.twig' %}
</a>
</div>
</div>
{% endblock %}
{% endif %}
{% block layout_header_actions_account %}
<div class="col-auto">
<div class="account-menu">
{% sw_include '@Storefront/storefront/layout/header/actions/account-widget.html.twig' %}
</div>
</div>
{% endblock %}
{% block layout_header_actions_cart %}
<div class="col-auto">
<div class="header-cart"
data-offcanvas-cart="true">
<a class="btn header-cart-btn header-actions-btn"
href="{{ path('frontend.checkout.cart.page') }}"
data-cart-widget="true"
title="{{ 'checkout.cartTitle'|trans|striptags }}"
aria-label="{{ 'checkout.cartTitle'|trans|striptags }}">
{% sw_include '@Storefront/storefront/layout/header/actions/cart-widget.html.twig' %}
</a>
</div>
</div>
{% endblock %}
</div>
</div>
{% block layout_header_actions_login_btn %}
{% if not context.customer %}
<div class=" order-1 order-sm-2 h-100 header-login">
<div class="header-login-wrapper pl-0">
<a href="{{ path('frontend.account.login.page') }}"
title="{{ "header.loginSubmit"|trans|striptags }}"
class="btn btn-primary account-menu-login-button header-login-btn h-100 d-flex align-items-end rounded-0">
{% sw_icon 'lock' style {
'namespace': 'SchilderSysteme',
} %}
{{ "header.loginSubmit"|trans|sw_sanitize }}
</a>
</div>
</div>
{% endif %}
{% endblock %}
{% endblock %}