<div class="nav-header">
<div class="content text-xl font-bold">
{{ 'app.ui.mobile_menu.account'|trans }}
</div>
<span class="material-symbols-outlined mobile-account-sidebar-trigger">close</span>
</div>
<div class="ui divider"></div>
<div class="mobile-menu">
{% set vendor = app.user.customer.organizationVendor|default(null) %}
{% set accountMenu = knp_menu_render('sylius.shop.account', {'template': '@SyliusShop/Menu/mobile.html.twig'}) %}
{% set buyerMenu = knp_menu_render('app.buyer.menu', {'template': '@SyliusShop/Menu/mobile.html.twig', 'opened': true}) %}
{% set organizationMenu = knp_menu_render('app.organization.menu', {'template': '@SyliusShop/Menu/mobile.html.twig'}) %}
{% set vendorMenu = knp_menu_render('open_marketplace.core.vendor.menu', {'template': '@SyliusShop/Menu/mobile.html.twig', 'opened': true}) %}
{% if null == vendor %}
{{ buyerMenu|raw }}
{{ organizationMenu|raw }}
{{ accountMenu|raw }}
{{ vendorMenu|raw }}
{% else %}
{{ vendorMenu|raw }}
{{ buyerMenu|raw }}
{{ organizationMenu|raw }}
{{ accountMenu|raw }}
{% endif %}
</div>