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

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/layout/footer/footer.html.twig' %}
  2. {% block layout_footer_navigation_hotline %}
  3.     <div class="col-12 col-lg-5 footer-column contact-column">
  4.         <div class="row">
  5.             <div class="col-sm-6 col-md-4 col-lg-5">
  6.                 {% block layout_footer_navigation_hotline_headline %}
  7.                     <a class="footer-logo-main-link"
  8.                        href="{{ path('frontend.home.page') }}"
  9.                        title="{{ "header.logoLink"|trans|striptags }}">
  10.                         <picture>
  11.                             {% if shopware.theme['sw-logo-desktop'] %}
  12.                                 <img src="{{ shopware.theme['sw-logo-desktop'] |sw_encode_url }}"
  13.                                      alt="{{ "header.logoLink"|trans|striptags }}"
  14.                                      class="img-fluid header-logo-main-img"/>
  15.                             {% endif %}
  16.                         </picture>
  17.                     </a>
  18.                 {% endblock %}
  19.                 <div class="footer-service-address">
  20.                     {{ "footer.serviceAddress"|trans|raw }}
  21.                 </div>
  22.                 <div class="footer-social-media">
  23.                     <div class="social-media-headline">{{ "footer.socialMediaHeadline"|trans }}</div>
  24.                     <ul>
  25.                         <li class="facebook-icon"><a href="{{ "socialMedia.facebookUrl"|trans|raw }}" title="Facebook - Bodymed" target="_blank">{% sw_icon 'facebook' style {'pack':'bodymed'} %}</a></li>
  26.                         <li class="youtube-icon"><a href="{{ "socialMedia.youtubeUrl"|trans|raw }}" title="Youtube - Bodymed" target="_blank">{% sw_icon 'youtube' style {'pack':'bodymed'} %}</a></li>
  27.                         <li class="instagram-icon"><a href="{{ "socialMedia.instagramUrl"|trans|raw }}" title="Instagram - Bodymed" target="_blank">{% sw_icon 'instagram' style {'pack':'bodymed'} %}</a></li>
  28.                         <li class="spotify-icon"><a href="{{ "socialMedia.spotifyUrl"|trans|raw }}" title="Spotify - Bodymed" target="_blank">{% sw_icon 'spotify' style {'pack':'bodymed'} %}</a></li>
  29.                     </ul>
  30.                 </div>
  31.             </div>
  32.             <div class="col-sm-6 col-md-8 col-lg-7">
  33.                 {% block layout_footer_navigation_hotline_content %}
  34.                     <div class="footer-column-content footer-contact"
  35.                          aria-labelledby="collapseFooterHotlineTitle">
  36.                         <div class="footer-contact-headline">
  37.                             {{ "footer.serviceHotlineHeadline"|trans|raw }}
  38.                         </div>
  39.                         {% sw_icon "hotline" style{'pack':'bodymed'} %}
  40.                         <div class="footer-column-content-inner">
  41.                             <p class="footer-contact-hotline">
  42.                                 {{ 'footer.serviceHotline'|trans|sw_sanitize }}
  43.                             </p>
  44.                         </div>
  45.                         <div class="footer-contact-form">
  46.                             {{ 'footer.serviceContactLink'|trans({
  47.                                 '%url%': path('frontend.cms.page', { id: config('core.basicInformation.contactPage') })
  48.                             })|raw }}
  49.                         </div>
  50.                     </div>
  51.                 {% endblock %}
  52.             </div>
  53.         </div>
  54.     </div>
  55. {% endblock %}
  56. {% block layout_footer_navigation_columns %}
  57.     <div class="col-12 col-lg-7">
  58.         <div class="row">
  59.             {{ parent() }}
  60.         </div>
  61.     </div>
  62. {% endblock %}
  63. {% block layout_footer_navigation_information_link %}
  64.     <a class="footer-link"
  65.        href="{% if externalLink %}{{ externalLink }}{% else %}{{ seoUrl('frontend.navigation.page', { navigationId: category.id }) }}{% endif %}"
  66.         {% if 'bodymed.com' in externalLink %}target="_blank"{% endif %}
  67.        title="{{ name }}">
  68.         {{ name }}
  69.     </a>
  70. {% endblock %}
  71. {% block layout_footer_payment_shipping_logos %}
  72.     <div class="footer-logos">
  73.         <div class="row">
  74.             <!-- div class="footer-vat col col-md-8 col-xl-9" -->
  75.             <div class="footer-vat col-12">
  76.                 {{ render_esi(controller('\\Bodymed\\Webshop\\StoreFront\\Controller\\Fragment\\VatInfoController::footer')) }}
  77.                 <p>
  78.                     {{ "footer.vatInfo2"|trans({
  79.                         '%url%': path('frontend.cms.page',{ id: config('core.basicInformation.shippingPaymentInfoPage') })
  80.                     })|raw }}
  81.                 </p>
  82.             </div>
  83.             <!-- div class="footer-badges col-md-4 col-xl-3">
  84.                 <img src="{{ asset('assets/img/bodymed-25-years-certificate.svg', '@MadBodymedTheme') }}" />
  85.                 <img src="{{ asset('assets/img/bodymed-expert-certificate.svg', '@MadBodymedTheme') }}" />
  86.                 <img src="{{ asset('assets/img/bodymed-nr-1-certificate.svg', '@MadBodymedTheme') }}" />
  87.             </div -->
  88.         </div>
  89.     </div>
  90. {% endblock %}
  91. {% block layout_footer_navigation_information_link_item %}
  92.     {% if treeItem.category.customFields.custom_footer_navigation_customer_end_customer or treeItem.category.customFields.custom_footer_navigation_customer_partner or treeItem.category.customFields.custom_footer_navigation_customer_pharmacy %}
  93.         {% if treeItem.category.customFields.custom_footer_navigation_customer_end_customer and isCustomerPrivate() or treeItem.category.customFields.custom_footer_navigation_customer_end_customer and isCustomerBusiness() %}
  94.             {{ parent() }}
  95.         {% endif %}
  96.         {% if treeItem.category.customFields.custom_footer_navigation_customer_partner and isCustomerPartner() %}
  97.             {{ parent() }}
  98.         {% endif %}
  99.         {% if treeItem.category.customFields.custom_footer_navigation_customer_pharmacy and isCustomerPharmacy() %}
  100.             {{ parent() }}
  101.         {% endif %}
  102.     {% else %}
  103.         {{ parent() }}
  104.     {% endif %}
  105. {% endblock %}
  106. {% block layout_footer_vat %}
  107. {% endblock %}
  108. {% block layout_footer_copyright %}
  109. {% endblock %}
  110. {% block layout_footer_service_menu_content %}
  111.     <div class="row">
  112.         <div class="col-12 col-md-4">
  113.             {{ "footer.copyrightInfo"|trans|sw_sanitize }}
  114.         </div>
  115.         <div class="col-12 col-md-4">
  116.             <ul class="footer-service-menu-list list-unstyled">
  117.                 {% for serviceMenuItem in page.header.serviceMenu %}
  118.                     {% block layout_footer_service_menu_item %}
  119.                         <li class="footer-service-menu-item">
  120.                             <a class="footer-service-menu-link"
  121.                                href="{% if serviceMenuItem.externalLink %}{{ serviceMenuItem.externalLink }}{% else %}{{ seoUrl('frontend.navigation.page', { navigationId: serviceMenuItem.id }) }}{% endif %}"
  122.                                title="{{ serviceMenuItem.translated.name }}">
  123.                                 {{ serviceMenuItem.translated.name }}
  124.                             </a>
  125.                         </li>
  126.                     {% endblock %}
  127.                 {% endfor %}
  128.                 <li class="footer-service-menu-item">
  129.                     {{ 'footer.serviceContactLinkPlain'|trans({
  130.                         '%url%': path('frontend.cms.page', { id: config('core.basicInformation.contactPage') })
  131.                     })|raw }}
  132.                 </li>
  133.             </ul>
  134.         </div>
  135.         <div class="col-12 col-md-4 footer-payment-col">
  136.             {% for paymentMethod in page.salesChannelPaymentMethods %}
  137.                 {% block layout_footer_payment_logo %}
  138.                     {% if paymentMethod.media %}
  139.                         <div class="footer-logo is-payment m-0">
  140.                             {% sw_thumbnails 'footer-payment-image-thumbnails' with {
  141.                                 media: paymentMethod.media,
  142.                                 sizes: {
  143.                                     'default': '100px'
  144.                                 },
  145.                                 attributes: {
  146.                                     'class': 'img-fluid footer-logo-image',
  147.                                     'alt': (paymentMethod.media.translated.alt ?: paymentMethod.translated.name),
  148.                                     'title': (paymentMethod.media.translated.title ?: paymentMethod.translated.name)
  149.                                 }
  150.                             } %}
  151.                         </div>
  152.                     {% endif %}
  153.                 {% endblock %}
  154.             {% endfor %}
  155.         </div>
  156.     </div>
  157. {% endblock %}