templates/home.html.twig line 23

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block title %}- Le guide des festivals de bridge{% endblock %}
  3. {% block headersection %}
  4. <div class="fixed-top">
  5.     {{ include('flashmessages/flashmessages.html.twig') }}
  6. </div>
  7. <section class="section section-xl bg-primary overlay-dark text-white rounded covernorepeat" data-background="{{ asset('assets/img/cards-3662554_1920.jpg') }}">
  8.     <div class="container">
  9.         <div class="row justify-content-center">
  10.             <div class="col-12 text-md-center">
  11.                 <!-- Heading -->
  12.                 <h1 class="display-1">
  13.                     <span class="font-weight-bolder">B</span>ridge <span class="font-weight-bolder">F</span>estival
  14.                 </h1>
  15.                 <!-- Text -->
  16.                 <p class="lead text-muted mt-4">
  17.                     Le guide des <span class="font-weight-bold">tournois et festivals</span> de bridge.
  18.                 </p>
  19.             </div>
  20.         </div>
  21.         {{ render(controller('App\\Controller\\SearchController::homesearch')) }}
  22.     </div>
  23. </section>
  24. {%endblock%}
  25. {%block body%}
  26. <main>
  27.    {%if bfeditions|length > 0%}
  28.     <div class="section section-lg">
  29.         <div class="container">
  30.             {{ render(controller('App\\Controller\\BFFestivalController::ShowHomeSubscriptions')) }}
  31.             <div class="row mb-4">
  32.                 <div class="col-12">
  33.                     <h4 class="mb-5">Prochains tournois et festivals</h4>
  34.                 </div>
  35.                 <div class="col-12">
  36.                 </div>
  37.                 {% for bfedition in bfeditions %}
  38.                 {{ render(controller('App\\Controller\\BFEditionController::ShowSmallView', {id:bfedition.id})) }}
  39.                 {%endfor%}
  40.             </div>
  41.             {{ render(controller('App\\Controller\\BFChallengeEditionController::ShowBFChallengeEditionsHome')) }}
  42.         </div>
  43.     </div>
  44.     {%endif%}
  45.     {{ include('about/howitworks.html.twig') }}
  46. </main>
  47. {%endblock%}