templates/template_parts/footer.html.twig line 1

  1. <div class="my-5">
  2.     <footer class=" text-lg-start text-white" style="background-color: #929fba">
  3.         <!-- Grid container -->
  4.         <div class=" p-2 pb-0">
  5.             <!-- Section: Links -->
  6.             <section class="">
  7.                 <div class="">
  8.                     <!--Grid row-->
  9.                     <div class="row">
  10.                         <!-- Grid column -->
  11.                         <div style="color: lightblue;font-size: small;text-align: left"
  12.                              class=" col-md-12 col-lg-4  mx-auto mt-3">
  13.                             v.2025-11-11
  14.                         </div>
  15.                         <!-- Grid column -->
  16.                         <hr class="w-100 clearfix d-md-none"/>
  17.                         <!-- Grid column -->
  18.                         {% if CompanyDetailsService.companyDetails is not null %}
  19.                             <div style="text-align: left" class=" col-md-12 col-lg-4 mx-auto  mt-3 ">
  20.                                 {% if CompanyDetailsService.companyDetails.footerDisplayProducts ==1 %}
  21.                                     <h6 class="text-uppercase mb-4 font-weight-bold">
  22.                                         {% if CompanyDetailsService.companyDetails is not null and CompanyDetailsService.companyDetails.titleProducts is not null %}
  23.                                             {{ CompanyDetailsService.companyDetails.titleProducts }}
  24.                                         {% else %}
  25.                                             Products
  26.                                         {% endif %}
  27.                                     </h6>
  28.                                     <div class="row">
  29.                                         {% set products = ProductService.getProductMainFooter %}
  30.                                         {% for i in 1..2 %}
  31.                                             {% if i == 1 %}
  32.                                                 <div class="col-md-4">
  33.                                                     {% for product in products %}
  34.                                                         {% if loop.index < 6 %}
  35.                                                             <div>
  36.                                                                 <li>
  37.                                                                     <a target="_blank" class="mb-1"
  38.                                                                        title="{{ product.notes|striptags }}"
  39.                                                                        href="{{ path('product_display', { product: product.product}) }}">{{ product.product }}</a>
  40.                                                                 </li>
  41.                                                             </div>
  42.                                                         {% endif %}
  43.                                                     {% endfor %}
  44.                                                 </div>
  45.                                             {% else %}
  46.                                                 <div class="col-md-6">
  47.                                                     {% for product in products %}
  48.                                                         {% if loop.index > 5 %}
  49.                                                             <div>
  50.                                                                 <li>
  51.                                                                     <a target="_blank" class="mb-1"
  52.                                                                        title="{{ product.notes|striptags }}"
  53.                                                                        href="{{ path('product_display', { product: product.product}) }}">{{ product.product }}</a>
  54.                                                                 </li>
  55.                                                             </div>
  56.                                                         {% endif %}
  57.                                                     {% endfor %}
  58.                                                 </div>
  59.                                             {% endif %}
  60.                                         {% endfor %}
  61.                                     </div>
  62.                                 {% endif %}
  63.                             </div>
  64.                         {% endif %}
  65.                         <!-- Grid column -->
  66.                         <hr class="w-100 clearfix d-md-none"/>
  67.                         <!-- Grid column -->
  68.                         {% if CompanyDetailsService.companyDetails is not null %}
  69.                             <div class="col-md-6 mt-3 col-lg-2 mx-auto">
  70.                                 {% if CompanyDetailsService.companyDetails.footerDisplayContactDetails ==1 %}
  71.                                     <h6 class="text-uppercase mb-4 font-weight-bold">Contact
  72.                                         {% if CompanyDetailsService.companyDetails.contactDetailsDisplayCompanyVCF ==1 %}
  73.                                             <a class="btn btn-outline-info btn-sm mr-1"
  74.                                                href="{{ path('vcard_company_download') }}">
  75.                                                 <i style="color: yellow" class="fas fa-address-card mr-0"></i>
  76.                                             </a>
  77.                                         {% endif %}
  78.                                     </h6>
  79.                                     <p>
  80.                                         {% if CompanyDetailsService.getCompanyDetails is not null %}
  81.                                             {% if CompanyDetailsService.companyDetails.contactDetailsDisplayAddress ==1 %}
  82.                                                 <a target="_blank" href="{{ path('office_address') }}">
  83.                                                     <i style="color: red" class="fa fa-map-marker mr-3"></i></a>
  84.                                                 {{ CompanyDetailsService.getCompanyDetails.companyAddressStreet }},
  85.                                                 {{ CompanyDetailsService.getCompanyDetails.companyAddressTown }}
  86.                                                 {{ CompanyDetailsService.getCompanyDetails.companyAddressCity }}
  87.                                                 {{ CompanyDetailsService.getCompanyDetails.companyAddressPostalCode }}
  88.                                             {% endif %}
  89.                                         {% endif %}
  90.                                     </p>
  91.                                     <p>
  92.                                         {% if CompanyDetailsService.getCompanyDetails.companyEmail is not null %}
  93.                                             <a href="mailto:{{ CompanyDetailsService.getCompanyDetails.companyEmail }}">
  94.                                                 <i class="fas fa-envelope mr-3"> </i></a>
  95.                                             {{ CompanyDetailsService.getCompanyDetails.companyEmail }}
  96.                                         {% endif %}
  97.                                     </p>
  98.                                     {% if CompanyDetailsService.companyDetails.contactDetailsDisplayTelNumbers ==1 %}
  99.                                         <p>
  100.                                             {% if CompanyDetailsService.getCompanyDetails.companyTel is not null %}
  101.                                                 <a href="tel:{{ CompanyDetailsService.getCompanyDetails.companyTel|replace({' ': ''}) }}">
  102.                                                     <i class="fas fa-phone mr-3"></i></a>
  103.                                                 {{ CompanyDetailsService.getCompanyDetails.companyTel }}
  104.                                             {% endif %}
  105.                                         </p>
  106.                                         <p>
  107.                                             {% if CompanyDetailsService.getCompanyDetails.companyMobile is not null %}
  108.                                                 <a target="_blank"
  109.                                                    href="https://wa.me/{{ CompanyDetailsService.getCompanyDetails.companyMobile|replace({' ': ''}) }}">
  110.                                                     <i class="fab fa-whatsapp mr-3"
  111.                                                        style="color:green; text-align: center"></i></a>
  112.                                                 {{ CompanyDetailsService.getCompanyDetails.companyMobile }}
  113.                                             {% endif %}
  114.                                         </p>
  115.                                     {% endif %}
  116.                                 {% endif %}
  117.                             </div>
  118.                             <div style="text-align: left" class="col-md-6 mt-3 col-lg-2 mx-auto">
  119.                                 {% if CompanyDetailsService.companyDetails.footerDisplaySocialMedia ==1 %}
  120.                                     <h6 class="text-uppercase mb-4 font-weight-bold">
  121.                                         Follow
  122.                                     </h6>
  123.                                     <!-- Facebook -->
  124.                                     {% if  CompanyDetailsService.getCompanyDetails.facebook is not null %}
  125.                                         <a target="_blank"
  126.                                            class="btn btn-primary btn-floating m-1 footer-social-icon-fb"
  127.                                            data-hover-rule="color" data-hover-color="#dd3333"
  128.                                            style="color : #1877F2; font-size: 16px; padding:6px;background-color: #3b5998"
  129.                                            href="https://www.facebook.com/{{ CompanyDetailsService.getCompanyDetails.facebook }}"
  130.                                            role="button">
  131.                                             <i class="fab fa-facebook-f text-light"></i>
  132.                                         </a>
  133.                                     {% endif %}
  134.                                     <!-- Linkedin -->
  135.                                     {% if  CompanyDetailsService.getCompanyDetails.linkedIn is not null %}
  136.                                         <a target="_blank"
  137.                                            class="btn btn-primary btn-floating m-1 footer-social-icon-ln"
  138.                                            data-hover-rule="color" data-hover-color="#dd3333"
  139.                                            style="color : #1da1f2; font-size: 16px; padding:6px; background-color: #0082ca"
  140.                                            href="https://www.linkedin.com/in/{{ CompanyDetailsService.getCompanyDetails.linkedIn }}"
  141.                                            role="button">
  142.                                             <i class="fab fa-linkedin-in text-light"></i>
  143.                                         </a>
  144.                                     {% endif %}
  145.                                     <!-- Instagram -->
  146.                                     {% if  CompanyDetailsService.getCompanyDetails.instagram is not null %}
  147.                                         <a target="_blank"
  148.                                            class="btn btn-primary btn-floating m-1 footer-social-icon-in"
  149.                                            data-hover-rule="color" data-hover-color="red"
  150.                                            style="color : #1da1f2; font-size: 16px; padding:6px; background-color: #ac2bac"
  151.                                            href="https://www.instagram.com/{{ CompanyDetailsService.getCompanyDetails.instagram }}"
  152.                                            role="button">
  153.                                             <i class="fab fa-instagram text-light"></i>
  154.                                         </a>
  155.                                     {% endif %}
  156.                                     <!-- Twitter -->
  157.                                     {% if  CompanyDetailsService.getCompanyDetails.twitter is not null %}
  158.                                         <a target="_blank"
  159.                                            class="btn btn-primary btn-floating m-1 footer-social-icon-tw"
  160.                                            data-hover-rule="color" data-hover-color="#dd3333"
  161.                                            style="color : #1da1f2; font-size: 16px; padding:6px;background-color: #55acee"
  162.                                            href="https://x.com/{{ CompanyDetailsService.getCompanyDetails.twitter }}"
  163.                                            role="button">
  164.                                             <i class="fab fa-twitter text-light"></i>
  165.                                         </a>
  166.                                     {% endif %}
  167.                                 {% endif %}
  168.                             </div>
  169.                         {% endif %}
  170.                     </div>
  171.                 </div>
  172.                 <!--Grid row-->
  173.             </section>
  174.         </div>
  175.         <!-- Grid container -->
  176.     </footer>
  177.     <!-- Footer -->
  178. </div>