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

Open in your IDE?
  1. {% extends 'front_v4/base.html.twig' %}
  2. {% block meta_title %}Audioprothésistes à {{ city_post.name }} - Mon Centre Auditif{% endblock meta_title %}
  3. {% block meta_description %}Trouvez les audioprothésistes proches de chez vous à {{ city_post.name }}. Mon Centre Auditif vous aide à trouver le centre auditif le plus proche de chez vous.{% endblock meta_description %}
  4. {% block content %}
  5.     <!-- Banner -->
  6.     <div class="bg-img-center"
  7.          style="background-image: url({{ vich_uploader_asset(city_post, 'bannerFile')|imagine_filter('city_banner_webp') }});">
  8.         <div class="gradient-overlay-half-dark-v2">
  9.             <div class="container content-space-2 content-space-lg-3">
  10.                 <div class="w-md-65 w-lg-35">
  11.                     <div class="mb-4">
  12.                         <h1 class="h2 text-white">Audioprothésiste à {{ city_post.name }}.</h1>
  13.                         <h2 class="h4 text-white">Mon Centre Auditif vous aide à trouver les centres auditifs
  14.                             dans {{ city_post.name }} et ses
  15.                             alentours.</h2>
  16.                     </div>
  17.                 </div>
  18.             </div>
  19.         </div>
  20.     </div>
  21.     <!-- End Banner -->
  22.     <!-- Wording City Section -->
  23.     <div class="container content-space-1 w-lg-65 mx-auto">
  24.         <h2 class="fw-semibold text-center mb-5 text-primary">Trouver facilement un centre auditif
  25.             à {{ city_post.name }}</h2>
  26.         <div class="mx-auto">
  27.             {{ city_post.wording|raw }}
  28.         </div>
  29.     </div>
  30.     <!-- End Wording City Section -->
  31.     <!-- List Store -->
  32.     <div class="container content-space-1 w-lg-65">
  33.         <!-- Title -->
  34.         <div class="d-sm-flex justify-content-sm-between align-items-sm-center mb-5">
  35.             <h2 class="h3 fw-medium">Liste des centres auditifs à {{ city_post.name }}</h2>
  36.             <a class="link-muted"
  37.                href="{{ path('find_nearest_store', {'address': city_post.zipcode~' '~city_post.name }) }}">
  38.                 Voir tous les centres auditifs sur {{ city_post.name }}
  39.                 <span class="fas fa-angle-right small ml-2"></span>
  40.             </a>
  41.         </div>
  42.         <!-- End Title -->
  43.         <div class="d-flex justify-content-end">
  44.             <span class="badge badge-default mr-0 text-primary">Notre sélection</span>
  45.         </div>
  46.         {% for store in preferred_stores %}
  47.             {% include ('front_v4/mca/store/_store_card.html.twig') with {preferred: true} %}
  48.         {% endfor %}
  49.         {% for store in stores %}
  50.             {% include ('front_v4/mca/store/_store_card.html.twig') %}
  51.         {% endfor %}
  52.         {% include 'front_v4/mca/components/_cta_3.html.twig' with {
  53.             title: "Voir tous les centres auditifs à " ~ city_post.name,
  54.             link: path('find_nearest_store', {'address': city_post.zipcode~' '~city_post.name }),
  55.             link_text: "Je trouve mon centre"
  56.         } %}
  57.     </div>
  58.     <!-- End List Store -->
  59.     {% include 'front_v4/mca/components/_cta_full_size_wave.html.twig' %}
  60.     <!-- Modal Prospect On Store -->
  61.     {% use 'front_v4/mca/partials/_modal_prospect.html.twig' with inc_content as modal_lead_content %}
  62.     {{ block('modal_lead_content') }}
  63.     <!-- End Modal Prospect On Store -->
  64.     <!-- Modal Callback On Store -->
  65.     {% use 'front_v4/mca/partials/_modal_callback.html.twig' with inc_content as modal_callback_content %}
  66.     {{ block('modal_callback_content') }}
  67.     <!-- End Modal Callback On Store -->
  68. {% endblock content %}
  69. {% block javascripts %}
  70.     <script
  71.             src="https://code.jquery.com/jquery-3.7.1.min.js"
  72.             integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo="
  73.             crossorigin="anonymous"></script>
  74.     {# modal prospect - Demande de Bilan Gratuit #}
  75.     {% use 'front_v4/mca/partials/_modal_prospect.html.twig' with inc_javascripts as modal_lead_javascripts %}
  76.     {{ block('modal_lead_javascripts') }}
  77.     {# modal callback - Etre rappelé #}
  78.     {% use 'front_v4/mca/partials/_modal_callback.html.twig' with inc_javascripts as modal_callback_javascripts %}
  79.     {{ block('modal_callback_javascripts') }}
  80.     <!-- Display number center -->
  81.     {{ encore_entry_script_tags('display_center_number') }}
  82.     <!-- End Display number center -->
  83.     <!-- Send callback -->
  84.     {{ encore_entry_script_tags('send_callback_request') }}
  85.     <!-- End Send callback -->
  86.     <!-- Format form prospect -->
  87.     {{ encore_entry_script_tags('format_form_prospect') }}
  88.     <!-- End Format form prospect -->
  89.     <!-- Modal display -->
  90.     {{ encore_entry_script_tags('modal_display') }}
  91.     <!-- End Modal display -->
  92.     {{ encore_entry_script_tags('stat') }}
  93. {% endblock javascripts %}