@extends('layouts.frontend')

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