@if($brands && $brands->count() > 0)
    <ul class="nav flex-column gap-2 pt-sm-3 pb-3 pb-sm-0 mt-n1 mb-1 mb-sm-0">
                                        
        @foreach($brands as $index => $brand)
           <li class="d-flex w-100 pt-1">
                
                 <a class="nav-link animate-underline animate-target d-inline fw-normal text-truncate p-0"
                                                href="{{ route('product.index',['filter[brand_id]'=>$brand->id]) }}">{{ $brand->name }}</a>
            </li>
            
        @endforeach
    </ul>
@endif