{{-- /guidebook — list view, mirroring the prototype at D:\wadesk_2806\whatsnap\tutot (3)\guidebook.html. Sub-header breadcrumb + 2-column layout (sidebar | search+cards grid). No inline JS — category filtering is a server-side GET via ?category=… and search is a GET form on ?q=… so each click is a full page load. --}} {{-- Sub header --}}
{{ __('More / Guidebook') }}
{{ __('Guidebook') }} & {{ __('help articles') }}
@include('user.guidebook._sidebar', ['activeCat' => $catSlug])
{{-- Search + popular row --}}
@if ($catSlug) @endif
{{ __('Popular') }} @foreach (['Why was my template rejected?', 'Best send time per region', 'Verify a webhook signature', 'Stuck queued message'] as $pop) {{ $pop }} @endforeach
{{-- Section title --}}

{{ $catSlug ?: __('All articles') }}

{{ $articles->count() }} {{ \Illuminate\Support\Str::plural('article', $articles->count()) }}
@if ($articles->isEmpty())
{{ __('No articles match.') }}
{{ __('Try a different keyword or pick a different category.') }}
@else
@foreach ($articles as $a) @php $words = str_word_count(strip_tags((string) $a->body)); $readMin = max(1, (int) ceil($words / 200)); @endphp
{{ $a->category }} {{ $readMin }} {{ __('min read') }}

{{ $a->title }}

@if ($a->excerpt)

{{ $a->excerpt }}

@endif {{ __('Read article') }}
@endforeach
@endif