templates/includes/mobile-nav.html.twig line 1
<div class="mobile-nav" x-show="showMobileNav" x-transition x-cloak>
<div class="mobile-nav__wrap">
<div class="mobile-nav__background">
<svg fill="none" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 375 1047">
<path d="M-337.621 116.309L1764 1329M-337.621 1057.67L1764-155M1765.92 1057.84L-336.001-155M61.853 1329L-336.002-155M61.853 1329V-155M-336.002 1329.9L521.27-155M1764.82 116.781L-336.001 1329M61.853-155l-397.855 1484M61.853-155v1484M-336.002-155.922L521.269 1329" stroke="#00F" stroke-miterlimit="10" />
</svg>
</div>
<div class="mobile-nav__container">
<div class="mobile-nav__header">
<div class="mobile-nav__close" @click="showMobileNav = false">
<svg viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M13.5 2.5L2.5 13.5" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round" />
<path d="M2.5 2.5L13.5 13.5" stroke="currentColor" stroke-miterlimit="10" stroke-linecap="round" stroke-linejoin="round" />
</svg>
</div>
</div>
<nav class="mobile-nav__nav">
{# <!-- Fly-Out Navigation --> #}
{% set flyout = flyout() %}
{% set currentFlyout = (flyout is not empty and flyout[app.request.locale] is defined) ? flyout[app.request.locale] : [] %}
{% set flyoutPages = currentFlyout is not empty ? currentFlyout|keys : [] %}
{% set mainNavigation = sulu_navigation_root_tree('main') %}
{% for item in mainNavigation %}
{% if item.url in flyoutPages %}
{% set flyoutPage = currentFlyout[item.url] %}
{% if flyoutPage['layout'] == 'Layout 1' %}
{% include '/includes/navigation/layout1_mobile.html.twig' %}
{% elseif flyoutPage['layout'] == 'Layout 2' %}
{% include 'includes/navigation/layout2_mobile.html.twig' %}
{% else %}
{% include 'includes/navigation/layout3_mobile.html.twig' %}
{% endif %}
{% else %}
<a class="mobile-nav__link" href="{{ sulu_content_path(item.url, item.webspaceKey) }}" title="{{ item.title }}" >{{ item.title }}</a>
{% endif %}
{% endfor %}
</nav>
</div>
</div>
</div>