templates/vitrine/lexend/components/footer.html.twig line 1

Open in your IDE?
  1. <footer id="uc-footer" class="uc-footer panel overflow-hidden">
  2.     <div class="footer-outer vstack gap-6 lg:gap-8 py-6 lg:py-8 dark:text-white">
  3.         <div class="uc-footer-content">
  4.             <div class="container">
  5.                 <div class="uc-footer-inner vstack gap-4 lg:gap-6 xl:gap-8">
  6.                     <div class="uc-footer-widgets panel">
  7.                         <div class="row child-cols-6 sm:child-cols col-match g-4">
  8.                             <div class="col-12 sm:col-6 lg:col-3 xl:col-auto">
  9.                                 <div class="uc-logo" style="width:300px;">
  10.                                     <a class="panel text-none" href="{% if app.request.locale == default_locale %}{{ path('homepage') }}{% else %}{{ path('locale_homepage',{'_locale':app.request.locale}) }}{% endif %}" style="width: {{ logo_width }}px">
  11.                                         <img class="text-primary dark:text-tertiary" src="/uploads/logo.png" loading="lazy" />
  12.                                     </a>
  13.                                 </div>
  14.                             </div>
  15.                             <div style="vertical-align:top;">
  16.                                 <h3 class="h5">{{ "Outils"|translateLocale(arrayTranslate) }}</h3>
  17.                                 {% if app.request.locale == "fr" %}
  18.                                     {{ footer_html_col1_fr|raw }}
  19.                                 {% else %}
  20.                                     {{ footer_html_col1_en|raw }}
  21.                                 {% endif %}
  22.                             </div>
  23.                             <div style="vertical-align:top;">
  24.                                 <h3 class="h5">{{ "Entreprises"|translateLocale(arrayTranslate) }}</h3>
  25.                                 {% if app.request.locale == "fr" %}
  26.                                     {{ footer_html_col2_fr|raw }}
  27.                                 {% else %}
  28.                                     {{ footer_html_col2_en|raw }}
  29.                                 {% endif %}
  30.                             </div>
  31.                             <div style="vertical-align:top;">
  32.                                 <h3 class="h5">{{ "Blog"|translateLocale(arrayTranslate) }}</h3>
  33.                                 {% if app.request.locale == "fr" %}
  34.                                     {{ footer_html_col3_fr|raw }}
  35.                                 {% else %}
  36.                                     {{ footer_html_col3_en|raw }}
  37.                                 {% endif %}
  38.                             </div>
  39.                         </div>
  40.                     </div>
  41.                     <div class="uc-footer-bottom panel vstack lg:hstack gap-4 justify-between text-center pt-4 lg:pt-6 border-top dark:text-white">
  42.                         <p class="opacity-60">{{ websitename }} &copy; {{ "now"|date('Y') }}</p>
  43.                         <div>
  44.                             {% set menuHeader = getMenuWebsiteLocaleArray(app.request.locale,"footer",connectUser) %}
  45.                             {% if menuHeader is not empty %}
  46.                                 {% for m in menuHeader %}
  47.                                     <a href="{{ m.link }}" aria-label="{{ m.title }}" title="{{ m.title }}" {% if m.targetBlank == 1%}target="_blank" rel="noreferrer"{% endif %}>{{ m.title }}</a> &nbsp; &nbsp; &nbsp;
  48.                                 {% endfor %}
  49.                             {% endif %}
  50.                             {% if app.user is not null %}
  51.                                 {% if is_granted("ROLE_SUPER_ADMIN") %}
  52.                                     <a href="{{ path('backoffice_dashboard') }}" aria-label="Administration" title="Administration" style="color:red;"><i class="fa fa-cog"></i> Administration</a> &nbsp; &nbsp; &nbsp;
  53.                                 {% endif %}
  54.                                 <a href="{{ path('app_logout') }}" aria-label="Déconnexion" title="Déconnexion">Déconnexion</a>
  55.                             {% endif %}
  56.                         </div>
  57.                         <ul class="nav-x justify-center gap-2">
  58.                             {% if facebook is not empty %}
  59.                                 <li>
  60.                                     <a href="{{ facebook }}" target="_blank">
  61.                                         <i class="icon icon-2 unicon-logo-facebook"></i>
  62.                                     </a>
  63.                                 </li>
  64.                             {% endif %}
  65.                             {% if twitter is not empty %}
  66.                                 <li>
  67.                                     <a href="{{ twitter }}" target="_blank">
  68.                                         <i class="icon icon-2 unicon-logo-x-filled"></i>
  69.                                     </a>
  70.                                 </li>
  71.                             {% endif %}
  72.                             {% if instagram is not empty %}
  73.                                 <li>
  74.                                     <a href="{{ instagram }}" target="_blank">
  75.                                         <i class="icon icon-2 unicon-logo-instagram"></i>
  76.                                     </a>
  77.                                 </li>
  78.                             {% endif %}
  79.                             {% if linkedin is not empty %}
  80.                                 <li>
  81.                                     <a href="{{ linkedin }}" target="_blank">
  82.                                         <i class="icon icon-2 unicon-logo-linkedin"></i>
  83.                                     </a>
  84.                                 </li>
  85.                             {% endif %}
  86.                             {% if youtube is not empty %}
  87.                                 <li>
  88.                                     <a href="{{ youtube }}" target="_blank">
  89.                                         <i class="icon icon-2 unicon-logo-youtube"></i>
  90.                                     </a>
  91.                                 </li>
  92.                             {% endif %}
  93.                         </ul>
  94.                     </div>
  95.                 </div>
  96.             </div>
  97.         </div>
  98.     </div>
  99. </footer>