@extends('layouts.frontend')

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