<div class="main-header bg-primary px-4">
    <div class="logo ms-2">
        <a href="{{ url('/') }}">
            <img src="{{ asset('logo.png') }}" alt="" class="p-0 m-0 h-auto w-auto">
        </a>
    </div>

    <div class="menu-toggle">
        <div class="bg-white"></div>
        <div class="bg-white"></div>
        <div class="bg-white"></div>
    </div>

    <div style="margin: auto"></div>

    <div class="header-part-right">
        <div class="d-none d-sm-block me-2">
            <ul class="nav nav-pills" id="myPillTab" role="tablist">
                <li class="nav-item">
                    <a class="nav-link text-white" href="{{ url('/') }}#home">{{ __('Home') }}</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-white" href="{{ url('/') }}#our-mission">{{ __('Our Mission') }}</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-white" href="{{ url('/') }}#opportunity">{{ __('The Opportunity') }}</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-white" href="{{ url('/') }}#compliance">{{ __('Compliance') }}</a>
                </li>
                <li class="nav-item">
                    <a class="nav-link text-white" href="{{ url('/') }}#about-us">{{ __('About Us') }}</a>
                </li>
            </ul>
        </div>

        <!-- User avatar dropdown -->
        @isset(Auth::user()->id)
            {{--<div class="dropdown">
                <div class="user col align-self-end">
                    <img src="{{ asset('frontend/images/faces/1.jpg') }}" id="userDropdown" alt=""
                         data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">

                    <div class="dropdown-menu dropdown-menu-right" aria-labelledby="userDropdown">
                        <a href="{{ url('profile') }}" class="dropdown-item">{{ __('My Profile') }}</a>
                        <a href="{{ url('member/dashboard') }}" class="dropdown-item">{{ __('Dashboard') }}</a>
                        <a href="{{ url('logout') }}" class="dropdown-item">{{ __('Logout') }}</a>
                    </div>
                </div>
            </div>--}}
            <a href="{{ url('member/dashboard') }}" class="btn btn-light bg-white text-primary me-2">{{ __('Dashboard') }} </a>
        @else
            <a href="{{ url('login') }}" class="btn btn-light bg-white text-primary me-2"> <i class="bi bi-box-arrow-in-right me-1"></i> {{ __('Sign in') }} </a>
            <a href="{{ url('register') }}" class="btn btn-light bg-white text-primary me-2"> <i class="bi bi-r-circle me-1"></i> {{ __('Register') }} </a>
        @endisset
    </div>
</div>

<div class="horizontal-bar-wrap d-block d-sm-none">
    <div class="header-topnav">
        <div class="container-fluid">
            <div class="topnav rtl-ps-none ps ps--active-y" id="" data-perfect-scrollbar="" data-suppress-scroll-x="true">
                <ul class="menu float-left">
                    <li class="nav-item">
                        <a class="nav-link text-dark" href="{{ url('/') }}#home">{{ __('Home') }}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-dark" href="{{ url('/') }}#our-mission">{{ __('Our Mission') }}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-dark" href="{{ url('/') }}#opportunity">{{ __('The Opportunity') }}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-dark" href="{{ url('/') }}#compliance">{{ __('Compliance') }}</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link text-dark" href="{{ url('/') }}#about-us">{{ __('About Us') }}</a>
                    </li>
                </ul>
            </div>
        </div>
    </div>
</div>
