@extends('layouts.front.front') {{-- main content --}} @section('content')

Downloads

@if($resources->isNotEmpty())

Filter by

@if($all_product_categories->isNotEmpty()) @foreach($all_product_categories as $key=> $category)
filter && in_array($category->id, request()->category ?? [])) checked @endif class="form-check-input" id="category_{{$category->id}}" name="category[]" value="{{$category->id}}" >
@endforeach @endif

@if($all_brands->isNotEmpty()) @foreach($all_brands as $key => $brand)
filter && in_array($brand->id, request()->brand ?? [])) checked @endif >
@endforeach @endif
  @if(request()->filter) Clear Filter @endif
Found {{$total_count}} results
@if($resources->isNotEmpty()) @foreach($resources as $resource)
product-image
{{$resource->name}}

{{$resource->sub_title}}

@if($resource->files) @if($resource->files->check_file_exist()) @endif @endif
@endforeach @endif
@else

Resources Not Found!

@endif
@endsection @push('js') @endpush