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