templates/FrontBundle/Page/faq.html.twig line 1

Open in your IDE?
  1. {% extends 'FrontBundle/layout.html.twig' %}
  2. {% block extra_class %}stack{% endblock %}
  3. {% block title %}{{ app_sitename }} - {{ page.metaTitle }}{% endblock %}
  4. {% block description %}{{ page.metaDescription }}{% endblock %}
  5. {% block sub_header %}
  6.     <div class="sub-header anchor">
  7.     <ul>
  8.         <li class="active"><a href="#hebergement">{{ categories[0].name[app.request.locale] }}</a></li>
  9.         <li><a href="#restauration">{{ categories[1].name[app.request.locale] }}</a></li>
  10.         <li><a href="#spectale">{{ categories[2].name[app.request.locale] }}</a></li>
  11.         <li><a href="#billeterie">{{ categories[3].name[app.request.locale] }}</a></li>
  12.         <li><a href="#entreprises">{{ categories[4].name[app.request.locale] }}</a></li>
  13.     </ul>
  14.   </div>
  15. {% endblock %}
  16. {% block stylesheets %}
  17.     <link href="/front/css/owl.carousel.min.css" rel="stylesheet">
  18.     <link href="/front/css/owl.theme.default.min.css" rel="stylesheet">
  19. {% endblock %}
  20. {% block body %}
  21.     <section class="espace-content full faq" style="margin-top: 140px;">
  22.         <div class="content">
  23.             <h1 class="mb-5 text-red">{{ 'faq_title'|tr(tr)|raw }}</h1>
  24. {#           <ul>
  25.               <li class="active"><a href="#hebergement">HÉBERGEMENT & A PROXIMITÉ</a></li>
  26.               <li><a href="#restauration">RESTAURATION</a></li>
  27.               <li><a href="#spectale">SPECTACLE</a></li>
  28.               <li><a href="#">BILLETERIE</a></li>
  29.               <li><a href="/{{app.request.locale }}/espace-entreprises">ENTREPRISES</a></li>
  30.           </ul> #}
  31.       </div>
  32.     </section>
  33.         <section class="espace-content full mt-0 infos faq grey-bg" id="hebergement">
  34.             <div class="content mt-5 pt-5">
  35.                 <h2 class="mb-5 text-red">{{ categories[0].name[app.request.locale]|upper }}</h2>
  36.                 <div class="row pb-5">
  37.                     
  38.           {% for item in items %}
  39.             {% if item.content['category'] == 1 %}
  40.               <div class="col-md-6">
  41.                         <p class="mb-4">
  42.                             <strong class="mb-1">{{ item.content[app.request.locale]['a'] }}</strong><br>
  43.                             {{ item.content[app.request.locale]['r'] }}
  44.                         </p>
  45.             </div>
  46.             {% endif %}
  47.           {% endfor %}
  48.                     
  49.                 </div>
  50.             </div>
  51.         </section>
  52.         <section class="espace-content full mt-5 infos faq" id="restauration">
  53.             <div class="content mt-3">
  54.                 <h2 class="mb-5 text-red">{{ categories[1].name[app.request.locale]|upper }}</h2>
  55.                 <div class="row pb-5">
  56.           {% for item in items %}
  57.             {% if item.content['category'] == 2 %}
  58.               <div class="col-md-6">
  59.             <p class="mb-4">
  60.               <strong class="mb-1">{{ item.content[app.request.locale]['a'] }}</strong><br>
  61.               {{ item.content[app.request.locale]['r'] }}
  62.             </p>
  63.             </div>
  64.             {% endif %}
  65.           {% endfor %}
  66.                 </div>
  67.             </div>
  68.         </section>
  69.         <section class="espace-content full mt-0 pt-5 infos faq grey-bg" id="spectale">
  70.             <div class="content">
  71.                 <h2 class="mb-5 text-red">{{ categories[2].name[app.request.locale]|upper }}</h2>
  72.                 <div class="row pb-5">
  73.           {% for item in items %}
  74.             {% if item.content['category'] == 3 %}
  75.               <div class="col-md-6">
  76.             <p class="mb-4">
  77.               <strong class="mb-1">{{ item.content[app.request.locale]['a'] }}</strong><br>
  78.               {{ item.content[app.request.locale]['r'] }}
  79.             </p>
  80.             </div>
  81.             {% endif %}
  82.           {% endfor %}
  83.                     
  84.                 </div>
  85.             </div>
  86.         </section>
  87.     <section class="espace-content full mt-5 infos faq" id="billeterie">
  88.       <div class="content mt-3">
  89.         <h2 class="mb-5 text-red">{{ categories[3].name[app.request.locale]|upper }}</h2>
  90.         <div class="row pb-5">
  91.           {% for item in items %}
  92.             {% if item.content['category'] == 4 %}
  93.               <div class="col-md-6">
  94.             <p class="mb-4">
  95.               <strong class="mb-1">{{ item.content[app.request.locale]['a'] }}</strong><br>
  96.               {{ item.content[app.request.locale]['r'] }}
  97.             </p>
  98.             </div>
  99.             {% endif %}
  100.           {% endfor %}
  101.         </div>
  102.       </div>
  103.     </section>
  104.     <section class="espace-content full mt-0 pt-5 infos faq grey-bg" id="entreprises">
  105.       <div class="content">
  106.         <h2 class="mb-5 text-red">{{ categories[4].name[app.request.locale]|upper }}</h2>
  107.         <div class="row pb-5">
  108.           {% for item in items %}
  109.             {% if item.content['category'] == 5%}
  110.               <div class="col-md-6">
  111.             <p class="mb-4">
  112.               <strong class="mb-1">{{ item.content[app.request.locale]['a'] }}</strong><br>
  113.               {{ item.content[app.request.locale]['r'] }}
  114.             </p>
  115.             </div>
  116.             {% endif %}
  117.           {% endfor %}
  118.           
  119.         </div>
  120.       </div>
  121.     </section>
  122.     {% include 'FrontBundle/Partial/spectacle.html.twig' %}
  123.         {% include 'FrontBundle/Partial/footer.html.twig' %}
  124. {% endblock %}
  125. {% block javascripts %}
  126. {% endblock %}