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.     {{ encore_entry_link_tags('app') }}
  14. {% endblock %}
  15. {% block container %}
  16.     {# <!-- Banner Area --> #}
  17.     {{ include('front/main/subheader/slider.html.twig') }}
  18.     <div {{ react_component('HomeTabs/HomeSearchTabs', {
  19.         p_locale : app.session.get('_locale') ?? app.request.locale,
  20.         p_autocomplete : true,
  21.         p_hotel : modules['Hotel'],
  22.         p_flight : modules['Flight'],
  23.         p_transfer : modules['Transfer'],
  24.         p_hotelSuggestions : hotelSuggestions,
  25.         p_flightSuggestions : flightSuggestions,
  26.         p_tripSelectorVariant : tripSelectorVariant,
  27.         p_tripSelectorWrapperClassName : 'col-12 col-md-8 col-lg-4',
  28.     }) }}>
  29.     </div>
  30.     {# {{ include('front/main/recent_search/recent_search_hotel.html.twig') }} #}
  31.     {% for zone in zones %}
  32.         {% if zone.active and zone.items is not empty %}
  33.             {{ include ('front/main/zones/zone'~zone.view~'.html.twig') }}
  34.         {% endif %}
  35.     {% endfor %}
  36.     {#{{ include('front/main/sections/sections_top_' ~ app.request.locale ~ '.html.twig') }}#}
  37.     {{ include('front/main/sections/section_b2b_' ~ app.request.locale ~ '.html.twig') }}
  38.     {#  {{ include('front/main/sections/sections_bottom_' ~ app.request.locale ~ '.html.twig') }} #}
  39.     {% include 'front/_faq.html.twig' with { faqs: faqs } only %}
  40. {% endblock %}