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

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