templates/front/whois/whois.html.twig line 1

Open in your IDE?
  1. {% extends 'base_front.html.twig' %}
  2. {% block meta %}
  3.     <title>Bourg | Qui Sommes Nous ?</title>
  4.     {% if block1.text is defined %}
  5.         <meta name="description" content="{{ block1.text|striptags|slice(0, 150) }}">
  6.     {% endif %}
  7. {% endblock %}
  8. {% block body %}
  9.     <section class="first-presentation whois-first-section" id="targetSeeMore">
  10.         <div class="container">
  11.             <div class="row presentation position-relative">
  12.                 <div class="title-page bg-blue d-flex gold pl-0 position-absolute whois-first">
  13.                     <!--img src="{{ asset('img/icons/chevrons-right.svg') }}" alt="chevrons droite"-->
  14.                     <span class="ml-3">Qui sommes-nous ?</span>
  15.                 </div>
  16.                 <div class="col-md-6 illustration" style="background:url({{ block1.image ? asset(constant('App\\Services\\UploadFileService::POST_IMAGE_DIR') ~ block1.image) : asset('img/header_floor.jpg') }}) center center no-repeat;background-size:cover">
  17.                 </div>
  18.                 <div class="col-md-6 pl-5 prez-txt-right">
  19.                     <div class="title-page bg-blue d-flex gold pl-0">
  20.                         <!--img src="{{ asset('img/icons/chevrons-right.svg') }}" alt="chevrons droite"-->
  21.                     </div>
  22.                     <h1>
  23.                         {{ block1.title }}
  24.                         {% if app.user %}
  25.                             <a href="{{ path('back_content_edit', {'id': block1.id}) }}"><i class="fas fa-pencil-alt" style="color:red"></i></a>
  26.                         {% endif %}
  27.                     </h1>
  28.                     <div class="description pt-5 pb-5 gold">
  29.                         {{ block1.text|raw }}
  30.                     </div>
  31.                     {% if block1.buttonLink %}
  32.                         <a href="{{ block1.buttonLink }}" class="btn-gold bg-gold gold">{{ block1.buttonLabel }}</a>
  33.                     {% endif %}
  34.                 </div>
  35.             </div>
  36.         </div>
  37.     </section>
  38.     <section class="second-presentation">
  39.         <div class="container">
  40.             <div class="row presentation">
  41.                 <div class="col-md-6 pr-5 prez-txt-left">
  42.                     <div class="title-page bg-blue d-flex gold pl-0">
  43.                         <!--img src="{{ asset('img/icons/chevrons-right.svg') }}" alt="chevrons droite"-->
  44.                     </div>
  45.                     <h1>
  46.                         {{ block2.title }}
  47.                         {% if app.user %}
  48.                             <a href="{{ path('back_content_edit', {'id': block2.id}) }}"><i class="fas fa-pencil-alt" style="color:red"></i></a>
  49.                         {% endif %}
  50.                     </h1>
  51.                     <div class="description pt-5 pb-5 gold">
  52.                         {{ block2.text|raw }}
  53.                     </div>
  54.                     {% if block2.buttonLink %}
  55.                         <a href="{{ block2.buttonLink }}" class="btn-gold bg-gold gold">{{ block2.buttonLabel }}</a>
  56.                     {% endif %}
  57.                 </div>
  58.                 <div class="col-md-6 illustration" style="background:url({{ block2.image ? asset(constant('App\\Services\\UploadFileService::POST_IMAGE_DIR') ~ block2.image) : asset('img/header_floor.jpg') }}) center center no-repeat;background-size:cover">
  59.                 </div>
  60.             </div>
  61.         </div>
  62.     </section>
  63.     <section class="first-presentation whois-first-section" id="targetSeeMore">
  64.         <div class="container">
  65.             <div class="row presentation">
  66.                 <div class="col-md-6 illustration" style="background:url({{ block3.image ? asset(constant('App\\Services\\UploadFileService::POST_IMAGE_DIR') ~ block3.image) : asset('img/header_floor.jpg') }}) center center no-repeat;background-size:cover">
  67.                 </div>
  68.                 <div class="col-md-6 pl-5 prez-txt-right">
  69.                     <div class="title-page bg-blue d-flex gold pl-0">
  70.                         <!--img src="{{ asset('img/icons/chevrons-right.svg') }}" alt="chevrons droite"-->
  71.                     </div>
  72.                     <h1 data-end="?" class="without-point">
  73.                         {{ block3.title }}
  74.                         {% if app.user %}
  75.                             <a href="{{ path('back_content_edit', {'id': block3.id}) }}"><i class="fas fa-pencil-alt" style="color:red"></i></a>
  76.                         {% endif %}
  77.                     </h1>
  78.                     <div class="description pt-5 pb-5 gold">
  79.                         {{ block3.text|raw }}
  80.                     </div>
  81.                     {% if block3.buttonLink %}
  82.                         <a href="{{ block3.buttonLink }}" class="btn-gold bg-gold gold">{{ block3.buttonLabel }}</a>
  83.                     {% endif %}
  84.                 </div>
  85.             </div>
  86.         </div>
  87.     </section>
  88. {% endblock %}