{% sw_extends '@Storefront/storefront/base.html.twig' %} {% set bodyClasses = [ theme_config('rhweb-custom-body-class'), theme_config('rhweb-general-activate-cookie-overlay') ? 'rhweb-custom-cookie' ] %} {% for fixedHeaderPage in theme_config('rhweb-fixed-header-pages') %} {% if fixedHeaderPage in activeRoute %} {% set bodyClasses = bodyClasses|merge(['rhweb-fixed-header']) %} {% set bodyClasses = bodyClasses|merge(['rhweb-fixed-header-'~theme_config('rhweb-fixed-header-type')]) %} {% endif %} {% endfor %} {% block base_body_classes %} {{ parent() }} {{ bodyClasses|join(' ') }} {% endblock %} {% block base_esi_header %} {% set headerParameters = headerParameters|merge({ 'rhwebHeaderParameters': { 'showDropdown': theme_config('rhweb-sidebar-activate-sidebar') and (activeRoute == 'frontend.navigation.page' or activeRoute == 'frontend.home.page') and controllerName|lower != 'product' and theme_config('rhweb-sidebar-activate-navigation-by-default') } }) %} {{ parent() }} {% endblock %} {% set socials = [ { 'title': 'Facebook', 'icon': 'facebook', 'url': theme_config('rhweb-social-facebook') }, { 'title': 'X / Twitter', 'icon': 'x-twitter', 'url': theme_config('rhweb-social-twitter') }, { 'title': 'Instagram', 'icon': 'instagram', 'url': theme_config('rhweb-social-instagram') }, { 'title': 'Youtube', 'icon': 'youtube', 'url': theme_config('rhweb-social-youtube') }, { 'title': 'Pinterest', 'icon': 'pinterest', 'url': theme_config('rhweb-social-pinterest') }, { 'title': 'Vimeo', 'icon': 'vimeo', 'url': theme_config('rhweb-social-vimeo') }, { 'title': 'Google Plus', 'icon': 'googleplus', 'url': theme_config('rhweb-social-googleplus') }, { 'title': 'Tumblr', 'icon': 'tumblr', 'url': theme_config('rhweb-social-tumblr') }, { 'title': 'Linked In', 'icon': 'linkedin', 'url': theme_config('rhweb-social-linkedin') }, { 'title': 'Xing', 'icon': 'xing', 'url': theme_config('rhweb-social-xing') }, { 'title': 'Skype', 'icon': 'skype', 'url': theme_config('rhweb-social-skype') }, { 'title': 'Snapchat', 'icon': 'snapchat', 'url': theme_config('rhweb-social-snapchat') }, { 'title': 'Amazon', 'icon': 'amazon', 'url': theme_config('rhweb-social-amazon') }, { 'title': 'Ebay', 'icon': 'ebay', 'url': theme_config('rhweb-social-ebay') }, { 'title': 'Etsy', 'icon': 'etsy', 'url': theme_config('rhweb-social-etsy') }, { 'title': 'Appstore', 'icon': 'appstore', 'url': theme_config('rhweb-social-appstore') }, { 'title': 'Google Play', 'icon': 'googleplay', 'url': theme_config('rhweb-social-googleplay') }, { 'title': 'Kickstarter', 'icon': 'kickstarter', 'url': theme_config('rhweb-social-kickstarter') }, { 'title': 'Twitch', 'icon': 'twitch', 'url': theme_config('rhweb-social-twitch') }, { 'title': 'WhatsApp', 'icon': 'whatsapp', 'url': theme_config('rhweb-social-whatsapp') }, { 'title': 'Tiktok', 'icon': 'tiktok', 'url': theme_config('rhweb-social-tiktok') } ] %} {% block base_body_inner %} {% if theme_config('rhweb-custom-html-body-top') %} {{ theme_config('rhweb-custom-html-body-top') | raw }} {% endif %} {{ parent() }} {% if theme_config('rhweb-custom-html-body-bottom') %} {{ theme_config('rhweb-custom-html-body-bottom') | raw }} {% endif %} {% endblock %} {% block base_main %}
{% if theme_config('rhweb-sidebar-activate-sidebar') %}
{% sw_include '@Storefront/storefront/rhweb-custom/sidebar/base.html.twig' %}
{% endif %}
{% block rhweb_base_main_content_slider %} {% if controllerAction|lower == 'home' and theme_config('rhweb-slider-activate-slider') %} {% sw_include '@Storefront/storefront/rhweb-custom/home/slider.html.twig' %} {% endif %} {% endblock %} {{ parent() }}
{% endblock %} {% block base_body_script %} {{ parent() }} {% block rhweb_base_body_script_custom %} {% if theme_config('rhweb-custom-js') %} {% endif %} {% endblock %} {% endblock %}