@extends('a1.layout', ['cur' => $key]) @section('content') @php use App\Support\Rub; $ext = Rub::external($key); $base = Rub::url($key); @endphp
@ic($r['icon'])

{{ $r['label'] }}

{{ $r['desc'] }}

{{ $items->total() }} annonce{{ $items->total() > 1 ? 's' : '' }}
@if ($ext) @endif
@ic('search')
@ic('pin')
@ic('down')
@if ($filters['cat'])@endif @ic('plus')Déposer une annonce
@if ($pills) @php $qs = fn ($cat) => $base . '?' . http_build_query(array_filter(['q' => $filters['q'], 'city' => $filters['city'], 'sort' => $filters['sort'] !== 'new' ? $filters['sort'] : null, 'cat' => $cat])); @endphp
Toutes @foreach ($pills as $value => $label) {{ $label }} @endforeach
@endif @if ($items->isEmpty())

Aucune annonce ne correspond

Essayez une autre ville ou retirez un filtre.

@else
@foreach ($items as $i => $c) @include('a1.partials.card', ['c' => $c]) @if (($i + 1) % 6 === 0 && $i + 1 < $items->count())
@include('a1.partials.adrow', ['idx' => intdiv($i + 1, 6)])
@endif @endforeach
{{ $items->links('a1.partials.pagination') }} @endif
@include('a1.partials.adrow', ['idx' => 99])
@endsection