templates/front/theme1/partials/footer/modeles/_footer2.html.twig line 1

Open in your IDE?
  1. <footer class="footer2">
        {% if BannerPublicite() is not empty and BannerPublicite().position != 1 and (BannerPublicite().titre != '' or BannerPublicite().text  != '') %}
            {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_banniere_pub_footer.html.twig')}}
        {% endif %}
    
        <section itemscope="" class="top-footer">
            <div class="container-fluid wrapper">
                {% if logoPosition == 3 %}
                    <div class="text-center logo-center">
                        {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}} 
                    </div>
                {% endif %}
                
                <div class="items-top d-flex justify-content-center {% if nbrContactsInput == 1 %} justify-content-xl-between {% endif %} flex-wrap text-xl-left text-center align-items-center flex-column flex-xl-row">
                    {% if logoPosition == 1 %}
                        {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}} 
                    {% endif %}
    
                    {% if nbrContactsInput == 1 %}
                        <div class="info_contact d-flex flex-column text-center text-xl-left mb-3 mb-xl-0">
                    {% endif %}
    
                        {% for contactItem in contacts %}
                            {% set nbContact = loop.index %}
                            {% if nbContact <= nbrContactsInput %}
                                {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_coordonnees2_contact.html.twig')}}
                            {% endif %}
                        {% endfor %}
    
                    {% if nbrContactsInput == 1 %}
                        </div>
                    {% endif %}
    
                    {% if parametre.liencarte and codeqrFooter %}
                        <div class="item-top">
                            <img src="{{ qr_code_url(parametre.liencarte) }}" class="img-qrcode" width="100" height="100" loading="lazy"/>
                        </div>
                    {% endif %}
    
                    {% if contacts and texteFooter %}      
                        <div class="item-top">
                            {% for contact in contacts %}
                                {% if contact.texteContact %}
                                    <div class="footer_right">
                                        {{contact.texteContact|raw}}
                                    </div>
                                {% endif %}
                            {% endfor %}
                        </div>
                    {% endif %}  
                    {% if social is not empty and socialFooter %}
                        {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_social_network.html.twig')}}
                    {% endif %}
    
                    {% if button1Footer %}
                        {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/_stiky_button.html.twig', with_context = false)}}
                    {% endif %}
    
                    {% if logoPosition == 2 %}
                        {{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/footer/elements/_logo_footer.html.twig')}} 
                    {% endif %}
                
                </div>
            </div>
        </section>
    
        <section class="sub-footer"> 
            <div class="container-fluid wrapper">
                    {% if data_menu_footer is defined and data_menu_footer is not empty %}
                        <div class="d-flex sous-menu-footer flex-md-row justify-content-center">
                            {% if data_menu_footer %}
                                {% for key,menu in data_menu_footer %}
                                        <a href="{{menu.path}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a> 
                                {% endfor %}
                            {% endif %}
                        </div>
                    {% endif %}
                <div class="items-sub-footer d-flex justify-content-center align-items-center flex-column flex-md-row">
                    <ul id="footer_bottom" class="link-hover d-flex justify-content-center justify-content-md-center flex-column flex-md-row liststyle text-center">
                        {% if menus %}
                            {% for key,menu in menus %}
                                    <li><a href="{{menu.path}}" title="{{menu.title}}" {% if menu.nofollow == true %}rel="nofollow"{% endif %} target="{{target[menu.target]}}">{{menu.title}} </a></li>
                            {% endfor %}
                        {% endif %}
                        <li> <a class="titre_cookies" href="javascript:void(0)" title="{{ 'label.titre_cookie'|trans({} , 'textes' ) }}" rel="nofollow" onclick="tarteaucitron.userInterface.openPanel();">{{ 'label.titre_cookie'|trans({} , 'textes' ) }}</a></li>
                    </ul>
                    {% if logoCopyright or dateCopyright %}
                        <span class="col-copyright d-flex align-items-center">
                        {% if logoCopyright %}
                            <span class="logo-copyright"><a href="https://www.hrz.fr" target="_blank" title="Horizon web"><img src="/public/logo-horizon/logo-bleu.png" width="30" height="14" class="d-block mb-1" alt="Horizon web" loading="lazy" /></a></span>
                        {% endif %}
                        {% if dateCopyright %}
                            <span class="annee ml-1"><strong>{{ "now"|date("Y") }}</strong></span>
                        {% endif %}
                        </span>
                    {% endif %}
                    
                </div>
            </div>
        </section>
    </footer>