templates/pages/faq.html.twig line 1
{% extends 'base.html.twig' %}
{% block title %}
{{ "Često postavljana pitanja"|trans }} - {{ parent() }}
{% endblock %}
{% block stylesheets %}
<style>
@media screen and (min-width: 800px) {
.navbar-nav .nav-link {
color: whitesmoke;
}
}
header.fix_style .navbar-expand-lg .navbar-nav .nav-link {
color: #40656b;
}
</style>
{% endblock %}
{% block header %}
{{ include('components/header-2.html.twig') }}
{% endblock %}
{% block body %}
<!-- BredCrumb-Section -->
<div class="bred_crumb bg-default" style="background-image: url('{{ tString("media_features_faq") }}');!important;">
<div class="container" style="margin-top: 120px">
<div class="bred_text">
<h1 style="color: white;!important;">{{ tString("frequently_asked_questions")|capitalize }}</h1>
<p style="color: white;!important;">{{ tString("faq_page_p") }}</p>
<ul>
<li><a style="color: white;!important;" href="{{ path('web_homepage') }}">{{ tString("menu_naslovna") }}</a></li>
<li><span style="color: white;!important;" >»</span></li>
<li><a style="color: white;!important;" href="{{ path('web_faq') }}">{{ tString("frequently_asked_questions")|capitalize }}</a></li>
</ul>
</div>
</div>
</div>
<!-- FAQ-Section start -->
<section class="row_am faq_section">
<!-- container start -->
<div class="container">
<!-- faq data -->
<div class="faq_panel">
<div class="accordion" id="accordionExample">
{% for item in items %}
<div class="card" data-aos="fade-up" >
<div class="card-header" id="heading{{ loop.index }}">
<h2 class="mb-0">
<button type="button" class="btn btn-link active" data-toggle="collapse" data-target="#collapse{{ loop.index }}">
<i class="icon_faq icofont-plus"></i></i>
{% for translation in item.faqTranslations() %}
{% if translation.getLocale() == app.request.locale %}
{{ translation.question }}
{% endif %}
{% endfor %}
</button>
</h2>
</div>
<div id="collapse{{ loop.index }}" class="collapse {% if loop.first %}{% endif %}" aria-labelledby="heading{{ loop.index }}" data-parent="#accordionExample">
<div class="card-body">
<p>
{% for translation in item.faqTranslations() %}
{% if translation.getLocale() == app.request.locale %}
{{ translation.answer|raw() }}
{% endif %}
{% endfor %}
</p>
</div>
</div>
</div>
{% endfor %}
</div>
</div>
</div>
<!-- container end -->
</section>
<!-- FAQ-Section end -->
{% endblock %}