{% if promo['type'] == 'annonce' %}
    <div class="wide-banner cnt-strip">
        <a href="{{ path('frontend_annonce_detail', {id:promo['id']} ) }}">
            <div class="image"> 
                <img class="img-responsive" src="{{ asset('uploads/images/annonces/' ~ promo['img'] ) }}" alt="{{ promo['title'] }}"> 
            </div>
        </a>
    </div>
{% elseif promo['type'] == 'article' %}
    <div class="wide-banner cnt-strip">
        {% if app.user %}
            <a href="{{ path('frontend_article_detail', {id:promo['id']} ) }}">
                <div class="image"> 
                    <img class="img-responsive" src="{{ asset('uploads/images/articles/' ~ promo['img'] ) }}" alt="{{ promo['title'] }}"> 
                </div>
            </a>
        {% else %}
            <a href="#" data-toggle="modal" data-target="#visitorCnx">
                <div class="image"> 
                    <img class="img-responsive" src="{{ asset('uploads/images/articles/' ~ promo['img'] ) }}" alt="{{ promo['title'] }}"> 
                </div>
            </a>
        {% endif %}
    </div>
{% elseif promo['type']== 'service' %}
    <div class="wide-banner cnt-strip">
        {% if app.user %}
            <a href="{{ path('frontend_service_detail', {id:promo['id']} ) }}">
                <div class="image"> 
                    <img class="img-responsive" src="{{ asset('uploads/images/services/' ~ promo['img'] ) }}" alt="{{ promo['title'] }}"> 
                </div>
            </a>
        {% else %}
            <a href="#" data-toggle="modal" data-target="#visitorCnx">
                <div class="image"> 
                    <img class="img-responsive" src="{{ asset('uploads/images/services/' ~ promo['img'] ) }}" alt="{{ promo['title'] }}"> 
                </div>
            </a>
        {% endif %}
    </div>
{% endif %}