@php $categoryCount = $categories->count(); @endphp
A single directory view with the same spacing and chrome used across the frontend.
{{ number_format($categoryCount, 0, '.', ',') }} categories
{{ $childNames !== '' ? $childNames : 'Open this category to browse available listings and subcategories.' }} @if($extraChildCount > 0) +{{ $extraChildCount }} more @endif