@extends('layouts.frontend')

@section('content')
    @include('frontend.search.products')
    <div class="row">
        <div class="col-md-12 ">
            <h3 class="page-header">
                Liste des produits dans l'industrie
                <small class="pull-right">{{ $products->total() }} produits</small>
            </h3>
        </div>
    </div>
    <div class="row">
        @foreach($products as $product)
            @include('frontend.products._product')
        @endforeach
    </div>
    <div class="row">
        <div class="col-md-12 text-center">
            {{ $products->appends(['q' => $query, 'type' => $type])->links() }}
        </div>
    </div>
@endsection