{% extends 'front/base_front.html.twig' %}
{% block title %}{{ homePage.title }}{% endblock %}
{% block SEO %}
{% if seo.homeSeoTitle is not empty %}
<meta name="title" content="{{ seo.homeSeoTitle }}">
{% endif %}
{% if seo.homeSeoDescription is not empty %}
<meta name="description" content="{{ seo.homeSeoDescription }}">
{% endif %}
{% endblock %}
{% block stylesheets %}
{{ parent() }}
{{ encore_entry_link_tags('app') }}
{% endblock %}
{% block container %}
{# <!-- Banner Area --> #}
{{ include ('front/main/subheader/slider.html.twig' ) }}
<div {{ 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>#}
</div>
{{ include('front/main/recent_search/recent_search_hotel.html.twig') }}
{% for zone in zones %}
{% if zone.active and zone.items is not empty %}
{{ include ('front/main/zones/zone'~zone.view~'.html.twig') }}
{% endif %}
{% endfor %}
{# Sections #}
<section class="about-section">
<div class="container">
<h2 class="section-title">{{ 'Pages.Home.Messages.FrontSectionsTitle' | trans({}, 'messages_front') }}</h2>
<div class="row gy-4">
{% if sections|length > 0 %}
<div class="col-md-6">
<div class="info-box">
<div class="info-icon">
<img src="/front/assets/img/voyage.png" alt="رسالتنا">
</div>
<div class="info-content">
<h5>{{ sections[0].title }}</h5>
<p>{{ sections[0].content }}</p>
</div>
</div>
</div>
{% endif %}
{% if sections|length > 1 %}
<div class="col-md-6">
<div class="info-box">
<div class="info-icon">
<img src="/front/assets/img/solution.png" alt="من نحن">
</div>
<div class="info-content">
<h5>{{ sections[1].title }}</h5>
<p>{{ sections[1].content }}</p>
</div>
</div>
</div>
{% endif %}
</div>
</div>
</section>
{% endblock %}