@extends('layouts.frontend')

@section('content')
    <ol class="breadcrumb">
        <li><a href="{{ route('trends.index') }}">Projets</a></li>
        <li class="active">{{ $category->name }}</li>
    </ol>

    <div class="row">
        <div class="col-md-12 ">
            <h3 class="page-header">
                {{ $category->name }}
                <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->links() }}
        </div>
    </div>
@endsection