custom/plugins/BDLCustomThemeChanges/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. {% set socials = [
  3.         {
  4.             'title': 'Facebook',
  5.             'icon': 'fa fa-facebook-f',
  6.             'url': shopware.theme['rhweb-social-facebook']
  7.         },
  8.         {
  9.             'title': 'Twitter',
  10.             'icon': 'fa fa-twitter',
  11.             'url': shopware.theme['rhweb-social-twitter']
  12.         },
  13.         {
  14.             'title': 'Instagram',
  15.             'icon': 'fa fa-instagram',
  16.             'url': shopware.theme['rhweb-social-instagram']
  17.         },
  18.         {
  19.             'title': 'Youtube',
  20.             'icon': 'fa fa-youtube',
  21.             'url': shopware.theme['rhweb-social-youtube']
  22.         },
  23.         {
  24.             'title': 'Pinterest',
  25.             'icon': 'fa fa-pinterest-p',
  26.             'url': shopware.theme['rhweb-social-pinterest']
  27.         },
  28.         {
  29.             'title': 'Vimeo',
  30.             'icon': 'fa fa-vimeo',
  31.             'url': shopware.theme['rhweb-social-vimeo']
  32.         },
  33.         {
  34.             'title': 'Google Plus +',
  35.             'icon': 'fa fa-google-plus',
  36.             'url': shopware.theme['rhweb-social-googleplus']
  37.         },
  38.         {
  39.             'title': 'Tumblr',
  40.             'icon': 'fa fa-tumblr',
  41.             'url': shopware.theme['rhweb-social-tumblr']
  42.         },
  43.         {
  44.             'title': 'Linked In',
  45.             'icon': 'fa fa-linkedin',
  46.             'url': shopware.theme['rhweb-social-linkedin']
  47.         },
  48.         {
  49.             'title': 'Xing',
  50.             'icon': 'fa fa-xing',
  51.             'url': shopware.theme['rhweb-social-xing']
  52.         },
  53.         {
  54.             'title': 'Skype',
  55.             'icon': 'fa fa-skype',
  56.             'url': shopware.theme['rhweb-social-skype']
  57.         },
  58.         {
  59.             'title': 'Snapchat',
  60.             'icon': 'fa fa-snapchat',
  61.             'url': shopware.theme['rhweb-social-snapchat']
  62.         },
  63.         {
  64.             'title': 'Amazon',
  65.             'icon': 'fa fa-amazon',
  66.             'url': shopware.theme['rhweb-social-amazon']
  67.         },
  68.         {
  69.             'title': 'Ebay',
  70.             'icon': 'fab fa-ebay',
  71.             'url': shopware.theme['rhweb-social-ebay']
  72.         },
  73.         {
  74.             'title': 'Etsy',
  75.             'icon': 'fa fa-etsy',
  76.             'url': shopware.theme['rhweb-social-etsy']
  77.         },
  78.         {
  79.             'title': 'Appstore',
  80.             'icon': 'fab fa-app-store',
  81.             'url': shopware.theme['rhweb-social-appstore']
  82.         },
  83.         {
  84.             'title': 'Google Play',
  85.             'icon': 'fab fa-google-play',
  86.             'url': shopware.theme['rhweb-social-googleplay']
  87.         },
  88.         {
  89.             'title': 'Kickstarter',
  90.             'icon': 'fab fa-kickstarter-k',
  91.             'url': shopware.theme['rhweb-social-kickstarter']
  92.         },
  93.     ] %}
  94. {% set activateSocials = shopware.theme['rhweb-footer-activate-socials'] %}
  95. {% block layout_footer_navigation_hotline %}
  96.     {# //Do nothing #}
  97. {% endblock %}
  98. {% block layout_footer_navigation_columns %}
  99.     {# //Do nothing #}
  100. {% endblock %}
  101. {% block layout_footer_inner_container %}
  102.     <div class="footer-logos bdl-footer-blocks">
  103.         {% block layout_footer_bdl_menus %}
  104.             <div class="col-md-4 footer-column js-footer-column">
  105.                 <div class="footer-column-headline footer-headline js-collapse-footer-column-trigger">
  106.                     <span class="footer-column-name bdl-footer-menu-name">{{ 'bdlThemeChanges.footer.customerService'|trans|sw_sanitize }}</span>
  107.                 </div>
  108.                 <div class="footer-column-content">
  109.                     <ul class="footer-services-list bdl-customer-service">
  110.                         {% for footerMenuItem in bdlFooterMenu %}
  111.                             <li class="footer-menu-item">
  112.                                 <a class="footer-link" href="{% if footerMenuItem.externalLink %}{{ footerMenuItem.externalLink }}{% else %}{{ seoUrl('frontend.navigation.page', { navigationId: footerMenuItem.id }) }}{% endif %}" title="{{ footerMenuItem.translated.name }}">
  113.                                     <span>{{ footerMenuItem.translated.name }}</span>
  114.                                 </a>
  115.                             </li>
  116.                         {% endfor %}
  117.                     </ul>
  118.                 </div>
  119.             </div>
  120.         {% endblock %}
  121.         {% block layout_footer_payment_logos %}
  122.             {# //Do nothing #}
  123.         {% endblock %}
  124.         {% block layout_footer_bdl_address %}
  125.             <div class="col-md-4 footer-column js-footer-column">
  126.                 <div class="footer-column-headline footer-headline js-collapse-footer-column-trigger">
  127.                     <span class="footer-column-name bdl-footer-address-name">
  128.                         {{ 'bdlThemeChanges.footer.bardahl'|trans|sw_sanitize }}
  129.                     </span>
  130.                 </div>
  131.                 <div class="footer-column-content js-footer-column-content">
  132.                     {% if bdlCustomThemeSettings.BDL_footer_address %}
  133.                         {{ bdlCustomThemeSettings.BDL_footer_address|sw_sanitize }}
  134.                     {% endif %}
  135.                     <div class="bdl-footer-menu">
  136.                         {% if bdlCustomThemeSettings.BDL_email %}
  137.                             <a href="mailto:{{ bdlCustomThemeSettings.BDL_email|sw_sanitize }}">
  138.                                 <span>
  139.                                     {{ bdlCustomThemeSettings.BDL_email|sw_sanitize }}
  140.                                 </span>
  141.                             </a><br>
  142.                         {% endif %}
  143.                         {% if bdlCustomThemeSettings.BDL_phone %}
  144.                             <a href="tel:{{ bdlCustomThemeSettings.BDL_phone|sw_sanitize }}">
  145.                                 <span>
  146.                                     {{ bdlCustomThemeSettings.BDL_phone|sw_sanitize }}
  147.                                 </span>
  148.                             </a>
  149.                         {% endif %}
  150.                     </div>
  151.                 </div>
  152.             </div>
  153.         {% endblock %}
  154.         {% block layout_footer_shipping_logos %}
  155.             {# //Do nothing #}
  156.         {% endblock %}
  157.         <div class="col-md-4 footer-column js-footer-column">
  158.             {% block layout_footer_number_content %}
  159.                 <div class="bdl-footer-numbers">
  160.                     <div class="footer-column-content-inner">
  161.                         <div class="footer-kvk-number">
  162.                             {% if bdlCustomThemeSettings.BDL_footer_KVKnumber %}
  163.                                 {{ 'bdlThemeChanges.footer.KVKNumber'|trans|sw_sanitize }}:{{ bdlCustomThemeSettings.BDL_footer_KVKnumber }}
  164.                             {% endif %}
  165.                         </div>
  166.                         <div class="footer-btw-number">
  167.                             {% if bdlCustomThemeSettings.BDL_footer_BTWnumber %}
  168.                                 {{ 'bdlThemeChanges.footer.BTWNumber'|trans|sw_sanitize }}:{{ bdlCustomThemeSettings.BDL_footer_BTWnumber }}
  169.                             {% endif %}
  170.                         </div>
  171.                     </div>
  172.                 </div>
  173.             {% endblock %}
  174.             {% if activateSocials %}
  175.                 {% block rhweb_footer_socials %}
  176.                     {% block layout_footer_socials_headline %}
  177.                         <div class="footer-column-headline footer-headline bdl-footer-social-media-icons" data-target="#collapseFooterSocials" aria-expanded="true" aria-controls="collapseFooterSocials">
  178.                             {{ 'bdlThemeChanges.footer.vlogUs'|trans }}
  179.                         </div>
  180.                     {% endblock %}
  181.                     {% block layout_footer_socials_content %}
  182.                         <div id="collapseFooterSocials" class="footer-column-content collapse js-footer-column-content bdl-footer-social-media-icon" aria-labelledby="collapseFooterSocialsTitle">
  183.                             <div class="footer-column-content-inner mt-md-3">
  184.                                 <div class="footer-socials">
  185.                                     {% for social in socials %}
  186.                                         {% if social.url %}
  187.                                             <a class="footer-social-button" rel="noopener" aria-label="{{ social.title }} Page" target="_blank" href="{{ social.url }}" title="{{ social.title }}">
  188.                                                 <i aria-hidden="true" aria-label="{{ social.title }} Page" class="social-icon {{ social.icon }}"></i>
  189.                                             </a>
  190.                                         {% endif %}
  191.                                     {% endfor %}
  192.                                 </div>
  193.                             </div>
  194.                         </div>
  195.                     {% endblock %}
  196.                 {% endblock %}
  197.             {% endif %}
  198.         </div>
  199.         {% block rhweb_footer_certificates %}
  200.             {# #nothing to do #}
  201.         {% endblock %}
  202.     </div>
  203. {% endblock %}