templates/website/parts/header.html.twig line 1
<div class="mobile-menu d-none zIndex" id="mobile-navigation"><div class="navigation-header"><div class="ticket-buy"><div class="buy-ticket-wrapper"><a href="{{ path('page_tickets') }}"><img style="width: 170px" src="{{ asset('static_images/buyTicket.png') }}" alt="buyTicket"><span>{{'Գնել Տոմս'|trans}}</span></a></div></div><div class="close-button" id="close-button"><i class="fas fa-times"></i></div></div><div class="navigation-body"><div class="navigation-list">{% for menu in get_menu() %}<div class="dropdown {{ menu.url }}_dropdown"><a class="btn btn-secondary dropdown-toggle {{ menu.url in app.request.requestUri ? 'active' : '' }}" href="/{{ app.request.locale }}/{{ menu.url }}" role="button" id="aboutUsDropdown"data-bs-toggle="dropdown" aria-expanded="false"><span class="btn-item">{{ menu.title }}</span>{% if menu.childMenu|length > 0 %} <i class="fas fa-chevron-down"></i>{% endif %}</a>{% if menu.childMenu|length > 0 %}<ul class="dropdown-menu" aria-labelledby="dropdownMenuLink">{% for child in menu.childMenu|sort((a, b) => a.position <=> b.position) %}{% if child.showInHeader %}<li class="{{ child.url in app.request.requestUri ? 'active' : '' }}"><a class="dropdown-item btn-item" href="/{{ app.request.locale }}/{{ child.url }}">{{ child.title }}</a></li>{% endif %}{% endfor %}</ul>{% endif %}</div>{% endfor %}</div></div><div class="navigation-footer"><div class="social-icons">{% if get_socials().instagram is not empty %}<div class="circle-icon"><a target="_blank" class="d-flex" href="{{ get_socials().instagram.url }}"><i class="fab fa-instagram"></i></a></div>{% endif %}{% if get_socials().facebook is not empty %}<div class="circle-icon"><a target="_blank" class="d-flex" href="{{ get_socials().facebook.url }}"><i class="fab fa-facebook-f"></i></a></div>{% endif %}{% if get_socials().linkedin is not empty %}<div class="circle-icon"><a target="_blank" class="d-flex" href="{{ get_socials().linkedin.url }}"><i class="fab fa-linkedin-in"></i></a></div>{% endif %}{% if get_socials().youtube is not empty %}<div class="circle-icon"><a target="_blank" class="d-flex" href="{{ get_socials().youtube.url }}"><i class="fab fa-youtube"></i></a></div>{% endif %}{% if get_socials().tiktok is not empty %}<div class="circle-icon"><a target="_blank" class="d-flex" href="{{ get_socials().tiktok.url }}"><i class="fab fa-tiktok"></i></a></div>{% endif %}{% if get_socials().tripadvisor is not empty %}<div class="circle-icon"><a target="_blank" class="d-flex align-items-center" href="{{ get_socials().tripadvisor.url }}">{{ svg('public/static_images/svg/tripadvisor.svg')|raw }}</a></div>{% endif %}</div></div></div>{% if app.request.attributes.get('_route') != 'page_tickets' and app.request.attributes.get('_route') != 'page_ticket' and 'charity' not in app.request.pathInfo%}<div class="fixed-wrapper-ticket"><a href="{{ path('page_tickets') }}"><div class="buy-ticket-wrapper"><img style="width: 170px" src="{{ asset('static_images/buyTicket.png') }}" alt="buyTicket"><span>{{'Գնել Տոմս'|trans}}</span></div></a></div>{% endif %}<div class="my-container-fluid zIndex"><div class="wrapper-navbar"><div class="bar"><div class="nav-item wrapper-language"><a class="language {% if app.request.get('_locale') == 'hy' %} active{% endif %}" href="{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'hy'})) }}"><span class="language {% if app.request.get('_locale') == 'hy' %} active{% endif %}"> ARM</span></a><a class="language {% if app.request.get('_locale') == 'en' %} active{% endif %}" href="{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'en'})) }}"><span > ENG</span></a><a class="language {% if app.request.get('_locale') == 'ru' %} active{% endif %}" href="{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'ru'})) }}"><span > RU</span></a></div><div class="nav-item wrapper-language-mobile">{% if app.request.get('_locale') == 'hy'%}<span class="language {% if app.request.get('_locale') == 'hy' %} active{% endif %}"> ARM</span>{% endif %}{% if app.request.get('_locale') == 'en'%}<span class="language {% if app.request.get('_locale') == 'en' %} active{% endif %}"> ENG</span>{% endif %}{% if app.request.get('_locale') == 'ru'%}<span class="language {% if app.request.get('_locale') == 'ru' %} active{% endif %}"> RU</span>{% endif %}<div class="mobile-lang-wrapper">{% if app.request.get('_locale') != 'hy'%}<a href="{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'hy'})) }}"><span class="language {% if app.request.get('_locale') == 'hy' %} active{% endif %}"> ARM</span></a>{% endif %}{% if app.request.get('_locale') != 'en'%}<a href="{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'en'})) }}"><span class="language {% if app.request.get('_locale') == 'en' %} active{% endif %}"> ENG</span></a>{% endif %}{% if app.request.get('_locale') != 'ru'%}<a href="{{ path(app.request.get('_route'), app.request.get('_route_params')|merge({'_locale': 'ru'})) }}"><span class="language {% if app.request.get('_locale') == 'ru' %} active{% endif %}"> RU</span></a>{% endif %}</div></div><div class="nav-item wrapper-phone"><span class="phone-circle"><i class="fas fa-phone"></i></span><span class="phone-number"><a href="tel:{{ get_contacts().phone|striptags }}">{{ get_contacts().phone|raw }}</a></span></div><div class="nav-item wrapper-logo"><a href="{{ path('page_home') }}"><img src="{{ asset('static_images/logos/logo.png')}}" alt="logo"></a></div><div class="nav-item wrapper-register"><span class="user-circle">{% if app.user %}<a class="text-white" href="{{ path('page_profile') }}">{{ app.user.email|slice(0,1) }}</a>{% else %}<a class="color-darkblue" href="{{ path('app_register') }}"><i class="fas fa-user"></i></a>{% endif %}</span><span class="register-text">{% if app.user %}{# {{ app.user.firstName ~ user.lastname }} #}<a href="{{ path('page_profile') }} ">{{ app.user.email }}</a>{% else %}<a class="color-darkblue" href="{{ path('app_register') }}"> {{ 'Գրանցվել Հիմա'|trans }}</a>{% endif %}</span></div><div class="nav-item wrapper-ticket"><a href="{{ path('page_tickets') }}"><div class="buy-ticket-wrapper"><img style="width: 170px" src="{{ asset('static_images/buyTicket.png') }}" alt="buyTicket"><span>{{'Գնել Տոմս'|trans}}</span></div><img class="ticket-hover" src="{{ asset('static_images/ticket-hover.png') }}" alt="ticket"></a></div><div class="nav-item wrapper-menu" id="menu"><i class="fas fa-bars"></i></div></div></div><div class="head-working-hours">{{ get_contacts().working|raw }}</div><div class="navigation">{% for menu in get_menu() %}<div class="dropdown {{ menu.url }}_dropdown"><a href="/{{ app.request.locale }}/{{ menu.url }}" data-mdb-button-initdata-mdb-ripple-init data-mdb-dropdown-initclass="btn btn-primary dropdown-toggle {% if menu.childMenu|length > 0 %} hasChild{% endif %} {{ menu.url in app.request.requestUri ? 'active' : '' }}"type="button"id="dropdownMenuButton"data-mdb-toggle="dropdown"aria-expanded="false">{{ menu.title }}</a>{% if menu.childMenu|length > 0 %}<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton">{% for child in menu.childMenu|sort((a, b) => a.position <=> b.position) %}{% if child.showInHeader %}<li class="{{ child.url in app.request.requestUri ? 'active' : '' }}"><a class="dropdown-item"href="/{{ app.request.locale }}/{{ child.url }}">{{ child.title }}</a></li>{% endif %}{% endfor %}</ul>{% endif %}</div>{% endfor %}</div></div><script type="text/javascript">document.querySelectorAll('.btn-item').forEach((btn) => {btn.addEventListener('click', function() {window.location.href =document.getElementById('mobile-navigation').classList.add('d-none')});})document.querySelectorAll('#mobile-navigation .btn-item').forEach((btn) => {btn.addEventListener('click', function() {window.location.href = btn.parentElement.getAttribute('href')document.getElementById('mobile-navigation').classList.add('d-none')});})document.getElementById('menu').addEventListener('click',function () {if (document.getElementById('mobile-navigation').classList.contains('d-none')){document.body.style.overflow = 'hidden';}})document.getElementById('close-button').addEventListener('click',function () {document.body.style.overflow = 'auto';})</script>