templates/theme/default/partials/_footer.html.twig line 1

Open in your IDE?
  1. {% set target = ['','_top','_new','_self','_blank','_parent'] %}
  2. <footer class="modele-footer-1">
  3. <div class="footer-top">
  4. <div class="container-fluid content-wrapper">
  5. <div class="content-area">
  6. <div class="row justify-content-center">
  7. <div class="col-md-6">
  8. <div class="row">
  9. <div class="col-sm-12 col-md-12 col-lg-6 footer-logo">
  10. {% if parametre.imageFooter is not empty %}
  11. <a href="{{app.request.schemeAndHttpHost ~ app.request.baseUrl}}" class="logo-footer">
  12. <img src="{{asset('/uploads/media-site/'~ parametre.imageFooter)}}" alt="{{parametre.titre}}">
  13. </a>
  14. {% endif %}
  15. {#
  16. {% if socials is defined and socials is not empty %}
  17. <div class="socials-items">
  18. <div class="socials">
  19. {% for item in socials %}
  20. {% if item.type == 1 %}
  21. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-facebook"></i></a>
  22. {% elseif item.type == 2 %}
  23. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-x-twitter"></i></a>
  24. {% elseif item.type == 3 %}
  25. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-instagram"></i></a>
  26. {% elseif item.type == 4 %}
  27. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-linkedin"></i></a>
  28. {% elseif item.type == 5 %}
  29. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-youtube"></i></a>
  30. {% elseif item.type == 6 %}
  31. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-pinterest"></i></a>
  32. {% elseif item.type == 7 %}
  33. <a href="{{item.url}}" title="{{item.titre}}" target="_blank"><i class="fa-brands fa-tiktok"></i></a>
  34. {% endif %}
  35. {% endfor %}
  36. </div>
  37. </div>
  38. {% endif %}
  39. #}
  40. </div>
  41. {% if contacts is defined and contacts is not empty %}
  42. {% for item in contacts %}
  43. <div
  44. class="col-sm-12 col-md-12 col-lg-6 text-start border-left contact-info">
  45. {# <h3>{{item.ville}}</h3> #}
  46. <p class="info-label">
  47. {{ item.NomContact }}
  48. </p>
  49. <p>
  50. {{item.Entreprise}}
  51. <br>
  52. {{item.adresse}}
  53. <br>
  54. {{item.codePostal}}
  55. {{item.ville}},
  56. {{item.pays}}
  57. </p>
  58. {% set phone = unserialize(item.tel) %}
  59. {% if phone is not empty %}
  60. {% for item_phone in phone %}
  61. <p class="phone-item">
  62. <span class="info-label">
  63. {{ item.titreTel }}
  64. </span>
  65. <a href="tel:{{stripNonNumeric(item_phone)}}" class="phone-link">{{item_phone}}</a>
  66. </p>
  67. {% endfor %}
  68. {% endif %}
  69. {% set emails = unserialize(item.email) %}
  70. {% if emails is not empty %}
  71. {% for email in emails %}
  72. <p>
  73. <span class="info-label">
  74. {{item.titreMail|default('M.')}}
  75. </span>
  76. <a href="mailto:{{email}}">{{email}}</a>
  77. </p>
  78. {% endfor %}
  79. {% endif %}
  80. {% if item.horairesContact is not empty %}
  81. <p class="horaires-item">
  82. <span class="info-label">
  83. {{item.titreHoraires}}
  84. </span>
  85. </p>
  86. {{item.horairesContact|raw}}
  87. {% endif %}
  88. </div>
  89. </div>
  90. </div>
  91. {% endfor %}
  92. {% endif %}
  93. {#
  94. <div class="col-sm-12 col-md-6">
  95. <div class="navigation-footer">
  96. {% if menusFooter is defined and menusFooter is not empty %}
  97. {% for item in menusFooter %}
  98. <div class="menuItems">
  99. <h5>{{item.title}}</h5>
  100. {% if item.child is defined and item.child is not empty %}
  101. <div class="child-menu">
  102. {% for itemChild in item.child %}
  103. <a href="{{itemChild.path}}" title="{{itemChild.title}}" {% if itemChild.nofollow == true %}rel="nofollow"{% endif %} target="{{target[itemChild.target]}}"> {{itemChild.title}} </a>
  104. {% endfor %}
  105. </div>
  106. {% endif %}
  107. </div>
  108. {% endfor %}
  109. {% endif %}
  110. </div>
  111. </div>
  112. #}
  113. <div class="col-md-6 maps">
  114. {{ render(controller('App\\Controller\\FrontEnd\\FeatureController::displayContactMap')) }}
  115. </div>
  116. </div>
  117. </div>
  118. <div class="col-sm-12 col-md-6 d-none">
  119. {{shortcodeForm('[newsletter-form]')}}
  120. </div>
  121. <div class="col-sm-12 col-md-6 d-none">
  122. {{shortcodeForm('[encart-contact-form]')}}
  123. </div>
  124. </div>
  125. </div>
  126. </div></div><div class="footer-bottom">
  127. <div class="container-fluid content-wrapper">
  128. <div class="items-footer-bottom d-flex justify-content-center align-items-center flex-column flex-md-row">
  129. <ul id="footer_bottom" class="link-hover d-flex justify-content-center flex-column flex-sm-row liststyle text-center">
  130. <li class="text-center ">{{parametre.copyrightsite|default('©'~ "now"|date('Y'))}}</li>
  131. {% if menusFooterBas is defined and menusFooterBas is not empty %}
  132. {% for key,menu in menusFooterBas %}
  133. <li>
  134. <a href="{{menu.path}}" title="{{menu.title}}" {% if menu.nofollow == true %} rel="nofollow" {% endif %} target="{{target[menu.target]}}">{{menu.title}}
  135. </a>
  136. </li>
  137. {% endfor %}
  138. {% endif %}
  139. <li>
  140. <a class="titre_cookies" href="javascript:void(0)" title="Gestion des cookies" rel="nofollow" onclick="tarteaucitron.userInterface.openPanel();">{{ 'label.cookies'|trans([],'textes') }}</a>
  141. </li>
  142. <li class="text-center ">{{parametre.textfooter}}</li>
  143. </ul>
  144. </div>
  145. {#
  146. <p class="text-center m-0 mt-1">{{parametre.textheader}}</p>
  147. <p class="text-center m-0 mt-1">{{parametre.slogan}}</p> #}
  148. </footer>