<footer class="footer">
{# Main footer #}
{% if nodemenu is defined %}
<section class="main-footer container-fluid">
<div class="row">
<div class="col-md-2 main-footer__logo">
<img alt="Logo GCS" src="{{ asset('/frontend/img/general/logo-white.svg') }}">
</div>
{# Footer navigation #}
{{ get_menu('footer_navigation', app.request.locale, {'activeClass': 'active', 'rootOpen': '<ul class="footer-nav__list col-md-10">', 'childOpen': '<li class="footer-nav__list-item">'}) }}
{# {% set activeSubnode = nodemenu.getActiveForDepth(1) %}#}
{# {% for node in activeSubnode.children %}#}
{# {% if not node.node.isHiddenFromNav() and node.node.internalName != 'contact' %}#}
{# <div class="col-md-1 col-sm-1">#}
{# <nav class="footer-nav">#}
{# <h6 class="footer-nav__title">#}
{# <a href="{{ path('_slug', { 'url': node.slug }) }}" class="footer-nav__title__link">{{ node.title }}</a>#}
{# </h6>#}
{# {% if node.children|length>0 %}#}
{# {% if node.node.internalName == 'article_overview_page' %}#}
{# {% for node2 in node.children %}#}
{# {% if loop.index < 4 %}#}
{# {% if node2.title|length > 40 %}#}
{# {% set ltitle = node2.title[:40] ~ '...' %}#}
{# {% else %}#}
{# {% set ltitle = node2.title %}#}
{# {% endif %}#}
{# <a href="{{ path('_slug', { 'url': node2.slug }) }}" class="footer-nav__item{% if(node2.active) %} footer-nav__item--active{% endif %}">#}
{# {{ ltitle }}#}
{# </a>#}
{# {% endif %}#}
{# {% endfor %}#}
{# {% else %}#}
{# {% for node2 in node.children | slice(0, 3) %}#}
{# {% if not node.node.isHiddenFromNav() %}#}
{# <a href="{{ path('_slug', { 'url': node2.slug }) }}" class="footer-nav__item{% if(node2.active) %} footer-nav__item--active{% endif %}">#}
{# {{ node2.title }}#}
{# </a>#}
{# {% endif %}#}
{# {% endfor %}#}
{# {% endif %}#}
{# {% endif %}#}
{# </nav>#}
{# </div>#}
{# {% endif %}#}
{# {% endfor %}#}
</div>
</section>
{% endif %}
{# Sub-footer #}
<section class="sub-footer">
<div class="container-fluid">
<div class="sub-footer__inner">
<p class="sub-footer__info">
Copyright © {{ "now"|date("Y") }} GdyĆskie Centrum Sportu
{% if nodemenu is defined %}
{% set sitemap = nodemenu.getNodeByInternalName('sitemap') %}
{% if (sitemap != null and sitemap.online) %}- <a href="{{ path('_slug', { 'url': sitemap.slug }) }}" class="sub-footer__info__link">{{ sitemap.title }}</a>{% endif %}
{% endif %}
</p>
<p class="sub-footer__credentials">
<a href="https://www.jamel.pl/?utm_source=www&utm_medium=footer&utm_campaign=gcs" class="sub-footer__credentials__link" rel="noopener" target="_blank"><img src="{{ asset('/frontend/img/general/jamel_logo.svg') }}" alt="Jamel" class="sub-footer__credentials__img"></a>
</p>
</div>
</div>
</section>
</footer>