{% extends 'common/layout.html.twig' %}

{% block content %}
    <div class='container homepage'>
		<div class='row mt-3'>
		 	<div class='col-12 order-2 order-md-1 col-md-3'>
		 		{% block colonne_gauche %}
					{% include 'common/stats.html.twig' %}
					{% include 'common/groupes.html.twig' %}
					{% include 'common/rubriques.html.twig' %}
				{% endblock colonne_gauche %}
			</div>
			<div class='col-12 order-1 order-md-2 col-md-6 text-center'>
				{% block colonne_centre %}
					{% include 'block/useradmin.html.twig' %}
				{% endblock colonne_centre %}
			</div>
			<div class='col-12 order-3 order-md-3 col-md-3'>
				{% block colonne_droite %}
					{% if app.user is null %}
						<a class='btn btn-secondary w-100 mb-4' title='{{'Se connecter'|trans}}' href="{{path('fos_user_security_login')}}">{{'Se connecter'|trans}}</a>
					{% endif %}
					{% include 'common/news.html.twig' %}
				{% endblock colonne_droite %}
			</div>
		</div>
	</div>
{% endblock %}

{% block js %}
{% include 'presta/block/cartejs.html.twig' %}
{% endblock %}
