{% extends 'Frontend/base.html.twig' %}
{% block seoheader %}
{% include 'Frontend/Render/head/_seoevent.html.twig' with {'event_selected':event_selected} %}
{% endblock %}
{#% block switcher %}
{% include 'Frontend/Render/_switcher.html.twig'%}
{% endblock switcher %#}
{% block body %}
<div class="content_pages event_selected">
<div class="container">
<section class="section_breadcrumbs">
<ul>
<li><a href="{{ path('frontend_home') }}">{{'Accueil'|trans}}</a><span>/</span></li>
<li><a href="{{ path('page_single',{'catslug':'events', 'slug':'seminars-conferences'}) }}">{{'Seminars & Conferences'|trans}}</a><span>/</span></li>
<li><a href="#">{{event_selected.titre}}</a></li>
</ul>
</section>
<div class="titre_event_selected">
<h1>{{event_selected}}</h1>
<label>
{% if event_selected.datePublier is not empty and event_selected.dateFinal is not empty %}
{{event_selected.datePublier|date('d')}} - {{event_selected.dateFormat(selected_lang)}}
{% endif %}
</label>
</div>
</div>
<div class="miniature_event blocks_event_selected">
<div class="container">
<a href="{% if event_selected.link is not empty %}{{event_selected.link}}{% else %}#{% endif %}"{% if event_selected.link is not empty %}class="video_source"{% endif %}>
<img class="img-fluid" src="{{ asset (vich_uploader_asset(event_selected,'imageFile')) }}" alt="{{event_selected}}">
</a>
</div>
</div>
{% if list_galerie is not empty %}
<div class="galerie blocks_event_selected" id="galerie">
<div class="container-fluid">
<div class="galerie_slider_content">
<div class="owl-carousel owl-theme" id="galerie_slider">
{% for galerie in list_galerie %}
{% if galerie.image is not empty %}
<div class="item_galerie_slider zoom_gallery">
<a href="{{ asset(vich_uploader_asset(galerie,'imageFile'))}}">
<img class="img-fluid" src="{{ asset(vich_uploader_asset(galerie,'imageFile'))}}" alt="{{event_selected.titre}}">
</a>
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
</div>
{% endif %}
{% for bloc in event_selected.blocks %}
{% if bloc.publier == 1 %}
{{bloc.contenu|raw}}
{% endif %}
{% endfor %}
{% if list_videos is not empty %}
<div class="videos_galerie blocks_event_selected" id="videos_galerie">
<div class="container">
<h2>{{'Open days'|trans}}</h2>
<div class="owl-carousel owl-theme" id="videos_slider">
{% for galerie in list_videos %}
{% if galerie.link is not empty %}
<div class="miniature_event">
{% if galerie.image is not empty %}
<a href="{{galerie.link}}" class="video_source">
<img class="img-fluid" src="{{ asset (vich_uploader_asset(galerie,'imageFile')) }}" alt="{{event_selected}}">
</a>
{% else %}
<a href="{{galerie.link}}" class="video_source image_youtube"></a>
{% endif %}
</div>
{% endif %}
{% endfor %}
</div>
</div>
</div>
{% endif %}
{% if list_speakers is not empty %}
<div class="speakers_event ">
<div class="container">
<h2>
{{'Liste of speakers of'|trans}} <span>{{'the game theory days'|trans}}</span>
</h2>
<div class="row">
{% for speaker in list_speakers %}
<div class="col-xxl-2 col-lg-3 col-md-4 col-6">
<div class="item_speaker">
<div class="img_speakers_event">
<img class="img-fluid" src="{{ asset (vich_uploader_asset(speaker,'imageFile')) }}" alt="{{speaker}}">
</div>
<h3>{{speaker}}</h3>
<h4>{{speaker.fonction}}</h4>
<h5>{{speaker.specialite}}</h5>
{% if speaker.link is not empty %}
<a href="{{speaker.link}}" target="_blank"><img src="/assets/img/link.png" alt="website"></a>
{% elseif speaker.linkedin is not empty %}
<a href="{{speaker.linkedin}}" target="_blank"><img src="/assets/img/linkedin.png" alt="linkedin"></a>
{% endif %}
</div>
</div>
{% endfor %}
</div>
</div>
</div>
{% endif %}
</div>
{% endblock body %}