{% extends 'base.html.twig' %}
{% block title %}Centre d'aide | {{ parent() }}{% endblock %}
{% block body %}
<section class="parallax-section single-par" data-scrollax-parent="true">
<div class="bg" {% if help.background %}data-bg="{{ asset('/uploads/files/help/' ~ help.background) }}"{% endif %} data-scrollax="properties: { translateY: '30%' }"></div>
<div class="overlay"></div>
<div class="container">
<div class="home-intro">
<div class="section-title-separator"><span></span></div>
<h2><span class="text-capitalize">{{ help.title }}</span></h2>
<span class="section-separator"></span>
<h3 style="font-size: 1.5rem !important">{{ help.subTitle }}</h3>
</div>
</div>
<div class="header-sec-link">
<div class="container"><a href="#sec1" class="custom-scroll-link color-bg"><i class="fal fa-angle-double-down"></i></a></div>
</div>
</section>
<div class="breadcrumbs-fs fl-wrap">
<div class="container">
<div class="breadcrumbs fl-wrap"><a href="#">Help</a><span>Centre d'aide</span></div>
</div>
</div>
<section class="grey-blue-bg middle-padding" id="sec1">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="box-widget-item fl-wrap help-bar">
<div class="box-widget">
<div class="box-widget-content">
<div class="box-widget-item-header">
<h3>Questions Fréquemment Posées</h3>
</div>
<div class="faq-nav fl-wrap">
<ul class="tabs-menu-original">
{% for category in faqCategory %}
<li><a class="custom-scroll-link {% if loop.first %}act-faq-link{% endif %}" href="#faqo{{ category.id }}">{{ category.name }}</a></li>
{% endfor %}
</ul>
</div>
<div class="search-widget">
<form action="#" class="fl-wrap">
<input name="se" id="se" type="text" class="search" placeholder="Enter Keyword" value="">
<button class="search-submit color2-bg" id="submit_btn"><i class="fal fa-search transition"></i> </button>
</form>
</div>
</div>
</div>
</div>
</div>
<div class="col-md-8">
{% for category in faqCategory %}
<div id="faqo{{ category.id }}" class="tab-content-original">
<div class="title-devis">
<span>{{ category.name }}</span>
</div>
{% for faq in category.questions %}
<div class="list-single-main-item-changed fl-wrap">
<div class="list-single-main-item-title-changed fl-wrap toggle-h3">
<h3>{{ faq.question|raw }}</h3>
</div>
<p class="toggle-h3-paragraph">{{ faq.answer|raw }}</p>
</div>
{% endfor %}
</div>
{% endfor %}
</div>
</div>
</div>
<div class="limit-box"></div>
</section>
<section class="color-bg" id="sec3">
<div class="wave-bg wave-bg2"></div>
<div class="container">
<div class="row">
<div class="col-md-6">
<div class="colomn-text fl-wrap pad-top-column-text">
<div class="colomn-text-title">
<h3>{{ help.video }}</h3>
<p>{{ help.description }}</p>
{% if help.btnName %}
<a href="{% if help.btnLink %}{{ help.btnLink }}{% else %}#{% endif %}" target="_blank" class="btn color2-bg float-btn">{{ help.btnName }}<i class="fas fa-link"></i></a>
{% endif %}
</div>
</div>
</div>
<div class="col-md-6">
<div class="video-box fl-wrap video-box-span-none">
{% if help.videoImage %}
<img src="{{ asset('/uploads/files/help/' ~ help.videoImage) | imagine_filter('597x396') }}" class="respimg" alt="{{ help.video }}">
{% else %}
<img src="{{ asset('front/images/all/ryvup.jpeg') | imagine_filter('597x396') }}" class="respimg" alt="{{ help.video }}">
{% endif %}
{% if help.videoLink is defined and help.videoLink is not null %}
<a class="video-box-btn image-popup" href="{{ help.videoLink }}"><i class="fa fa-play" aria-hidden="true"></i></a>
<span class="video-box-title">{{ help.video }}</span>
{% endif %}
</div>
</div>
</div>
</div>
</section>
<section>
<div class="container">
<div class="section-title">
<h2>{{ help.helpfulTitle }}</h2>
<span class="section-separator"></span>
<p>{{ help.helpfulSubtitle }}</p>
</div>
<div class="row">
<div class="col-md-4">
<div class="process-item">
<span class="process-count"> </span>
<div class="time-line-icon">{{ help.helpfulIcon1|raw }}</div>
<h4><a href="#">{{ help.helpfulTitle1 }}</a></h4>
<p>{{ help.helpfulSubtitle1 }}</p>
</div>
</div>
<div class="col-md-4">
<div class="process-item">
<span class="process-count"> </span>
<div class="time-line-icon">{{ help.helpfulIcon2|raw }}</div>
<h4> <a href="#">{{ help.helpfulTitle2 }}</a></h4>
<p>{{ help.helpfulSubtitle2 }}</p>
</div>
</div>
<div class="col-md-4">
<div class="process-item nodecpre">
<span class="process-count"> </span>
<div class="time-line-icon">{{ help.helpfulIcon3|raw }}</div>
<h4><a href="#">{{ help.helpfulTitle3 }}</a></h4>
<p>{{ help.helpfulSubtitle3 }}</p>
</div>
</div>
</div>
</div>
</section>
{% endblock %}