<nav class="bg-white dark:bg-neutral-600 w-full border-b border-gray-200 dark:border-gray-600">
<div class="max-w-screen-xl flex flex-wrap items-center justify-between mx-auto p-4">
<a href="{{ path('index') }}" class="flex items-center">
<img src="{{ asset('photos/art-palette.svg') }}" class="mr-3 h-6 sm:h-12" alt="Логотип галереи художника Николая Макарова"/>
<span class="self-center text-xl font-semibold whitespace-nowrap dark:text-neutral-200 hidden md:block">Makarov Gallery</span>
</a>
<div class="flex md:order-2">
{% include 'includes/switchMode.html.twig' %}
<button data-collapse-toggle="navbar-sticky" type="button" aria-label="Открыть главное меню" class="inline-flex items-center p-2 text-sm text-gray-500 rounded-lg md:hidden hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-gray-200 dark:text-gray-400 dark:hover:bg-gray-700 dark:focus:ring-gray-600" aria-controls="navbar-sticky" aria-expanded="false" id="navbar-toggle">
<span class="sr-only">Open main menu</span>
<svg class="w-6 h-6" aria-hidden="true" fill="currentColor" viewbox="0 0 20 20" xmlns="http://www.w3.org/2000/svg">
<path fill-rule="evenodd" d="M3 5a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 10a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1zM3 15a1 1 0 011-1h12a1 1 0 110 2H4a1 1 0 01-1-1z" clip-rule="evenodd"></path>
</svg>
</button>
</div>
<div class="relative items-center justify-between hidden w-full md:flex md:w-auto md:order-1" id="navbar-sticky">
<ul class="absolute top-full left-0 mt-4 p-4 md:p-0 font-medium border border-gray-100 rounded-b-lg bg-gray-50 md:flex-row md:space-x-8 md:mt-0 md:border-0 md:bg-white dark:bg-gray-800 md:dark:bg-neutral-600 dark:border-gray-700 z-10 w-full md:relative md:flex md:space-x-4" id="navbar-menu">
<li>
<a href="{{ path('index') }}" class="block py-2 ml-4 pr-4 rounded hover:bg-gray-100 md:hover:bg-transparent {{ app.request.pathinfo == path('index') ? 'text-blue-700 dark:text-blue-500 md:dark:text-blue-500' : 'text-gray-900 md:hover:text-blue-700' }} md:p-0 md:dark:hover:text-blue-500 dark:text-neutral-200 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700" aria-label="Главная страница галереи Николая Макарова">Главная</a>
</li>
<li>
<a href="{{ path('about_me') }}" class="block py-2 ml-4 pr-4 rounded hover:bg-gray-100 md:hover:bg-transparent {{ app.request.pathinfo == path('about_me') ? 'text-blue-700 dark:text-blue-500 md:dark:text-blue-500' : 'text-gray-900 md:hover:text-blue-700' }} md:p-0 md:dark:hover:text-blue-500 dark:text-neutral-200 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700" aria-label="О художнике Николае Макарове">Обо мне</a>
</li>
<li>
<a href="{{ path('photo_gallery') }}" class="block py-2 ml-4 pr-4 rounded hover:bg-gray-100 md:hover:bg-transparent {{ app.request.pathinfo == path('photo_gallery') ? 'text-blue-700 dark:text-blue-500 md:dark:text-blue-500' : 'text-gray-900 md:hover:text-blue-700' }} md:p-0 md:dark:hover:text-blue-500 dark:text-neutral-200 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700" aria-label="Галерея картин Николая Макарова">Картины</a>
</li>
<li>
<a href="{{ path('app_posts') }}" class="block py-2 ml-4 pr-4 rounded hover:bg-gray-100 md:hover:bg-transparent {{ app.request.pathinfo == path('app_posts') ? 'text-blue-700 dark:text-blue-500 md:dark:text-blue-500' : 'text-gray-900 md:hover:text-blue-700' }} md:p-0 md:dark:hover:text-blue-500 dark:text-neutral-200 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700" aria-label="Статьи и публикации о живописи">Посты</a>
</li>
<li>
<a href="{{ path('contact') }}" class="block py-2 ml-4 pr-4 rounded hover:bg-gray-100 md:hover:bg-transparent {{ app.request.pathinfo == path('contact') ? 'text-blue-700 dark:text-blue-500 md:dark:text-blue-500' : 'text-gray-900 md:hover:text-blue-700' }} md:p-0 md:dark:hover:text-blue-500 dark:text-neutral-200 dark:hover:bg-gray-700 dark:hover:text-white md:dark:hover:bg-transparent dark:border-gray-700" aria-label="Контактная информация">Контакты</a>
</li>
</ul>
</div>
</div>
</nav>
<!-- JSON-LD structured data for Navigation -->
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "WebSite",
"url": "https://www.makarovgallery.ru",
"name": "Галерея художника Николая Макарова",
"potentialAction": {
"@type": "SearchAction",
"target": "https://www.makarovgallery.ru/search?query={search_term_string}",
"query-input": "required name=search_term_string"
},
"mainEntity": {
"@type": "ItemList",
"itemListElement": [
{
"@type": "ListItem",
"position": 1,
"name": "Главная",
"url": "https://www.makarovgallery.ru/"
},
{
"@type": "ListItem",
"position": 2,
"name": "Обо мне",
"url": "https://www.makarovgallery.ru/about"
},
{
"@type": "ListItem",
"position": 3,
"name": "Картины",
"url": "https://www.makarovgallery.ru/gallery"
},
{
"@type": "ListItem",
"position": 4,
"name": "Посты",
"url": "https://www.makarovgallery.ru/posts"
},
{
"@type": "ListItem",
"position": 5,
"name": "Контакты",
"url": "https://www.makarovgallery.ru/contact"
}
]
}
}
</script>