@include('layouts.admin.logo')

<ul class="metismenu" id="menu">
    <li>
        <div class="side_bar_top">
            <img src="{{ asset('' . Auth::user()->photo) }}" alt="profile pic">
            <h6>{{ Auth::user()->name }}</h6>
        </div>
    </li>
    <li>
        <a href="/admin">
            <div class="parent-icon"><i class="zmdi zmdi-view-dashboard"></i></div>
            <div class="menu-title">Dashboard</div>
        </a>
    </li>

    <li>
        <a class="has-arrow" href="#">
            <div class="parent-icon"><i class="zmdi zmdi-globe-alt"></i></div>
            <div class="menu-title">Website Management</div>
        </a>
        <ul class="">
            <li>
                <a href="{{ route('admin_frontend_banner') }}"><i class="zmdi zmdi-dot-circle-alt"></i> Banner</a>
            </li>
            <li>
                <a href="{{ route('admin_frontend_aboutus') }}"><i class="zmdi zmdi-dot-circle-alt"></i> About Us</a>
            </li>
            <li>
                <a href="{{ route('admin_frontend_welcome') }}"><i class="zmdi zmdi-dot-circle-alt"></i> Welcome
                    Information</a>
            </li>
            <li>
                <a href="{{ route('admin_frontend_choose') }}"><i class="zmdi zmdi-dot-circle-alt"></i>Choose
                    Section</a>
            </li>
            <li>
                <a href="{{ route('admin_frontend_trusted') }}"><i class="zmdi zmdi-dot-circle-alt"></i>Trusted
                    Section</a>
            </li>
            <li>
                <a href="{{ route('admin_frontend_emergencycase') }}"><i class="zmdi zmdi-dot-circle-alt"></i>Emergency
                    Case Section</a>
            </li>
            <li>
                <a href="{{ route('admin_frontend_contactinformation') }}"><i class="zmdi zmdi-dot-circle-alt"></i>
                    Contact Information</a>
            </li>
        </ul>
    </li>

    <li class="menu-label">Extra</li>
    <li>
        <a href="/hms" target="_blank">
            <div class="parent-icon"><i class="zmdi zmdi-globe"></i></div>
            <div class="menu-title">Visit Manamement</div>
        </a>
    </li>
    <li>
        <a href="/" target="_blank">
            <div class="parent-icon"><i class="zmdi zmdi-globe"></i></div>
            <div class="menu-title">Visit Web Site</div>
        </a>
    </li>
    <li>
        <a href="{{ route('logout') }}"
            onclick="event.preventDefault(); document.getElementById('logout-form').submit();">
            <div class="parent-icon"><i class="zmdi zmdi-power-off"></i></div>
            <div class="menu-title">Logout</div>
        </a>
    </li>
    <form id="logout-form" action="{{ route('logout') }}" method="POST" style="display: none;">
        @csrf
    </form>
</ul>
