{% set currentPath = path(app.request.attributes.get('_route'),
app.request.attributes.get('_route_params')) %}
{% extends 'base.html.twig' %}
{% block title %}Ween par Aviséa{% endblock %}
{% block body %}
<main role="main" id="main" {% if client.background starts with 'background.' %} alt="" style="background: url('/img/background/client/{{client.id}}/{{client.background}}');background-attachment: fixed !important;min-height: 100vh; z-index:99;" {% else %} style="background-color: {{client.background}}; min-height: 100vh;" {% endif %}>
<div class="container" >
<div class="row justify-content-start d-flex pt-5 pb-5">
<div class="d-none d-md-block me-auto col-md-3 col-xs-12 justify-content-around" style="max-width: 300px; position: sticky; top: 80px;">
<div class="bg-white b-radius-5 p-3 d-none d-md-block">
{% if client.id == 17 %}
<p class="work-sans-bold text-graphite">Réalisez votre diagnostic en direct et en ligne !</p>
<p class="sm-text work-sans text-carbone">
Faites le point sur votre situation et obtenez des réponses en quelques clics.
</p>
<p class="sm-text work-sans text-carbone">
Aucunes données ne seront collectées ou communiquées à votre entreprise.
</p>
<div class="text-smoke d-flex align-items-center">
<span class="fa-sharp fa-solid fa-circle-info me-3 text-smoke"></span>
<small class="work-sans-medium text-smoke sm-text">Cet outil de diagnostic ne remplace pas l'avis médical d'un professionnel de la santé.</small>
</div>
{% else %}
<p class="work-sans-bold text-graphite">Réalisez vos diagnostics en direct et en ligne !</p>
{% if client.id == 19 %}
<p class="sm-text work-sans text-carbone">
Faites le point sur votre situation et obtenez des réponses en quelques clics, <span class="work-sans-bold">grâce à nos différents outils anonymes.</span>
</p>
{% else %}
<p class="sm-text work-sans text-carbone">
Faites le point sur votre situation et obtenez des réponses en quelques clics, <span class="work-sans-bold">grâce à nos différents outils gratuits et anonymes.</span>
</p>
{% endif %}
<p class="sm-text work-sans text-carbone">
Aucunes données ne seront collectées ou communiquées à votre entreprise.
</p>
<div class="text-smoke d-flex align-items-center">
<span class="fa-sharp fa-solid fa-circle-info me-3 text-smoke"></span>
<small class="work-sans-medium text-smoke sm-text">Ces outils de diagnostic ne remplacent pas l'avis médical d'un professionnel de la santé.</small>
</div>
{% endif %}
</div>
</div>
<div class="d-block d-sm-none me-auto mt-5 col-xs-12 justify-content-center mb-3">
<div class="bg-white b-radius-5 p-3 d-block d-sm-none justify-content-center">
{% if client.id == 17 %}
<p class="work-sans-bold text-graphite">Réalisez votre diagnostic en direct et en ligne !</p>
<p class="sm-text work-sans text-carbone">
Faites le point sur votre situation et obtenez des réponses en quelques clics.
</p>
<p class="sm-text work-sans text-carbone">
Aucunes données ne seront collectées ou communiquées à votre entreprise.
</p>
<div class="text-smoke d-flex align-items-center">
<span class="fa-sharp fa-solid fa-circle-info me-3 text-smoke"></span>
<small class="work-sans-medium text-smoke sm-text">Cet outil de diagnostic ne remplace pas l'avis médical d'un professionnel de la santé.</small>
</div>
{% else %}
<p class="work-sans-bold text-graphite">Réalisez vos diagnostics en direct et en ligne !</p>
{% if client.id == 19 %}
<p class="sm-text work-sans text-carbone">
Faites le point sur votre situation et obtenez des réponses en quelques clics, <span class="work-sans-bold">grâce à nos différents outils anonymes.</span>
</p>
{% else %}
<p class="sm-text work-sans text-carbone">
Faites le point sur votre situation et obtenez des réponses en quelques clics, <span class="work-sans-bold">grâce à nos différents outils gratuits et anonymes.</span>
</p>
{% endif %}
<p class="sm-text work-sans text-carbone">
Aucunes données ne seront collectées ou communiquées à votre entreprise.
</p>
<div class="text-smoke d-flex align-items-center">
<span class="fa-sharp fa-solid fa-circle-info me-3 text-smoke"></span>
<small class="work-sans-medium text-smoke sm-text">Ces outils de diagnostic ne remplacent pas l'avis médical d'un professionnel de la santé.</small>
</div>
{% endif %}
</div>
</div>
<div class="col-md-9 col-xs-12 justify-content-around" style=" top: 80px;">
{% for clientProduct in clientProducts %}
<div class="bg-white b-radius-5 mb-3 d-flex align-items-center p-3 position-relative">
{% if (clientProduct.product.slug == 'autodiagnostic-handicap') or (clientProduct.product.slug == 'autodiagnostic-handicap-2') %}
<span class="fa-sharp fa-solid fa-stethoscope text-{{client.slug}} avisea-diag-stetoscop-icon"></span>
{% else %}
<span class="fa-sharp fa-regular fa-ear-listen text-{{client.slug}} avisea-diag-hear-icon"></span>
{% endif %}
<div class="ms-4 col-md-7 col-xs-12">
<h2 class="h4 work-sans-bold text-carbone m-text">{{clientProduct.title}}</h2>
<p class="work-sans-medium text-carbone ns-text">{{clientProduct.presentation|raw}}</p>
<div class="d-block d-sm-none d-flex align-items-center begin-test-link-mobile">
{% for question in clientProduct.product.diagQuestions %}
{% if question.position == 1 %}
{% if (clientProduct.product.slug == 'autodiagnostic-handicap') or (clientProduct.product.slug == 'autodiagnostic-handicap-2') %}
<a href="{{path('app_auto_diagnostic_quizz', {'clientSlug': client.slug, 'id': question.id})}}" target="_blank" class="btn-notice text-decoration-none">
{% else %}
<a href="{{path('app_audition_test_age', {'clientSlug': client.slug, 'id': clientProduct.id})}}" target="_blank" class="btn-notice text-decoration-none">
{% endif %}
<span class="text-white work-sans-medium ml-text">Commencer le test</span>
<span class="fa-sharp fa-solid fa-arrow-right"></span>
</a>
{% endif %}
{% endfor %}
</div>
</div>
<div class="d-none d-md-block d-flex align-items-center begin-test-link">
{% for question in clientProduct.product.diagQuestions %}
{% if question.position == 1 %}
{% if (clientProduct.product.slug == 'autodiagnostic-handicap') or (clientProduct.product.slug == 'autodiagnostic-handicap-2') %}
<a href="{{path('app_auto_diagnostic_quizz', {'clientSlug': client.slug, 'id': question.id})}}" target="_blank" class="btn-notice text-decoration-none">
{% else %}
<a href="{{path('app_audition_test_age', {'clientSlug': client.slug, 'id': clientProduct.id})}}" target="_blank" class="btn-notice text-decoration-none">
{% endif %}
<span class="text-white work-sans-medium ml-text">Commencer le test</span>
<span class="fa-sharp fa-solid fa-arrow-right"></span>
</a>
{% endif %}
{% endfor %}
</div>
</div>
{% endfor %}
<div class="bg-white b-radius-5 mb-4 p-3 position-relative">
<div class="d-flex align-items-center">
<div class="col-xs-12 col-md-8">
<h2 class="h4 work-sans-bold text-graphite m-text">Apportez votre contribution !</h2>
<p class="mb-0">Notre équipe travaille tous les jours sur de nouveaux outils diagnostic. Grâce à votre aide, nous pourrions répondre mieux à vos besoins, donnez-nous votre avis :)</p>
</div>
<div class="d-none d-md-block d-flex align-items-center begin-test-link">
{% if is_granted('ROLE_USER') %}
<a href="{{path('app_contact_new')}}" target="_blank" class="btn-notice-outline text-decoration-none">
<span class="work-sans-medium ml-text">Soumettre une idée</span>
<span class="fa-sharp fa-solid fa-arrow-right"></span>
</a>
{% else %}
<a href="mailto:aromero@avisea.fr?subject=Ween - Soumettre une idée - {{client.name}}" target="_blank" class="btn-notice-outline text-decoration-none">
<span class="work-sans-medium ml-text">Soumettre une idée</span>
<span class="fa-sharp fa-solid fa-arrow-right"></span>
</a>
{% endif %}
</div>
</div>
<div class="d-block d-sm-none text-end begin-test-link-mobile mt-4 me-4 mb-2">
{% if is_granted('ROLE_USER') %}
<a href="{{path('app_contact_new')}}" target="_blank" class="btn-notice-outline text-decoration-none">
<span class="work-sans-medium ml-text">Soumettre une idée</span>
<span class="fa-sharp fa-solid fa-arrow-right"></span>
</a>
{% else %}
<a href="mailto:aromero@avisea.fr?subject=Ween - Soumettre une idée - {{client.name}}" target="_blank" class="btn-notice-outline text-decoration-none">
<span class="work-sans-medium ml-text">Soumettre une idée</span>
<span class="fa-sharp fa-solid fa-arrow-right"></span>
</a>
{% endif %}
</div>
</div>
</div>
</div>
</div>
</main>
{% endblock %}