<ul>
<li class="hidden lg:inline-block menu-casestudy">
{% if study is defined and study %}
<a href="{{ generatePath( app.request, study.linkedPageId, {'study_slug' : study.slug } ) }}">
<img class="mb-2 menu-featured" src="{{ imageCache('/' ~ study.fullImagePath, 'zoomCrop', 520, 320) }}" width="260" height="160" alt="{{ study.title }}" loading="lazy" />
<h6 class="mb-2">Featured Case Study</h6>
<img class="max-w-[75%] max-h-[70px] h-auto menu-logo" src="{{ imageCache('/' ~ study.client.getFullImagePath, 'cropResize', 760, 380) }}" loading="lazy" alt="Menu Image" />
</a>
{% endif %}
</li>
{% for item in menu %}
<li>
<a href="{{ item.slug }}" class="{{ item.slug == currentUrl ? 'active' : '' }}" {% if item.new_window %}target="_blank"{% endif %}>{{ item.navtitle }}</a>
{% if item.children is defined and item.children|length > 0 %}
{% include "@theme/common/menu.html.twig" with { 'menu' : item.children, 'currentUrl' : currentUrl } only %}
{% endif %}
{% if item.isdynamic and item.dynamic_items|length > 0 %}
<ul>
{% for item in item.dynamic_items %}
<li>
<a href="{{ item.slug }}">{{ item.navtitle }}</a>
{% if item.children is defined and item.children|length > 0 %}
<ul>
{% for child in item.children %}
<li>
<a href="{{ child.slug }}">{{ child.navtitle }}</a>
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>
{% endif %}
</li>
{% endfor %}
</ul>