{% extends 'base.html.twig' %}
{% block page_contents %}
<section class="section section-page-title bg-gradient py-xl-5 py-4" data-aos='fade-down'>
<div class="container">
<div class="row">
<div class="col-12 text-center text-white">
<h1 class="page-name font-weight-bold my-2">
{{ job.offerTitle }}
</h1>
<div class="text-center mt-4 pt-2">
<a href="{{ path('job.apply',{ code:job.code, slug:job.slug }) }}" class="link-gradient font-30 font-weight-bold text-nowrap">{% trans %}Envoyer votre candidature{% endtrans %}</a>
</div>
</div>
</div>
</div>
</section>
<section class="section section-offre-detail mb-3 mt-4">
<div class="container">
<div class="row">
<div class="col-lg-3 mb-md-3 mb-0">
<div class="offre-infor mb-4 p-3" data-aos='fade-right'>
<div class="text-center mb-3">
<img src="{{ job.logoUrl }}" alt="" />
</div>
<div class="o-block mb-3">
<div class="font-weight-bold">{% trans %}Type de contrat{% endtrans %}</div>
<div class="text-gray">{{ job.contract.name }}</div>
</div>
<div class="o-block mb-3">
<div class="font-weight-bold">{% trans %}Date de validité{% endtrans %}</div>
<div class="text-orange">{{ job.validDate|date('d/m/Y') }}</div>
</div>
<div class="o-block mb-3">
<div class="font-weight-bold">{% trans %}Durée du contrat{% endtrans %}</div>
<div class="text-gray">{{ job.duration }} {% trans %}mois{% endtrans %}</div>
</div>
<div class="o-block mb-3">
<div class="font-weight-bold">{% trans %}Campus à proximité{% endtrans %}</div>
<div class="text-gray">
{% for campus in job.campuses %}
{{ campus.name }}{% if not loop.last %}, {% endif %}
{% endfor %}
</div>
</div>
<div class="o-block mb-3">
<div class="font-weight-bold">{% trans %}Niveau minimum requis{% endtrans %}</div>
<div class="text-gray">{{ job.studyLevel.name }}</div>
</div>
<div class="o-block mb-3">
<div class="font-weight-bold">{% trans %}Domaine/Expertise{% endtrans %}</div>
{% for item in job.expertise %}
<div class="text-dark-purple">{{ item.name }}</div>
{% endfor %}
</div>
<div class="o-block mb-3">
<div class="font-weight-bold">{% trans %}Compétences{% endtrans %}</div>
<div class="o-tags mt-2">
{% for skill in job.skill %}
<a href="javascript:void(0)" class="o-chip">{{ skill.name }}</a>
{% endfor %}
</div>
</div>
</div>
</div>
<div class="col-lg-9">
<div class="offre-content text-dark-purple" data-aos='fade-left'>
<div class="section-title text-left mb-2"><span>/</span> {% trans %}L'entreprise d'accueil{% endtrans %}</div>
<div class="keepEditorStyle text-justify mb-3">
<p><strong>{{ job.companyName }}</strong></p>
{{ job.presentation|nl2br }}
</div>
<div class="section-title text-left mb-2"><span>/</span> {% trans %}Description de l'offre{% endtrans %}</div>
<div class="keepEditorStyle text-justify mb-3">
{{ job.description|nl2br }}
</div>
<div class="section-title text-left mb-2"><span>/</span> {% trans %}Profil recherché{% endtrans %}</div>
<div class="keepEditorStyle text-justify mb-3">
{{ job.expectProfile|nl2br }}
</div>
</div>
<div class="d-flex align-items-center mb-4 pb-2 flex-md-row flex-column text-center" data-aos='fade-left'>
<div class="back-link mb-md-0 mb-3"><a class="font-weight-normal" href="{{path('job_board.index')}}"><i class="fa-solid fa-arrow-left font-12 mr-3"></i>{% trans %}VOIR TOUTES LES OFFRES{% endtrans %}</a></div>
<div class="ml-auto"><a href="{{ path('job.apply',{ code:job.code, slug:job.slug }) }}" class="link-gradient font-30 font-weight-bold text-nowrap">{% trans %}Envoyer votre candidature{% endtrans %}</a></div>
</div>
</div>
</div>
</div>
</section>
<section class="section section-offer mb-4">
<div class="container">
<div class="row">
<div class="col-12 mb-4">
<div class="text-orange font-weight-bold font-30 text-capitalize" data-aos='fade-up'>{% trans %}CONSULTER LES DERNIÈRES OFFRES D'ALTERNANCE/EMPLOI{% endtrans %}</div>
</div>
</div>
<div class="row">
{% for job in jobs %}
{% include 'job_board/_item_job.html.twig' %}
{% endfor %}
</div>
</section>
{% endblock %}