custom/plugins/LiamoriaBaseTheme/src/Resources/views/storefront/base.html.twig line 1

Open in your IDE?
  1. {% sw_extends '@Storefront/storefront/base.html.twig' %}
  2. {% block base_header %}
  3.     <header class="header-main">
  4.         {% sw_include '@Storefront/storefront/layout/header/top-bar.html.twig' %}
  5.         {% block base_header_inner %}
  6.             <div class="container">
  7.                 {% sw_include '@Storefront/storefront/layout/header/header.html.twig' %}
  8.             </div>
  9.         {% endblock %}
  10.     </header>
  11. {% endblock %}
  12. {% block base_footer %}
  13.     {% if controllerName|lower =='navigation' %}
  14.         <div class="cat-seo-container">
  15.             <div class="container">
  16.                 {% set soeText = page.header.navigation.active.translated.customFields.custom_footer_seo_text %}
  17.                 {{ soeText|raw }}
  18.             </div>
  19.         </div>
  20.     {% endif %}
  21.     <div class="footer-benefiz">
  22.         {# theme-variable for footer-benefiz #}
  23.         {% set firstImage = theme_config("footer-benefiz-image1") %}
  24.         {% set secondImage = theme_config("footer-benefiz-image2") %}
  25.         {% set thirdImage = theme_config("footer-benefiz-image3") %}
  26.         {% set fourthImage = theme_config("footer-benefiz-image4") %}
  27.         {% set fifthImage = theme_config("footer-benefiz-image5") %}
  28.         {% set sixthImage = theme_config("footer-benefiz-image6") %}
  29.         {% set firstText = theme_config("footer-benefiz-text1") %}
  30.         {% set secondText = theme_config("footer-benefiz-text2") %}
  31.         {% set thirdText = theme_config("footer-benefiz-text3") %}
  32.         {% set fourthText = theme_config("footer-benefiz-text4") %}
  33.         {% set fifthText = theme_config("footer-benefiz-text5") %}
  34.         {% set sixthText = theme_config("footer-benefiz-text6") %}
  35.         {# end theme-variable #}
  36.         <div class="container row">
  37.             <div class="col-6 col-lg-2 col-md-4 footer-benefiz-content">
  38.                 <img src="{{ firstImage }}">
  39.                 <p>
  40.                     {{ firstText }}
  41.                 </p>
  42.             </div>
  43.             <div class="col-6 col-lg-2 col-md-4 footer-benefiz-content">
  44.                 <img src="{{ secondImage }}">
  45.                 <p>
  46.                     {{ secondText }}
  47.                 </p>
  48.             </div>
  49.             <div class="col-6 col-lg-2 col-md-4 footer-benefiz-content">
  50.                 <img src="{{ thirdImage }}">
  51.                 <p>
  52.                     {{ thirdText }}
  53.                 </p>
  54.             </div>
  55.             <div class="col-6 col-lg-2 col-md-4 footer-benefiz-content">
  56.                 <img src="{{ fourthImage }}">
  57.                 <p>
  58.                     {{ fourthText }}
  59.                 </p>
  60.             </div>
  61.             <div class="col-6 col-lg-2 col-md-4 footer-benefiz-content">
  62.                 <img src="{{ fifthImage }}">
  63.                 <p>
  64.                     {{ fifthText }}
  65.                 </p>
  66.             </div>
  67.             <div class="col-6 col-lg-2 col-md-4 footer-benefiz-content">
  68.                 <img src="{{ sixthImage }}">
  69.                 <p>
  70.                     {{ sixthText }}
  71.                 </p>
  72.             </div>
  73.         </div>
  74.     </div>
  75.    {{ parent() }}
  76. {% endblock %}