templates/front_v4/mca/hearing_brand/single.html.twig line 1

Open in your IDE?
  1. {% extends 'front_v4/base.html.twig' %}
  2. {% block meta_title %} Liste des audioprothésistes {{ hearingBrand.name }}{% endblock meta_title %}
  3. {% block meta_description %}Trouvez les audioprothésistes {{ hearingBrand.name }} proches de chez vous. Mon Centre Auditif aide toutes les personnes cherchant un audioprothésiste proche de leur domicile.{% endblock meta_description %}
  4. {% block content %}
  5.     <!-- ========== MAIN CONTENT ========== -->
  6.     <main id="content" role="main">
  7.         <!-- Content -->
  8.         <div class="container content-space-t-1 content-space-t-sm-2 content-space-b-2">
  9.             <div class="row">
  10.                 <div class="col-md-5 col-lg-4 mb-4 mb-md-0">
  11.                     <!-- Sticky Block -->
  12.                     <div id="stickyBlockStartPoint">
  13.                         <div class="js-sticky-block"
  14.                              data-hs-sticky-block-options='{
  15.                    "parentSelector": "#stickyBlockStartPoint",
  16.                    "breakpoint": "lg",
  17.                    "startPoint": "#stickyBlockStartPoint",
  18.                    "endPoint": "#stickyBlockEndPoint",
  19.                    "stickyOffsetTop": 80,
  20.                    "stickyOffsetBottom": 80
  21.                  }'>
  22.                             <!-- Card -->
  23.                             <div class="card">
  24.                                 <!-- Card Header -->
  25.                                 <div class="card-header text-center">
  26.                                     <div class="mb-3">
  27.                                         <img class=""
  28.                                              src="{{ vich_uploader_asset(hearingBrand, 'logoFile') | imagine_filter('brand_logo_large') }}"
  29.                                              alt="Audioprothésiste {{ hearingBrand.name }}">
  30.                                     </div>
  31.                                 </div>
  32.                                 <!-- End Card Header -->
  33.                                 <!-- Card Body -->
  34.                                 <div class="card-body">
  35.                                     <div class="mb-2">
  36.                                         <h5>Nombre de centre :</h5>
  37.                                         <p>{{ nbOfCenter }}</p>
  38.                                     </div>
  39.                                     {% if hearingBrand.address is not null %}
  40.                                         <div class="mb-2">
  41.                                             <h5>Adresse :</h5>
  42.                                             <p>{{ hearingBrand.address }}</p>
  43.                                         </div>
  44.                                     {% endif %}
  45.                                     {% if hearingBrand.phoneNumber is not null %}
  46.                                         <div class="mb-2">
  47.                                             <h5>Contact :</h5>
  48.                                             <div class="d-flex justify-content-center">
  49.                                                 <a href="tel:{{ hearingBrand.phoneNumber }}" class="w-100">
  50.                                                     <button type="button"
  51.                                                             class="btn btn-block btn-soft-success transition-3d-hover w-100">
  52.                                                         <span class="bi-phone"></span> {{ hearingBrand.phoneNumber }}
  53.                                                         <small class="d-block">service et appels gratuits</small>
  54.                                                     </button>
  55.                                                 </a>
  56.                                             </div>
  57.                                         </div>
  58.                                     {% endif %}
  59.                                     {% if hearingBrand.openingHours is not null %}
  60.                                         <div class="mb-2">
  61.                                             <h5>Horaires d'ouverture :</h5>
  62.                                             <p>{{ hearingBrand.openingHours }}</p>
  63.                                         </div>
  64.                                     {% endif %}
  65.                                     <a class="btn btn-primary btn-transition w-100"
  66.                                        href="{{ path('index_acquisition_seo_v4') }}">
  67.                                         <i class="bi-headphones me-2"></i> Demande de bilan
  68.                                     </a>
  69.                                 </div>
  70.                                 <!-- End Card Body -->
  71.                             </div>
  72.                             <!-- End Card -->
  73.                         </div>
  74.                     </div>
  75.                     <!-- End Sticky Block -->
  76.                 </div>
  77.                 <!-- End Col -->
  78.                 <div class="col-md-7 col-lg-8">
  79.                     <div class="ps-lg-6">
  80.                         <div class="mb-3 mb-sm-0 me-2">
  81.                             <h2>Découvrez l'audioprothésiste <span
  82.                                         class="text-primary text-highlight-warning">{{ hearingBrand.name }}</span></h2>
  83.                         </div>
  84.                         <div class="border-bottom pb-5 mb-5 mt-5">
  85.                             {{ hearingBrand.wording|raw() }}
  86.                         </div>
  87.                         {% include 'front_v4/mca/components/_cross_sell_grid.html.twig' %}
  88.                         <!-- Sticky Block End Point -->
  89.                         <div id="stickyBlockEndPoint"></div>
  90.                     </div>
  91.                 </div>
  92.                 <!-- End Col -->
  93.             </div>
  94.             <!-- End Row -->
  95.         </div>
  96.         <!-- End Content -->
  97.     </main>
  98.     <!-- ========== END MAIN CONTENT ========== -->
  99. {% endblock content %}
  100. {% block javascripts %}
  101.     {{ encore_entry_script_tags('hearing_maker_single') }}
  102. {% endblock javascripts %}