custom/plugins/DmSanettaTheme/src/Resources/views/storefront/layout/footer/footer.html.twig line 1

Open in your IDE?
  1. <div class="container">
  2.     {# Servicehotline #}
  3.     {% block layout_footer_navigation_hotline_content %}
  4.         <p class="footer-contact-hotline">
  5.             <svg width="64" height="64" viewBox="0 0 64 64" fill="none" xmlns="http://www.w3.org/2000/svg">
  6.                 <path fill-rule="evenodd" clip-rule="evenodd" d="M13.898 2.26a5.364 5.364 0 0 1 6.23 2.319l4.575 7.528a5.364 5.364 0 0 1-.79 6.58l-3.6 3.6c-.407.406-.47.95-.259 1.358 1.45 2.814 4.401 7.935 8.384 11.917 3.982 3.983 9.103 6.933 11.917 8.384.408.21.952.148 1.359-.258l3.6-3.6a5.364 5.364 0 0 1 6.579-.791l7.529 4.575a5.364 5.364 0 0 1 2.319 6.23l-.318.985a12.093 12.093 0 0 1-5.348 6.695l-4.338 2.568c-3.203 1.897-7.179 2.254-10.645.57-5.518-2.678-15.093-7.953-22.576-15.436-7.483-7.483-12.758-17.058-15.437-22.576-1.683-3.466-1.326-7.442.57-10.645l2.57-4.338a12.092 12.092 0 0 1 6.694-5.348l.985-.318Zm2.812 4.396a1.364 1.364 0 0 0-1.585-.59l-.985.318a8.092 8.092 0 0 0-4.48 3.579L7.092 14.3c-1.281 2.162-1.455 4.717-.414 6.86 2.608 5.374 7.651 14.48 14.666 21.495 7.016 7.015 16.12 12.058 21.495 14.666 2.143 1.04 4.698.867 6.86-.414l4.338-2.568a8.092 8.092 0 0 0 3.58-4.48l.317-.985a1.364 1.364 0 0 0-.59-1.585l-7.529-4.575a1.364 1.364 0 0 0-1.673.2l-3.6 3.6c-1.554 1.555-3.964 2.046-6.02.986-2.942-1.517-8.495-4.692-12.913-9.11-4.418-4.418-7.593-9.97-9.11-12.913-1.06-2.056-.569-4.466.985-6.02l3.6-3.6a1.364 1.364 0 0 0 .201-1.673L16.71 6.656Z" fill="#7A99AC"/>
  7.             </svg>
  8.             {{ 'footer.serviceHotline'|trans|sw_sanitize }}
  9.         </p>
  10.         {#
  11.         <div id="collapseFooterHotline"
  12.              class="footer-column-content collapse js-footer-column-content footer-contact"
  13.              aria-labelledby="collapseFooterHotlineTitle">
  14.             <div class="footer-column-content-inner">
  15.                 <p class="footer-contact-hotline">
  16.                     {{ 'footer.serviceHotline'|trans|sw_sanitize }}
  17.                 </p>
  18.             </div>
  19.         </div>
  20.         #}
  21.     {% endblock %}
  22. </div>
  23. <div class="container">
  24.     {% block layout_footer_navigation %}
  25.         <div id="footerColumns"
  26.              class="row footer-columns"
  27.              data-collapse-footer="true">
  28.             {# Navigation Columns #}
  29.             {% block layout_footer_navigation_columns %}
  30.                 {# Footer root #}
  31.                 {% for root in page.footer.navigation.tree %}
  32.                     {% block layout_footer_navigation_column %}
  33.                         <div class="col-md-6 col-lg-2 footer-column js-footer-column">
  34.                             {% block layout_footer_navigation_information_headline %}
  35.                                 <div class="footer-column-headline footer-headline js-collapse-footer-column-trigger"
  36.                                      data-target="#collapseFooterTitle{{ loop.index }}"
  37.                                      aria-expanded="true"
  38.                                      aria-controls="collapseFooter{{ loop.index }}">
  39.                                     {% if root.category.type == 'folder' %}
  40.                                         {{ root.category.translated.name }}
  41.                                     {% else %}
  42.                                         <a href="{{ category_url(root.category) }}"
  43.                                            {% if category_linknewtab(root.category) %}target="_blank"{% endif %}
  44.                                            title="{{ root.category.translated.name }}">
  45.                                             {{ root.category.translated.name }}
  46.                                         </a>
  47.                                     {% endif %}
  48.                                     {% block layout_footer_navigation_information_icons %}
  49.                                         <div class="footer-column-toggle">
  50.                                             <span class="footer-plus-icon">
  51.                                                 {% sw_icon 'plus' %}
  52.                                             </span>
  53.                                             <span class="footer-minus-icon">
  54.                                                 {% sw_icon 'minus' %}
  55.                                             </span>
  56.                                         </div>
  57.                                     {% endblock %}
  58.                                 </div>
  59.                             {% endblock %}
  60.                             {% block layout_footer_navigation_information_content %}
  61.                                 <div id="collapseFooter{{ loop.index }}"
  62.                                      class="footer-column-content collapse js-footer-column-content"
  63.                                      aria-labelledby="collapseFooterTitle{{ loop.index }}">
  64.                                     <div class="footer-column-content-inner">
  65.                                         {% block layout_footer_navigation_information_links %}
  66.                                             <ul class="list-unstyled">
  67.                                                 {% for treeItem in root.children %}
  68.                                                     {% set category = treeItem.category %}
  69.                                                     {% set name = category.translated.name %}
  70.                                                     {# @deprecated tag:v6.5.0 - Use "category.translated.externalLink" directly or category_url function instead. #}
  71.                                                     {% set externalLink = category.translated.externalLink %}
  72.                                                     {% block layout_footer_navigation_information_link_item %}
  73.                                                         <li class="footer-link-item order-2">
  74.                                                             {% block layout_footer_navigation_information_link %}
  75.                                                                 {% if category.type == 'folder' %}
  76.                                                                     <div>{{ name }}</div>
  77.                                                                 {% else %}
  78.                                                                     <a class="footer-link"
  79.                                                                        href="{{ category_url(category) }}"
  80.                                                                        {% if category_linknewtab(category) %}target="_blank"{% endif %}
  81.                                                                        title="{{ name }}">
  82.                                                                         {{ name }}
  83.                                                                     </a>
  84.                                                                 {% endif %}
  85.                                                             {% endblock %}
  86.                                                         </li>
  87.                                                     {% endblock %}
  88.                                                 {% endfor %}
  89.                                                 {# Contact-form Modal trigger #}
  90.                                                 {% if loop.index  == 4 %}
  91.                                                     <li class="footer-link-item order-1">
  92.                                                         {{ 'sanetta.footer.service.serviceContactLink'|trans({
  93.                                                             '%url%': path('frontend.cms.page', { id: config('core.basicInformation.contactPage') })
  94.                                                         })|raw }}
  95.                                                     </li>
  96.                                                     <li class="footer-link-item order-1">
  97.                                                         <a href="#" class="footer-link" role="button" data-toggle="modal" data-target="#modalSizesTable">
  98.                                                             {{ "sanetta.productDetail.sizesTable.headline"|trans|striptags }}
  99.                                                         </a>
  100.                                                     </li>
  101.                                                 {% endif %}
  102.                                             </ul>
  103.                                         {% endblock %}
  104.                                     </div>
  105.                                 </div>
  106.                             {% endblock %}
  107.                         </div>
  108.                     {% endblock %}
  109.                 {% endfor %}
  110.                 {# Newsletter Form #}
  111.                 {% block layout_footer_navigation_newsletter %}
  112.                     <div class="col-md-6 col-lg-2 footer-column js-footer-column">
  113.                         {% block layout_footer_navigation_newsletter_headline %}
  114.                             <div class="footer-column-headline footer-headline js-collapse-footer-column-trigger"
  115.                                  data-target="#collapseFooterNewsletter"
  116.                                  aria-expanded="true"
  117.                                  aria-controls="collapseFooterNewsletter">
  118.                                     {{ 'sanetta.footer.newsletter.headline'|trans|sw_sanitize }}
  119.                                     {% block layout_footer_navigation_newsletter_icons %}
  120.                                         <div class="footer-column-toggle">
  121.                                             <span class="footer-plus-icon">
  122.                                                 {% sw_icon 'plus' %}
  123.                                             </span>
  124.                                             <span class="footer-minus-icon">
  125.                                                 {% sw_icon 'minus' %}
  126.                                             </span>
  127.                                         </div>
  128.                                     {% endblock %}
  129.                             </div>
  130.                         {% endblock %}
  131.                         {% block layout_footer_navigation_newsletter_content %}
  132.                             <div id="collapseFooterNewsletter"
  133.                                  class="footer-column-content js-footer-column-content collapse cms-block"
  134.                                  aria-labelledby="collapseFooterNewsletter"
  135.                                  style="">
  136.                                 <div class="footer-column-content-inner cms-element-form">
  137.                                     <p>
  138.                                         {{ 'sanetta.footer.newsletter.paragraph'|trans|sw_sanitize }}
  139.                                     </p>
  140.                                     <form class="newsletter-form" action="{{ path('frontend.form.newsletter.register.handle') }}" method="post" data-form-csrf-handler="true" data-form-validation="true">
  141.                                         {{ sw_csrf('frontend.form.newsletter.register.handle') }}
  142.                                         <input type="hidden" name="option" value="subscribe"/>
  143.                                         <input type="submit" class="submit--hidden d-none">
  144.                                         {% set formViolations = app.request.get('errors') %}
  145.                                         <div class="input-group">
  146.                                             <input type="email" name="email" required="required" value="{{ data.get('email') }}" placeholder="{{ 'sanetta.footer.newsletter.placeholder'|trans|sw_sanitize }}" class="form-control {% if formViolations.getViolations('/email') %} is-invalid{% endif %}" checked>
  147.                                             
  148.                                             {% sw_include '@Storefront/storefront/component/captcha/base.html.twig' with { additionalClass : 'col-md-4'} %}
  149.                                             <button type="submit" class="btn btn-ghost btn-footer-newsletter">
  150.                                                 {{ 'sanetta.footer.newsletter.button'|trans|sw_sanitize }}
  151.                                             </button>
  152.                                         </div>
  153.                                     </form>
  154.                                 </div>
  155.                             </div>
  156.                         {% endblock %}
  157.                     </div>
  158.                 {% endblock %}
  159.                 {# Shipping #}
  160.                 {% block layout_footer_navigation_shipping %}
  161.                     <div class="col-md-6 col-lg-2 footer-column js-footer-column">
  162.                         {% block layout_footer_navigation_shipping_headline %}
  163.                             <div class="footer-column-headline footer-headline js-footer-column-headline js-collapse-footer-column-trigger"
  164.                                  id="collapseFooterShippingTitle"
  165.                                  data-target="#collapseFooterShipping"
  166.                                  aria-expanded="true"
  167.                                  aria-controls="collapseFooterShipping">
  168.                                 {{ 'sanetta.footer.shipping.headline'|trans|sw_sanitize }}
  169.                                 {% block layout_footer_navigation_shipping_icons %}
  170.                                     <div class="footer-column-toggle">
  171.                                         <span class="footer-plus-icon">
  172.                                             {% sw_icon 'plus' %}
  173.                                         </span>
  174.                                         <span class="footer-minus-icon">
  175.                                             {% sw_icon 'minus' %}
  176.                                         </span>
  177.                                     </div>
  178.                                 {% endblock %}
  179.                             </div>
  180.                         {% endblock %}
  181.                         {% block layout_footer_navigation_shipping_content %}
  182.                             <div id="collapseFooterShipping"
  183.                                  class="footer-column-content collapse js-footer-column-content footer-contact"
  184.                                  aria-labelledby="collapseFooterShippingTitle">
  185.                                 <div class="footer-logos">
  186.                                     {% block layout_footer_shipping_logos %}
  187.                                         {% for shippingMethod in page.salesChannelShippingMethods %}
  188.                                             {% block layout_footer_shipping_logo %}
  189.                                                 {% if shippingMethod.media %}
  190.                                                     <div class="footer-logo is-shipping">
  191.                                                         {% sw_thumbnails 'footer-shipping-image-thumbnails' with {
  192.                                                             media: shippingMethod.media,
  193.                                                             sizes: {
  194.                                                                 'default': '100px'
  195.                                                             },
  196.                                                             attributes: {
  197.                                                                 'class': 'img-fluid footer-logo-image',
  198.                                                                 'alt': (shippingMethod.media.translated.alt ?: shippingMethod.translated.name),
  199.                                                                 'title': (shippingMethod.media.translated.title ?: shippingMethod.translated.name)
  200.                                                             }
  201.                                                         } %}
  202.                                                     </div>
  203.                                                 {% endif %}
  204.                                             {% endblock %}
  205.                                         {% endfor %}
  206.                                     {% endblock %}
  207.                                 </div>
  208.                             </div>
  209.                         {% endblock %}
  210.                     </div>
  211.                 {% endblock %}
  212.                 {# Payment #}
  213.                 {% block layout_footer_navigation_payment %}
  214.                     <div class="col-md-6 col-lg-2 footer-column js-footer-column">
  215.                         {% block layout_footer_navigation_payment_headline %}
  216.                             <div class="footer-column-headline footer-headline js-footer-column-headline js-collapse-footer-column-trigger"
  217.                                  id="collapseFooterPaymentTitle"
  218.                                  data-target="#collapseFooterPayment"
  219.                                  aria-expanded="true"
  220.                                  aria-controls="collapseFooterPayment">
  221.                                 {{ 'sanetta.footer.payment.headline'|trans|sw_sanitize }}
  222.                                 {% block layout_footer_navigation_payment_icons %}
  223.                                     <div class="footer-column-toggle">
  224.                                         <span class="footer-plus-icon">
  225.                                             {% sw_icon 'plus' %}
  226.                                         </span>
  227.                                         <span class="footer-minus-icon">
  228.                                             {% sw_icon 'minus' %}
  229.                                         </span>
  230.                                     </div>
  231.                                 {% endblock %}
  232.                             </div>
  233.                         {% endblock %}
  234.                         {% block layout_footer_navigation_payment_content %}
  235.                             <div id="collapseFooterPayment"
  236.                                  class="footer-column-content collapse js-footer-column-content footer-contact"
  237.                                  aria-labelledby="collapseFooterPaymentTitle">
  238.                                 <div class="footer-logos">
  239.                                     {% block layout_footer_payment_logos %}
  240.                                     {% for paymentMethod in page.salesChannelPaymentMethods %}
  241.                                         {% block layout_footer_payment_logo %}
  242.                                             {% if paymentMethod.media %}
  243.                                                 <div class="footer-logo is-payment">
  244.                                                     {% sw_thumbnails 'footer-payment-image-thumbnails' with {
  245.                                                         media: paymentMethod.media,
  246.                                                         sizes: {
  247.                                                             'default': '100%'
  248.                                                         },
  249.                                                         attributes: {
  250.                                                             'class': 'img-fluid footer-logo-image',
  251.                                                             'alt': (paymentMethod.media.translated.alt ?: paymentMethod.translated.name),
  252.                                                             'title': (paymentMethod.media.translated.title ?: paymentMethod.translated.name)
  253.                                                         }
  254.                                                     } %}
  255.                                                 </div>
  256.                                             {% endif %}
  257.                                         {% endblock %}
  258.                                     {% endfor %}
  259.                                 {% endblock %}
  260.                                 </div>
  261.                             </div>
  262.                         {% endblock %}
  263.                     </div>
  264.                 {% endblock %}
  265.                 {# Storefinder #}
  266.                 {% block layout_footer_navigation_storefinder %}
  267.                     <div class="col-md-6 col-lg-2 footer-column js-footer-column d-none">
  268.                         {% block layout_footer_navigation_storefinder_headline %}
  269.                             <div class="footer-column-headline footer-headline js-footer-column-headline js-collapse-footer-column-trigger"
  270.                                  id="collapseFooterStorefinderMobile"
  271.                                  data-target="#collapseFooterStorefinderMobile"
  272.                                  aria-expanded="true"
  273.                                  aria-controls="collapseFooterStorefinderMobile">
  274.                                 {{ 'sanetta.footer.storefinder.headline'|trans|sw_sanitize }}
  275.                                 {% block layout_footer_navigation_storefinder_icons %}
  276.                                     <div class="footer-column-toggle">
  277.                                         <span class="footer-plus-icon">
  278.                                             {% sw_icon 'plus' %}
  279.                                         </span>
  280.                                         <span class="footer-minus-icon">
  281.                                             {% sw_icon 'minus' %}
  282.                                         </span>
  283.                                     </div>
  284.                                 {% endblock %}
  285.                             </div>
  286.                         {% endblock %}
  287.                         {% block layout_footer_navigation_storefinder_content %}
  288.                             <div id="collapseFooterStorefinder"
  289.                                  class="footer-column-content collapse js-footer-column-content footer-contact"
  290.                                  aria-labelledby="collapseFooterStorefinder">
  291.                                 <div class="footer-column-content-inner">
  292.                                     <p>
  293.                                         {{ 'sanetta.footer.storefinder.paragraph'|trans|sw_sanitize }}
  294.                                     </p>
  295.                                     <a href=" {{ 'sanetta.footer.storefinder.link'|trans|sw_sanitize }}" target="_blank" rel="noopener noreferrer"
  296.                                        title="{{ root.category.translated.name }}" class="btn btn-ghost">
  297.                                         {{ 'sanetta.footer.storefinder.button'|trans|sw_sanitize }}
  298.                                     </a>
  299.                                 </div>
  300.                             </div>
  301.                         {% endblock %}
  302.                     </div>
  303.                 {% endblock %}
  304.                 {# }
  305.                 {# Socialmedia #}
  306.                 {% block layout_footer_navigation_socialmedia %}
  307.                     <div class="col-md-6 col-lg-2 footer-column js-footer-column">
  308.                         {% block layout_footer_navigation_socialmedia_headline %}
  309.                             <div class="footer-column-headline footer-headline js-footer-column-headline js-collapse-footer-column-trigger"
  310.                                  id="collapseFooterSocialmediaMobile"
  311.                                  data-target="#collapseFooterSocialmediaMobile"
  312.                                  aria-expanded="true"
  313.                                  aria-controls="collapseFooterSocialmediaMobile">
  314.                                 {{ 'sanetta.footer.socialmedia.headline'|trans|sw_sanitize }}
  315.                                 {% block layout_footer_navigation_socialmedia_icons %}
  316.                                     <div class="footer-column-toggle">
  317.                                         <span class="footer-plus-icon">
  318.                                             {% sw_icon 'plus' %}
  319.                                         </span>
  320.                                         <span class="footer-minus-icon">
  321.                                             {% sw_icon 'minus' %}
  322.                                         </span>
  323.                                     </div>
  324.                                 {% endblock %}
  325.                             </div>
  326.                         {% endblock %}
  327.                         {% block layout_footer_navigation_socialmedia_content %}
  328.                             <div id="collapseFooterSocialmedia"
  329.                                  class="footer-column-content collapse js-footer-column-content footer-contact"
  330.                                  aria-labelledby="collapseFooterSocialmedia">
  331.                                 <div class="footer-column-content-inner">
  332.                                     <ul class="socialmedia-list" role="menu" aria-label="Socialmedia-Navigation">
  333.                                         <li role="presentation">
  334.                                             <a href="{{ "sanetta.socialmedia.facebook"|trans|sw_sanitize }}" role="menuitem" target="_blank" rel="noopener noreferrer">
  335.                                                 <!-- {% sw_icon 'social-facebook' style {'pack': 'sanetta'} %} -->
  336.                                                 <img src="{{ asset('assets/icon/social-facebook.svg', '@SanettaTheme') }}">
  337.                                             </a>
  338.                                         </li>
  339.                                         <li role="presentation">
  340.                                             <a href="{{ "sanetta.socialmedia.instagram"|trans|sw_sanitize }}" role="menuitem" target="_blank" rel="noopener noreferrer">
  341.                                                <!-- {% sw_icon 'social-instagram' style {'pack': 'sanetta'} %} -->
  342.                                                <img src="{{ asset('assets/icon/social-instagram.svg', '@SanettaTheme') }}">
  343.                                             </a>
  344.                                         </li>
  345.                                     </ul>
  346.                                 </div>
  347.                             </div>
  348.                         {% endblock %}
  349.                     </div>
  350.                 {% endblock %}
  351.             {% endblock %} {#  End layout_footer_navigation_columns #}
  352.         </div>
  353.         {% sw_include '@SanettaTheme/storefront/modal/dm_sizes-table.html.twig' %}
  354.     {% endblock %}
  355. </div>