{{-- Shared project grid: the listing page and the AJAX fragment both render this. --}} @php $columns ??= 3; $numbered ??= false; $featureFirst ??= false; @endphp @if ($projects->isEmpty()) {{ __('View all projects') }} @else
$columns === 3, 'sm:grid-cols-2 3xl:grid-cols-3' => $columns === 2, ]) data-reveal-group> @foreach ($projects as $project) @endforeach
@if ($projects instanceof \Illuminate\Contracts\Pagination\LengthAwarePaginator && $projects->hasPages())
{{ $projects->links() }}
@endif @endif