src/Resources/views/Frontend/index_no_sales.html.twig line 117

Open in your IDE?
  1. {% extends "base_frontend.html.twig" %}
  2. {% set whoWeAre = true %}
  3. {% block tag_manager %}
  4.     <script>
  5.         dataLayer = [{
  6.             'rubrique': 'Homepage',
  7.         }];
  8.     </script>
  9. {% endblock %}
  10. {% block layout_content %}
  11.     <div class="home">
  12.         <!-- Header -->
  13.         {% include 'frontend/header.html.twig' %}
  14.         <!-- FIN Header -->
  15.         <div class="home-top">
  16.             <!-- Accroche -->
  17.             <div class="txtcenter block01">
  18.                 <div class="home-accroche no-sales">
  19.                     <p class="bold color12">{{ 'frontend.home_top.title'|trans }}</p>
  20.                     <p class="color13">
  21.                         {% if is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_FRANCE')) and getParameter('home.header.title') is not null %}
  22.                             {{ getParameter('home.header.title')|truncate(50) }}
  23.                         {% else %}
  24.                             {{ 'frontend.home_top.subtitle'|trans }}
  25.                         {% endif %}
  26.                     </p>
  27.                     {{ render(controller('App\\Controller\\Frontend\\VehicleController:salesCounterAction')) }}
  28.                 </div>
  29.                 <div class="home-search no-sales">
  30.                     <p>
  31.                         <a href="{{ path('frontend_advantages_auction') }}">{{ 'frontend.home.search.link.discover'|trans }}</a>
  32.                     </p>
  33.                     <p>
  34.                         <a href="{{ path('frontend_vehicle_results') }}">{{ 'frontend.home.search.link.result'|trans }}</a>
  35.                     </p>
  36.                 </div>
  37.                 {% include 'Frontend/home/_home_video.html.twig' %}
  38.             </div>
  39.             <!-- FIN Accroche -->
  40.         </div>
  41.         <!-- Home Content -->
  42.         <div class="home-content bg-color01 clearfix" role="main">
  43.             <!-- Garanties et services -->
  44.             {% if not is_current_country(constant('App\\Twig\\Extension\\CountryExtension::COUNTRY_BELGIUM')) %}
  45.                 <div class="garanties-services marginT60 marginR20 marginL20">
  46.                     <h2 class="titre01 txtnormal bold">{{ 'frontend.home_content.guarantees_services.title'|trans }}</h2>
  47.                     <div class="grid-container block-box-shadow marginT20 padding20">
  48.                         <ul class="marginT30">
  49.                             <li class="txtcenter">
  50.                                 <a href="{{ path('frontend_guarantee') }}" title="">
  51.                                     <img src="{{ asset('bundles/vpauto/frontend/images/icone04-gris.svg') }}" alt="Garantie" />
  52.                                 </a>
  53.                                 <span class="block marginT10 titre03"><strong>{{ 'frontend.landing.services.fr.content.liste01.title01'|trans({}, 'landing') }}</strong></span>
  54.                             </li>
  55.                             <li class="txtcenter">
  56.                                 <a href="{{ path('frontend_temporary_insurance') }}" title="">
  57.                                     <img src="{{ asset('bundles/vpauto/frontend/images/icone05-gris.svg') }}" alt="Assurance" />
  58.                                 </a>
  59.                                 <span class="block marginT10 titre03"><strong>{{ 'frontend.landing.services.fr.content.liste01.title02'|trans({}, 'landing') }}</strong></span>
  60.                             </li>
  61.                             <li class="txtcenter">
  62.                                 <a href="{{ path('frontend_delivery') }}" title="">
  63.                                     <img src="{{ asset('bundles/vpauto/frontend/images/icone06-gris.svg') }}" alt="Transport" />
  64.                                 </a>
  65.                                 <span class="block marginT10 titre03"><strong>{{ 'frontend.landing.services.fr.content.liste01.title03'|trans({}, 'landing') }}</strong></span>
  66.                             </li>
  67.                             <li class="txtcenter">
  68.                                 <a href="https://vendresonauto.com/demande-estimation/accueil" title="" target="_blank">
  69.                                     <img src="{{ asset('bundles/vpauto/frontend/images/icone07-gris.svg') }}" alt="Revente de votre véhicule" />
  70.                                 </a>
  71.                                 <span class="block marginT10 titre03"><strong>{{ 'frontend.landing.services.fr.content.liste01.title04'|trans({}, 'landing') }}</strong></span>
  72.                             </li>
  73.                             <li class="txtcenter">
  74.                                 <a href="{{ path('frontend_visit_vehicle') }}" title="">
  75.                                     <img src="{{ asset('bundles/vpauto/frontend/images/icone08-gris.svg') }}" alt="Visite sur rdv" />
  76.                                 </a>
  77.                                 <span class="block marginT10 titre03"><strong>{{ 'frontend.landing.services.fr.content.liste01.title05'|trans({}, 'landing') }}</strong></span>
  78.                             </li>
  79.                             <li class="txtcenter">
  80.                                 <a href="{{ path('frontend_registration_card') }}" title="">
  81.                                     <img src="{{ asset('bundles/vpauto/frontend/images/services10-gris.svg') }}" alt="Carte grise – réimmatriculation" />
  82.                                 </a>
  83.                                 <span class="block marginT10 titre03"><strong>{{ 'frontend.landing.services.fr.content.liste01.title06'|trans({}, 'landing') }}</strong></span>
  84.                                 <span id="garantie"></span>
  85.                             </li>
  86.                         </ul>
  87.                     </div>
  88.                 </div>
  89.             {% endif %}
  90.             {# locale based : editorial content #}
  91.             {% if 'fr' == app.request.locale and  0 < news|length %}
  92.                 <div class="marginT60 marginR20 marginL20">
  93.                     <div class="actus">
  94.                         <ul class="slider">
  95.                             {% for n in news %}
  96.                                 <li><a href="{{ n.link }}" target="_blank"><img
  97.                                     src="{{ n.image }}" title="{{ n.title }}"
  98.                                     alt="{{ n.title }}" loading="lazy"></a></li>
  99.                             {% endfor %}
  100.                         </ul>
  101.                     </div>
  102.                 </div>
  103.                 <div class="marginT60 marginR20 marginL20">
  104.                     <div class="grid-container block-box-shadow padding10 txtcenter">
  105.                         <iframe id='AV_widget_iframe' frameBorder="0" width="100%" height="100%"
  106.                                 src="//cl.avis-verifies.com/fr/cache/3/7/7/3777ea35-f312-e844-e539-4448e34bc940/widget4/3777ea35-f312-e844-e539-4448e34bc940horizontal_index.html"></iframe>
  107.                     </div>
  108.                 </div>
  109.             {% endif %}
  110.         </div>
  111.         <!-- FIN Home Content -->
  112.         <!--Footer -->
  113.         {% include 'frontend/footer.html.twig' %}
  114.         <!-- FIN Footer -->
  115.     </div>
  116.     {% if true == getParameter('marketing_modal.enabled') %}
  117.         <a id="modalInfo" href="{{ getParameter('marketing_modal.image') }}"
  118.            data-url="{{ getParameter('marketing_modal.link') }}" style="display:none"></a>
  119.     {% endif %}
  120. {% endblock layout_content %}