<li class="nav__item current-page">
    <a href="{{ url($header->link) }}" class="nav__link @if(request()->url()==url($header->link)  ) active_nav @else @endif">{{ $header->name }}</a>

    @if ($header->hasChildren())
    <ul class="sub-menu">
        @foreach ($header->children->orderBy('position', 'asc') as $child)
        @if ($child->status == 1)
        @include('components.nav-footer.nav_item', ['header' => $child])
        @endif
        @endforeach
    </ul>
    @endif
</li>
{{-- <a wire:navigate href="http://quintpros.com/public{{ $header->link }}" class="nav__link">{{ $header->name }}</a> --}}
<style>
.nav__item .active_nav{
    color: #F35923 !important;
    border-bottom:2px solid #EF902F !important;
}
</style>
