templates/frontend/template/about.html.twig line 1
{% extends "frontend/base.html.twig" %}
{% import "frontend/_macros.twig" as macros %}
{% block title %}{{ page.title }}{% endblock %}
{% block body %}
{% include 'frontend/block/hero_image.html.twig' with { 'block': page.metaDecoded('hero_image')|merge({ 'show_footer': false, 'full_height': false }) } %}
<div class="no-full-width">
{% include 'frontend/block/information_with_gallery.html.twig' with { 'block': page.metaDecoded('info'), 'image_position': 'left' } %}
</div>
<div class="team" id="nas-tym">
<div class="container">
<h2>Náš tým</h2>
<ul class="team-filters">
<li><button class="button button-small team-filter selected" data-filter=""><span>Vše</span></button></li>
{% for role in app_team_roles() %}
<li><button class="button button-small team-filter" data-filter="{{ role.name }}"><span>{{ role.title }}</span></button></li>
{% endfor %}
</ul>
</div>
{% set team, items_per_page = app_team(), 4 %}
<div class="team-list" data-splide="{{
{
'type': 'slide',
'pagination': true,
'arrows': false,
'drag': true,
'perPage': items_per_page,
'perMove': items_per_page,
'gap': '1rem',
'breakpoints': {
'compact': {
'perPage': 3,
},
'tablet': {
'perPage': 2,
},
'low_end_smartphone': {
'perPage': 1,
},
},
}|json_encode|escape('html') }}" data-splide-navContainer="{1}>.container .team-list-nav" data-splide-navKeep="true">
{% for person in team %}
<div class="team-person" data-roles="{% for role in person.roles %}{{ role.idRole.name }} {% endfor %}" data-index="{{ loop.index0 }}">
{% if person.photo is defined %}
<div class="person-part-photo">
{% if person.photo %}
{{ app_image_html(person.photo.id) }}
{% else %}
{{ app_static_image_html('img/placeholder/team-person.jpg') }}
{% endif %}
</div>
{% endif %}
<div class="person-part-content">
<div class="person-part-full-name">{{ person.fullName }}</div>
<div class="person-part-position">{{ person.position }}</div>
<div class="person-part-bottom">
{% if person.phone|default %}
<div class="person-part-phone">{{ person.phone }}</div>
{% endif %}
{% if person.email|default %}
<div class="person-part-email">{{ person.email }}</div>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>
<div class="container">
<div class="team-list-nav"></div>
</div>
</div>
{% include 'frontend/block/information_with_gallery.html.twig' with { 'block': page.metaDecoded('info2'), 'image_position': 'right' } %}
{% include 'frontend/block/contact.html.twig' %}
{% endblock %}