custom/plugins/WbfkThemeMMedientechnik/src/Resources/views/storefront/component/footer.twig line 1

Open in your IDE?
  1. <div class="container m24-trusted-carousel-container">
  2.     <h3>{{ 'footer.trustedCarouselHeading'|trans|raw }}</h3>
  3.     {{ 'footer.trustedCarouselData'|trans|raw }}
  4. </div>
  5. <div class="pre-footer">
  6.     <div class="container">
  7.         <div class="m24-footer-block">
  8.             <img class="m24-footer-header m24-footer-logo" src="{{ theme_config('m24-footer-logo')|sw_encode_url }}"/>
  9.             <p>{{ 'preFooter.address'|trans|raw }}</p>
  10.         </div>
  11.         <div class="m24-footer-block">
  12.             <p class="m24-footer-header">{{ 'preFooter.contactHeadline'|trans }}</p>
  13.             <p>{{ 'preFooter.contact'|trans|raw }}</p>
  14.         </div>
  15.         <div class="m24-footer-block m24-newsletter-block">
  16.             <p class="m24-footer-header">Unser Newsletter: News & Angebote direkt in Ihr Postfach</p>
  17.             <form
  18.                     action="{{ path('frontend.form.newsletter.register.handle') }}"
  19.                     method="post"
  20.                     data-wbfk-ajax-newsletter="true"
  21.                     class="m24-newsletter-form"
  22.             >
  23.                 <div class="m24-before-submit">
  24.                     {{ sw_csrf('frontend.form.newsletter.register.handle') }}
  25.                     <input type="hidden" name="option" value="{{ constant('Shopware\\Storefront\\Controller\\FormController::SUBSCRIBE') }}">
  26.                     <div class="m24nl-form-row">
  27.                         <input name="email" type="email" value="" placeholder="{{ 'newsletter.labelMail'|trans }}" required="required">
  28.                         {% block cms_form_newsletter_captcha %}
  29.                             {% sw_include '@Storefront/storefront/component/captcha/base.html.twig' with { additionalClass : 'col-md-4'} %}
  30.                         {% endblock %}
  31.                         <button type="submit" class="btn btn-primary float-right">{{ 'preFooter.newsletter.submit'|trans }}</button>
  32.                     </div>
  33.                     <p class="m24nl-privacy-notice">
  34.                         {{ 'preFooter.newsletter.privacyNotice'|trans({'%privacyUrl%': path('frontend.cms.page', { id: config('core.basicInformation.privacyPage') })})|raw }}
  35.                     </p>
  36.                 </div>
  37.                 <div class="m24-after-submit">
  38.                     <button class="btn btn-primary m24nl-back-button">{{ 'preFooter.newsletter.back'|trans }}</button>
  39.                     <div class="m24nl-response">
  40.                     </div>
  41.                 </div>
  42.             </form>
  43.         </div>
  44.     </div>
  45. </div>
  46. <div class="global-footer">
  47.     <div class="global-footer-container container">
  48.         <div class="global-footer-inner footer-columns row" data-collapse-footer="true" role="list">
  49.             {% for root in page.footer.navigation.tree %}
  50.             {% block layout_footer_navigation_column %}
  51.             <div class="col-md-3 footer-column js-footer-column">
  52.                 {% block layout_footer_navigation_information_headline %}
  53.                 <div class="footer-column-headline footer-headline js-footer-column-headline  js-collapse-footer-column-trigger"
  54.                 {{ dataBsTargetAttr }}="#collapseFooter{{ loop.index }}"
  55.                 id="collapseFooterTitle{{ loop.index }}"
  56.                 aria-expanded="true"
  57.                 role="listitem"
  58.                 aria-controls="collapseFooter{{ loop.index }}">
  59.                 {{ root.category.translated.name }}
  60.             </div>
  61.             {% endblock %}
  62.             {% block layout_footer_navigation_information_content %}
  63.                 <div id="collapseFooter{{ loop.index }}"
  64.                      class="footer-column-content"
  65.                      aria-labelledby="collapseFooterTitle{{ loop.index }}">
  66.                     <div class="footer-column-content-inner">
  67.                         {% block layout_footer_navigation_information_links %}
  68.                             <ul class="list-unstyled">
  69.                                 {% for treeItem in root.children %}
  70.                                     {% set category = treeItem.category %}
  71.                                     {% set name = category.translated.name %}
  72.                                     {% set externalLink = category.translated.externalLink %}
  73.                                     {% block layout_footer_navigation_information_link_item %}
  74.                                         <li class="footer-link-item">
  75.                                             {% block layout_footer_navigation_information_link %}
  76.                                                 {% if category.type == 'folder' %}
  77.                                                     <div>{{ name }}</div>
  78.                                                 {% else %}
  79.                                                     <a class="footer-link"
  80.                                                        href="{{ category_url(category) }}"
  81.                                                        {% if category_linknewtab(category) %}target="_blank"{% endif %}
  82.                                                        title="{{ name }}">
  83.                                                         {{ name }}
  84.                                                     </a>
  85.                                                 {% endif %}
  86.                                             {% endblock %}
  87.                                         </li>
  88.                                     {% endblock %}
  89.                                 {% endfor %}
  90.                             </ul>
  91.                         {% endblock %}
  92.                     </div>
  93.                 </div>
  94.             {% endblock %}
  95.         </div>
  96.         {% endblock %}
  97.         {% endfor %}
  98.         <div class="col-md-3 footer-column js-footer-column">
  99.             <div class="footer-column-headline footer-headline js-footer-column-headline js-collapse-footer-column-trigger"
  100.             {{ dataBsTargetAttr }}="#collapseFooter{{ loop.index }}"
  101.             id="collapseFooterTitle{{ loop.index }}"
  102.             aria-expanded="true"
  103.             role="listitem"
  104.             aria-controls="collapseFooter{{ loop.index }}">
  105.             {% if context.salesChannel.translated.customFields.m24_footer_partial_headline is not empty %}
  106.                 {{ context.salesChannel.translated.customFields.m24_footer_partial_headline }}
  107.             {% endif %}
  108.         </div>
  109.         {% apply spaceless %}
  110.             <div id="collapseFooter{{ loop.index }}"
  111.                  class="footer-column-content js-footer-column-content"
  112.                  aria-labelledby="collapseFooterTitle{{ loop.index }}">
  113.                 <div class="footer-column-content-inner">
  114.                     {% if context.salesChannel.translated.customFields.wbfk_footer_cms_partial_chooser_content is not empty %}
  115.                         {% sw_include "@Storefront/storefront/page/content/detail.html.twig" with {'cmsPage': getCmsPageById(context.salesChannel.translated.customFields.wbfk_footer_cms_partial_chooser_content, context)} %}
  116.                     {% endif %}
  117.                 </div>
  118.             </div>
  119.         {% endapply %}
  120.     </div>
  121. </div>