templates/page/diag_tools.html.twig line 1

Open in your IDE?
  1. {% set currentPath = path(app.request.attributes.get('_route'),
  2.                        app.request.attributes.get('_route_params')) %}
  3. {% extends 'base.html.twig' %}
  4. {% block title %}Ween par Aviséa{% endblock %}
  5. {% block body %}
  6. <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 %}>
  7.     <div class="container" >
  8.         <div class="row justify-content-start d-flex pt-5 pb-5">
  9.             <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;">
  10.                 <div class="bg-white b-radius-5 p-3 d-none d-md-block">
  11.                 {% if client.id == 17 %}
  12.                     <p class="work-sans-bold text-graphite">Réalisez votre diagnostic en direct et en ligne !</p>
  13.                     <p class="sm-text work-sans text-carbone">
  14.                         Faites le point sur votre situation et obtenez des réponses en quelques clics.
  15.                     </p>
  16.                     <p class="sm-text work-sans text-carbone">
  17.                         Aucunes données ne seront collectées ou communiquées à votre entreprise.
  18.                     </p>
  19.                     <div class="text-smoke d-flex align-items-center">
  20.                         <span class="fa-sharp fa-solid fa-circle-info me-3 text-smoke"></span>
  21.                         <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>
  22.                     </div>
  23.                 {% else %}
  24.                     <p class="work-sans-bold text-graphite">Réalisez vos diagnostics en direct et en ligne !</p>
  25.                     {% if client.id == 19 %}
  26.                     <p class="sm-text work-sans text-carbone">
  27.                         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>
  28.                     </p>
  29.                     {% else %}
  30.                     <p class="sm-text work-sans text-carbone">
  31.                         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>
  32.                     </p>
  33.                     {% endif %}
  34.                     <p class="sm-text work-sans text-carbone">
  35.                         Aucunes données ne seront collectées ou communiquées à votre entreprise.
  36.                     </p>
  37.                     <div class="text-smoke d-flex align-items-center">
  38.                         <span class="fa-sharp fa-solid fa-circle-info me-3 text-smoke"></span>
  39.                         <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>
  40.                     </div>
  41.                 {% endif %}
  42.                 </div>
  43.             </div>
  44.             <div class="d-block d-sm-none me-auto mt-5 col-xs-12 justify-content-center mb-3">
  45.                 <div class="bg-white b-radius-5 p-3 d-block d-sm-none justify-content-center">
  46.                 {% if client.id == 17 %}
  47.                     <p class="work-sans-bold text-graphite">Réalisez votre diagnostic en direct et en ligne !</p>
  48.                     <p class="sm-text work-sans text-carbone">
  49.                         Faites le point sur votre situation et obtenez des réponses en quelques clics.
  50.                     </p>
  51.                     <p class="sm-text work-sans text-carbone">
  52.                         Aucunes données ne seront collectées ou communiquées à votre entreprise.
  53.                     </p>
  54.                     <div class="text-smoke d-flex align-items-center">
  55.                         <span class="fa-sharp fa-solid fa-circle-info me-3 text-smoke"></span>
  56.                         <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>
  57.                     </div>
  58.                 {% else %}
  59.                     <p class="work-sans-bold text-graphite">Réalisez vos diagnostics en direct et en ligne !</p>
  60.                     {% if client.id == 19 %}
  61.                     <p class="sm-text work-sans text-carbone">
  62.                         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>
  63.                     </p>
  64.                     {% else %}
  65.                     <p class="sm-text work-sans text-carbone">
  66.                         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>
  67.                     </p>
  68.                     {% endif %}
  69.                     <p class="sm-text work-sans text-carbone">
  70.                         Aucunes données ne seront collectées ou communiquées à votre entreprise.
  71.                     </p>
  72.                     <div class="text-smoke d-flex align-items-center">
  73.                         <span class="fa-sharp fa-solid fa-circle-info me-3 text-smoke"></span>
  74.                         <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>
  75.                     </div>
  76.                 {% endif %}
  77.                 </div>
  78.             </div>
  79.             <div class="col-md-9 col-xs-12 justify-content-around" style=" top: 80px;">
  80.                 {% for clientProduct in clientProducts %}
  81.                     <div class="bg-white b-radius-5 mb-3 d-flex align-items-center p-3 position-relative">
  82.                         {% if (clientProduct.product.slug == 'autodiagnostic-handicap') or (clientProduct.product.slug == 'autodiagnostic-handicap-2') %}
  83.                             <span class="fa-sharp fa-solid fa-stethoscope text-{{client.slug}} avisea-diag-stetoscop-icon"></span>
  84.                         {% else %}
  85.                             <span class="fa-sharp fa-regular fa-ear-listen text-{{client.slug}} avisea-diag-hear-icon"></span>
  86.                         {% endif %}
  87.                             <div class="ms-4 col-md-7 col-xs-12">
  88.                                 <h2 class="h4 work-sans-bold text-carbone m-text">{{clientProduct.title}}</h2>
  89.                                 <p class="work-sans-medium text-carbone ns-text">{{clientProduct.presentation|raw}}</p>
  90.                             
  91.                             <div class="d-block d-sm-none d-flex align-items-center begin-test-link-mobile">
  92.                             {% for question in clientProduct.product.diagQuestions %}
  93.                                 {% if question.position == 1 %}
  94.                                     {% if (clientProduct.product.slug == 'autodiagnostic-handicap') or (clientProduct.product.slug == 'autodiagnostic-handicap-2') %}
  95.                                         <a href="{{path('app_auto_diagnostic_quizz', {'clientSlug': client.slug, 'id': question.id})}}" target="_blank" class="btn-notice text-decoration-none">
  96.                                     {% else %}
  97.                                         <a href="{{path('app_audition_test_age', {'clientSlug': client.slug, 'id': clientProduct.id})}}" target="_blank" class="btn-notice text-decoration-none">
  98.                                     {% endif %}
  99.                                         <span class="text-white work-sans-medium ml-text">Commencer le test</span> 
  100.                                         <span class="fa-sharp fa-solid fa-arrow-right"></span>
  101.                                     </a>
  102.                                 {% endif %}
  103.                             {% endfor %}
  104.                             </div>
  105.                             </div>
  106.                             
  107.                             <div class="d-none d-md-block d-flex align-items-center begin-test-link">
  108.                             {% for question in clientProduct.product.diagQuestions %}
  109.                                 {% if question.position == 1 %}
  110.                                     {% if (clientProduct.product.slug == 'autodiagnostic-handicap') or (clientProduct.product.slug == 'autodiagnostic-handicap-2') %}
  111.                                         <a href="{{path('app_auto_diagnostic_quizz', {'clientSlug': client.slug, 'id': question.id})}}" target="_blank" class="btn-notice text-decoration-none">
  112.                                     {% else %}
  113.                                         <a href="{{path('app_audition_test_age', {'clientSlug': client.slug, 'id': clientProduct.id})}}" target="_blank" class="btn-notice text-decoration-none">
  114.                                     {% endif %}
  115.                                         <span class="text-white work-sans-medium ml-text">Commencer le test</span> 
  116.                                         <span class="fa-sharp fa-solid fa-arrow-right"></span>
  117.                                     </a>
  118.                                 {% endif %}
  119.                             {% endfor %}
  120.                             </div>
  121.                     </div>
  122.                 {% endfor %}
  123.                 <div class="bg-white b-radius-5 mb-4 p-3 position-relative">
  124.                     <div class="d-flex align-items-center">
  125.                         <div class="col-xs-12 col-md-8">
  126.                             <h2 class="h4 work-sans-bold text-graphite m-text">Apportez votre contribution !</h2>
  127.                             <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>
  128.                         </div>
  129.                         <div class="d-none d-md-block d-flex align-items-center begin-test-link">
  130.                         {% if is_granted('ROLE_USER') %}
  131.                             <a href="{{path('app_contact_new')}}" target="_blank" class="btn-notice-outline text-decoration-none">
  132.                                 <span class="work-sans-medium ml-text">Soumettre une idée</span> 
  133.                                 <span class="fa-sharp fa-solid fa-arrow-right"></span>
  134.                             </a>
  135.                         {% else %}
  136.                             <a href="mailto:aromero@avisea.fr?subject=Ween - Soumettre une idée - {{client.name}}" target="_blank" class="btn-notice-outline text-decoration-none">
  137.                                 <span class="work-sans-medium ml-text">Soumettre une idée</span> 
  138.                                 <span class="fa-sharp fa-solid fa-arrow-right"></span>
  139.                             </a>
  140.                         {% endif %}
  141.                         </div>
  142.                     </div>
  143.                         <div class="d-block d-sm-none text-end begin-test-link-mobile mt-4 me-4 mb-2">
  144.                             {% if is_granted('ROLE_USER') %}
  145.                                 <a href="{{path('app_contact_new')}}" target="_blank" class="btn-notice-outline text-decoration-none">
  146.                                     <span class="work-sans-medium ml-text">Soumettre une idée</span> 
  147.                                     <span class="fa-sharp fa-solid fa-arrow-right"></span>
  148.                                 </a>
  149.                             {% else %}
  150.                                 <a href="mailto:aromero@avisea.fr?subject=Ween - Soumettre une idée - {{client.name}}" target="_blank" class="btn-notice-outline text-decoration-none">
  151.                                     <span class="work-sans-medium ml-text">Soumettre une idée</span> 
  152.                                     <span class="fa-sharp fa-solid fa-arrow-right"></span>
  153.                                 </a>
  154.                             {% endif %}
  155.                         </div>
  156.                 </div>
  157.             </div>
  158.         </div>
  159.     </div>
  160. </main>
  161. {% endblock %}