{% if getSiteLogo() %}
{% endif %}
{# Display only for Ai-growth Client #}
{% if app.request.server.get('WHITE_LABLE_CLIENT') == "ai_growth" %}
{##}
{% endif %}
{% for menuSetting in getMenuSettings() %}
{% if menuSetting.isMainNav and menuSetting.isActive %}
{% set isExternal = menuSetting.url starts with 'http' %}
{% set isInternalRoute = not isExternal and menuSetting.url is not empty and menuSetting.url != '#' %}
{% set isActive = isInternalRoute and app.request.attributes.get('_route') == menuSetting.url %}
{% set url = '#' %}
{% if isExternal %}
{% set url = menuSetting.url %}
{% elseif isInternalRoute %}
{% set url = path(menuSetting.url) %}
{% endif %}
{% set name = menuSetting.name|lower %}
{% if menuSetting.isPublicNav and not app.user %}
{{ name|capitalize }}
{% elseif not menuSetting.isPublicNav %}
{{ name|capitalize }}
{% endif %}
{% endif %}
{% endfor %}
{% if getSwitchToUser() %}
{% set savedQueryParams = app.session.get('saved_query_params', {}) %}
Back to Admin
{% endif %}