{% import "page/macro/node.html.twig" as node %}
{% import "@default/page/macro/multiLang.html.twig" as multiLang %}
{% block content %}
{% if (app.request.attributes.get('_route') != 'vacancy_detail') %}
<div class="hide-in-pb" data-url="{{ path('applicant_open_modal_snippet') }}"></div>
{% endif %}
<div class="mobile-menu" id="o-wrapper">
<nav id="c-menu--slide-left" class="c-menu c-menu--slide-right">
<div class="head">
<a class="navbar-brand" href="{{ path('homepage') }}"
title="{{ site_company_name|default('Getnoticed') }}">
<img loading="lazy" src="{{ media_asset(config_setting('site_logo')) }}"
alt="{{ site_company_name|default('Getnoticed') }}">
</a>
<button class="c-menu__close navbar-toggle">
<i class="far fa-times"></i>
</button>
</div>
<div class="wrapper">
<ul class="c-menu__items">
<li class="d-lg-none c-menu__item">
<a class="c-menu__link" href="{{ path('vacancies') }}">{{ 'Vacancies'|trans }}</a>
</li>
<li class="d-lg-none c-menu__item">
<a class="c-menu__link" href="{{ path('voor-werkgevers') }}">{{ 'For employers'|trans }}</a>
</li>
{% import "page/macro/mobile_menu.node.html.twig" as mobileNode %}
{% for page in pages %}
{{ mobileNode.nodeLink(page) }}
{% endfor %}
{% if feature('feature_jobalert_menu') %}
<li class="c-menu c-menu__item navbox">
<a href="{{ path('jobalert') }}" data-component="JobAlertModal">
<i class="far fa-bell"></i> {{ 'Job Alert'|trans }}</a>
</li>
{% endif %}
{% if site_translation_locales|length > 1 %}
<li class="extra-menu">
{{ multiLang.languageSelect() }}
</li>
{% endif %}
</ul>
<ul class="user-nav">
<li><a href="#" data-component="XhrFormModal" data-endpoint="{{ path('applicant_open_snippet_headless') }}"
class="is-btn is-btn-outlined-primary is-border-1 is-color-black">
{{ 'Upload CV'|trans }}</a></li>
<li class="is-padding-x-10">
<a class="is-btn is-background-color-primary"
href="{{ path('pages_user_dashboard') }}">
<i class="fal fa-user-alt is-margin-right-10"></i>Mijn MBO Banen
</a>
</li>
</ul>
</div>
</nav><!-- /c-menu slide-left -->
</div>
<div id="c-mask" class="c-mask"></div><!-- /c-mask -->
<header class="fixed d-none d-md-block">
<div class="head-bar">
<div class="container-fluid">
<ul class="secondary-nav">
{% for item in topNavigation %}
{{ node.nodeLink(item) }}
{% endfor %}
</ul>
</div>
</div>
<div class="container-fluid">
<div class="head">
<div class="flex-group">
<div class="d-inline-flex align-items-center">
<a class="navbar-brand" href="{{ path('homepage') }}"
title="{{ site_company_name|default('Getnoticed') }}">
<img loading="lazy" src="{{ media_asset(config_setting('site_logo')) }}"
alt="{{ site_company_name|default('Getnoticed') }}">
</a>
</div>
<nav class="header-nav">
<ul class="d-flex align-items-center">
<li class="d-none d-lg-inline-flex">
<a href="{{ path('vacancies') }}">{{ 'Vacancies'|trans }}</a>
</li>
<li class="d-none d-lg-inline-flex">
<a href="{{ path('voor-werkgevers') }}">{{ 'For employers'|trans }}</a>
</li>
<li data-component="MenuMobile"
class="mobile is-line-height-10 is-margin-left-20 is-margin-left-mobile-0 is-margin-right-40 is-margin-right-mobile-0">
<button type="button" id="c-button--slide-left"
class="navbar-toggle c-button--slide-left d-inline-flex flex-wrap">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</li>
<li><a href="#" data-component="XhrFormModal" data-endpoint="{{ path('applicant_open_snippet_headless') }}"
class="is-btn is-btn-outlined-accent is-border-1 is-color-black is-margin-right-15">
{{ 'Upload CV'|trans }}</a></li>
<li class="is-padding-x-10">
<a class="is-btn is-background-color-primary"
href="{{ path('pages_user_dashboard') }}">
<i class="fal fa-user-alt is-margin-right-10"></i>Mijn MBO Banen
</a>
</li>
</ul>
</nav>
</div>
</div>
</div>
</header>
<!-- mobile header -->
<header class="fixed d-block d-md-none">
<div class="container-fluid">
<div class="head">
<div class="flex-group">
<div data-component="MenuMobile">
<button type="button" id="c-button--slide-left"
class="navbar-toggle c-button--slide-left d-inline-flex flex-wrap">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div class="d-inline-flex align-items-center">
<a class="navbar-brand is-margin-0" href="{{ path('homepage') }}"
title="{{ site_company_name|default('Getnoticed') }}">
<img loading="lazy" src="{{ media_asset(config_setting('site_logo')) }}"
alt="{{ site_company_name|default('Getnoticed') }}">
</a>
</div>
<nav class="header-nav">
<ul class="d-flex align-items-center">
<li><a href="{{ path('user_login') }}"> <i
class="fal fa-user-circle is-font-size-28"></i></a></li>
</ul>
</nav>
</div>
</div>
</div>
</header>
<!-- start search overlay -->
<div class="is-overlay is-overlay--fullscreen search-overlay">
<div class="flex-group">
<form data-component="SearchVacancyBox" action="{{ path('vacancies') }}" method="get">
<div class="form-row">
<div class="col-12">
<div class="input-group">
<div class="icon icon__secondary"><i class="fal fa-search"></i></div>
<input type="text" name="search" class="form-control is-rounded-0 is-padding-left-40"
placeholder="{{ 'Function or keyword'|trans }} ...">
</div>
</div>
</div>
<div class="row">
<div class="flex-group pb-0">
<div class="input-group justify-content-center">
<button class="is-btn is-btn__accent is-btn--search is-btn__responsive" type="submit"
data-settings='{"class": "buttonProps"}'>{{ 'Search'|trans }}
</button>
</div>
</div>
</div>
</form>
<nav class="overlay-close">
<div class="container">
<div class="row">
<div class="flex-group">
<a href="javascript:void(0)" class="close-btn c-align">
<i class="fal fa-times"></i> {{ 'Close'|trans }}
</a>
</div>
</div>
</div>
</nav>
</div>
</div>
<!-- end searchOverlay -->
{% endblock %}