<header
    id="header"
    class="header-1 @yield('header_class', setting()->getHeaderClass())"
    itemscope
    itemtype="http://schema.org/LocalBusiness"
>
    {{-- Header Middle--}}
    <div class="header-middle">
        <nav class="navbar navbar-expand-lg">
            <div class="container flex-wrap">

                {{-- Logo --}}
                <a id="header-logo"
                   class="navbar-brand"
                   href="{{ url('/') }}"
                   itemprop="image" itemscope
                   itemtype="http://schema.org/ImageObject"
                >
                    <img class="header-logo"
                         alt="{{ setting('client::company.name') }}"
                         src="{{ setting('theme::logo.default') }}"
                         itemprop="url"
                         data-content="{{ setting('theme::logo.default') }}"
                    >
                </a>

                {{-- Burger Menu --}}
                <button class="navbar-toggler border-0"
                        type="button"
                        data-bs-toggle="collapse"
                        data-bs-target="#navbarNavDropdown"
                        aria-controls="navbarNavDropdown"
                        aria-expanded="false"
                        aria-label="Toggle navigation"
                >
                    <i class="fas fa-bars"></i>
                </button>

                {{-- Main Menu --}}
                <div class="collapse navbar-collapse justify-content-end" id="navbarNavDropdown">
                    <ul class="navbar-nav">
                        @includeIf('menu::frontend.partials.main_menu', ['key' => 'main_menu'])
                    </ul>
                </div>

            </div>
        </nav>
    </div>

</header>
