vendor/creativect/jansen-zaden-theme/src/Resources/views/storefront/base.html.twig line 1

Open in your IDE?
  1. {% sw_extends "@Storefront/storefront/base.html.twig" %}
    
    {% block base_breadcrumb %}
        {% sw_include '@Storefront/storefront/layout/breadcrumb.html.twig' with {
            context: context,
            category: page.product.seoCategory
        } %}
    {% endblock %}
    
    {% block base_header %}
        <header class="header-main">
            {% block header_usp_bar %}
                <div class="top-usp-bar d-none d-lg-block">
                    <div class="container">
                        <div class="row justify-content-between">
                            <div class="col top-usp-bar-spacer"></div>
    
                            <div class="col top-usp-bar-usps">
                                {% for index in range(1,3) %}
                                    {% set uspContent = theme_config('header-usp-' ~ index) %}
    
                                    {% if uspContent|length > 0 %}
                                        <div class="top-usp-bar-usps-item">
                                            {% sw_icon 'checkmark' style {
                                                'namespace': 'JansenZadenTheme',
                                                'class': 'theme-icons'
                                            } %}
    
                                            {{ uspContent|raw }}
                                        </div>
                                    {% endif %}
                                {% endfor %}
                            </div>
    
                            <div class="col top-usp-bar-spacer">
                                {% set headerLinkId = theme_config('header-link-select') %}
                                {% set headerLinkText = theme_config('header-link-text') %}
    
                                {% if headerLinkId %}
                                    <a href="{{ seoUrl('frontend.navigation.page', { navigationId: headerLinkId}) }}">
                                        {{ headerLinkText|raw }}
                                    </a>
                                {% endif %}
                            </div>
                        </div>
                    </div>
                </div>
            {% endblock %}
    
            {% block base_header_inner %}
                {{ parent() }}
            {% endblock %}
        </header>
    {% endblock %}
    
    {% block base_noscript %}
    
        {% set stylesScriptsBodyStart = theme_config("sw-styles-scripts-body-start") %}
    
        {% if stylesScriptsBodyStart is not empty %}
            {{ stylesScriptsBodyStart|raw }}
        {% endif %}
    
        {{ parent() }}
    
    {% endblock %}
    
    {% block base_body_script %}
    
        {{ parent() }}
    
        {% set stylesScriptsBodyEnd = theme_config("sw-styles-scripts-body-end") %}
    
        {% if stylesScriptsBodyEnd is not empty %}
            {{ stylesScriptsBodyEnd|raw }}
        {% endif %}
    
    {% endblock %}