{# get the document which should be used to start in navigation | default home #}
{% set navStartNode = document.getProperty('navigationRoot') %}
{% if not navStartNode is instanceof('\\Pimcore\\Model\\Document\\Page') %}
{% set navStartNode = pimcore_document(1) %}
{% endif %}
{% set mainNavigation = pimcore_build_nav({
active: document,
root: navStartNode
}) %}
<div class="container items-center hidden h-full lg:flex">
{# include a document-snippet - in this case the navigationSnippet #}
{{ pimcore_inc(document.getProperty('navigationSnippet')) }}
{# #}{# later you can render the navigation #}
{# {{ pimcore_render_nav(mainNavigation) }}#}
</div>