{% sw_extends '@Storefront/storefront/layout/footer/footer.html.twig' %}{# Rebuild footer layout and structure #}{% block layout_footer_inner_container %} <div class="footer-wrapper does-it-deploy"> <div class="footer-middle"> <div class="container"> {% block layout_footer_navigation %} <div id="footerColumns" class="row footer-columns" data-collapse-footer="true"> {% block layout_footer_navigation_hotline %} <div class="col-12 col-sm-6 col-lg-3 footer-column"> <div class="footer-logo"> {% block layout_footerr_logo_image %} <picture class="footer-logo-picture"> <img src="{{ asset('assets/logo/Chespack-logo_white.svg', '@ChespackTheme') |sw_encode_url }}" alt="{{ "header.logoLink"|trans|striptags }}" class="img-fluid footer-logo-main-img"> </picture> {% endblock %} </div> <div class="footer-contacts"> <div class="footer-column-headline footer-headline footer-contacts-title"> {{ "chespackTwoTheme.footer.contactsTitle"|trans|sw_sanitize }} </div> {{ "chespackTheme.footer.contacts"|trans|sw_sanitize }} </div> {% block layout_footer_social %} <div class="footer-social order-3 order-md-2"> {% if 'chespackTheme.social.facebook'|trans|sw_sanitize != '' %} <a href="{{ 'chespackTheme.social.facebook'|trans|sw_sanitize }}" class="btn btn-icon" title="Facebook" target="_blank"> {% sw_icon 'facebook' style { 'namespace': 'ChespackTwoTheme' } %} </a> {% endif %}{# OK#} {% if 'chespackTheme.social.twitter'|trans|sw_sanitize != '' %} <a href="{{ 'chespackTheme.social.twitter'|trans|sw_sanitize }}" class="btn btn-icon" title="Twitter" target="_blank"> {% sw_icon 'twitter' style { 'namespace': 'ChespackTwoTheme' } %} </a> {% endif %}{# OK#} {% if 'chespackTheme.social.linkedin'|trans|sw_sanitize != '' %} <a href="{{ 'chespackTheme.social.linkedin'|trans|sw_sanitize }}" class="btn btn-icon" title="Linkedin" target="_blank"> {% sw_icon 'linkedin' style { 'namespace': 'ChespackTwoTheme' } %} </a> {% endif %} {% if 'chespackTheme.social.google'|trans|sw_sanitize != '' %} <a href="{{ 'chespackTheme.social.google'|trans|sw_sanitize }}" class="btn btn-icon" title="Google+" target="_blank"> {% sw_icon 'google' style { 'namespace': 'ChespackTwoTheme' } %} </a> {% endif %}{# OK#} {% if 'chespackTheme.social.youtube'|trans|sw_sanitize != '' %} <a href="{{ 'chespackTheme.social.youtube'|trans|sw_sanitize }}" class="btn btn-icon" title="Youtube" target="_blank"> {% sw_icon 'youtube' style { 'namespace': 'ChespackTwoTheme' } %} </a> {% endif %}{# OK#} {% if 'chespackTheme.social.instagram'|trans|sw_sanitize != '' %} <a href="{{ 'chespackTheme.social.instagram'|trans|sw_sanitize }}" class="btn btn-icon" title="Instagram" target="_blank"> {% sw_icon 'instagram' style { 'namespace': 'ChespackTwoTheme' } %} </a> {% endif %} </div> {% endblock %} </div> {% endblock %} {% block layout_footer_navigation_columns %} {% for root in page.footer.navigation.tree %} {% block layout_footer_navigation_column %} <div class="col-sm-6{% if loop.index == 2 %} col-lg-5 offset-lg-1{% else %} col-lg-3{% endif %} footer-column position-relative"> {% block layout_footer_navigation_information_headline %} {% if loop.index == 1 %} {# Chat CTA #} <div class="footer-column__chat-cta"> <a class="btn btn-secondary align-content-center pl-2 pr-2" href="{{ 'chespackTheme.chatWidget.cta-action'|trans|sw_sanitize }}"> <span>{{ 'chespackTheme.chatWidget.cta-text'|trans|sw_sanitize }}</span> </a> </div> <div class="footer-column-headline footer-headline"> {{ root.category.translated.name }} </div> {% endif %} {% endblock %} {% block layout_footer_navigation_information_content %} <div id="collapseFooter{{ loop.index }}" class="footer-column-content"> <div class="footer-column-content-inner"> {% if loop.index == 2 %} {# Newsletter form #} {% block layout_footer_navigation_newsletter_content %} {% sw_include '@Storefront/storefront/layout/footer/footer-newsletter.html.twig' %} {% endblock %} {% endif %} {% block layout_footer_navigation_information_links %} {% if loop.index == 1 %} <ul class="list-unstyled"> {% for treeItem in root.children %} {% set category = treeItem.category %} {% set name = category.translated.name %} {# @deprecated tag:v6.5.0 - Use "category.translated.externalLink" directly or category_url function instead. #} {% set externalLink = category.translated.externalLink %} {% block layout_footer_navigation_information_link_item %} <li class="footer-link-item"> {% block layout_footer_navigation_information_link %} {% if category.type == 'folder' %} <div>{{ name }}</div> {% else %} <a class="footer-link" href="{{ category_url(category) }}" {% if category_linknewtab(category) %}target="_blank"{% endif %} title="{{ name }}"> {{ name }} </a> {% endif %} {% endblock %} </li> {% endblock %} {% endfor %} </ul> {% endif %} {% endblock %} </div> </div> {% endblock %} </div> {% endblock %} {% endfor %} {% endblock %} <div class="col-12 footer-column d-flex justify-content-end"> <picture class="footer-logo is-certificate"> <img src="{{ asset('assets/images/ISO-9001.png', '@ChespackTheme') |sw_encode_url }}" class="img-fluid" alt="ISO-9001"> </picture> <picture class="footer-logo is-certificate"> <img src="{{ asset('assets/images/ISO-14001.png', '@ChespackTheme') |sw_encode_url }}" class="img-fluid" alt="ISO-14001"> </picture> </div> </div> {% endblock %} </div> {# Footer service menu and creeator link #} {% block layout_footer_bottom %} <div class="footer-bottom"> <div class="container d-flex justify-content-between align-items-center flex-column flex-md-row"> {# Copyright and payment #} {% block layout_footer_copy %} <div class="d-flex justify-content-between align-items-center footer-copyright-wrapper flex-column flex-md-row"> {% block layout_footer_copyright %} <div class="footer-copyright"> {{ "footer.copyrightInfo"|trans|sw_sanitize }} </div> {% endblock %} </div> {% endblock %} {% block layout_footer_service_menu %} {% apply spaceless %} <ul class="footer-service-menu-list list-unstyled"> {% for serviceMenuItem in page.header.serviceMenu %} {% block layout_footer_service_menu_item %} <li class="footer-service-menu-item"> <a class="footer-service-menu-link" href="{{ category_url(serviceMenuItem) }}" {% if category_linknewtab(serviceMenuItem) %}target="_blank"{% endif %} title="{{ serviceMenuItem.translated.name }}"> {{ serviceMenuItem.translated.name }} </a> </li> {% endblock %} {% endfor %} </ul> {% endapply %} {% endblock %} {% block layout_footer_creator %} <p>{{ "chespackTheme.footer.creator"|trans|sw_sanitize }}</p> {% endblock %} </div> </div> {% endblock %} </div><!-- footer-middle --> </div><!-- footer-wrapper --> {# Added chat widget code #} {% if config('ChespackTheme.config.activateChatWidget') and config('ChespackTheme.config.chatWidgetKey') != '' %} {% block layout_footer_chat_widget %} <a href="javascript:void(Tawk_API.toggle())" class="chat-widget-button"> <img src="{{ asset('assets/images/chat-to-charlie-sm.png', '@ChespackTheme') |sw_encode_url }}" alt="{{ "header.logoLink"|trans|striptags }}"> </a> {% endblock %} {% endif %}{% endblock %}{% block layout_footer_js %} {# Include Masonry library from CDN #} <script src="https://cdnjs.cloudflare.com/ajax/libs/masonry/4.2.2/masonry.pkgd.min.js"></script>{% endblock %}