templates/front/main/home.html.twig line 1

Open in your IDE?
  1. {% extends 'front/base_front.html.twig' %}
  2. {% block title %}
  3.     {{ homePage.title }}
  4. {% endblock %}
  5. {% block SEO %}
  6.     {% if seo.homeSeoTitle is not empty %}
  7.         <meta name="title" content="{{ seo.homeSeoTitle }}">
  8.     {% endif %}
  9.     {% if seo.homeSeoDescription is not empty %}
  10.         <meta name="description" content="{{ seo.homeSeoDescription }}">
  11.     {% endif %}
  12. {% endblock %}
  13. {% block stylesheets %}
  14.     {{ parent() }}
  15.     {{ encore_entry_link_tags('app') }}
  16. {% endblock %}
  17. {% block container %}
  18.     {# <!-- Banner Area --> #}
  19.     {{ include ('front/main/subheader/slider.html.twig' ) }}
  20.     <div
  21.         {{ react_component('HomeTabs/HomeSearchTabs', { p_locale : app.session.get('_locale') ?? app.request.locale, p_autocomplete : true, p_hotel : modules['Hotel'], p_flight : modules['Flight'], p_transfer : modules['Transfer'], p_hotelSuggestions : hotelSuggestions, p_flightSuggestions : flightSuggestions } ) }}>{#        Loading... <i class="fas fa-cog fa-spin fa-3x"></i>#}
  22.     </div>
  23.     {#{{ include('front/main/recent_search/recent_search_hotel.html.twig') }}#}
  24.     {% for zone in zones %}
  25.         {% if zone.active and zone.items is not empty %}
  26.             {{ include ('front/main/zones/zone'~zone.view~'.html.twig') }}
  27.         {% endif %}
  28.     {% endfor %}
  29.     {% include 'front/_faq.html.twig' with { faqs: faqs } only %}
  30. {% endblock %}