{{-- UI chrome (search box, empty-state, results count, support footer) loaded from lang//help_center.php so buyers can adapt or translate without touching this view. Article titles + bodies still come from HelpCenterPage::articles() — moving those is a follow-up so the knowledge-base content stays editable in one place. Support email is read from config('leadhub.support_email') so buyers set it once in config without editing the view. Static styles live in public/css/views/filament/pages/help-center.css. --}} @php $__supportEmail = config('leadhub.support_email', 'support@yourdomain.com'); @endphp
{{-- Search bar --}}
🔍
@if ($search_term !== '' && $total_count === 0)
🤷

{{ __('help_center.no_match_title') }}

{!! __('help_center.no_match_body', ['term' => '' . e($search_term) . '']) !!}

@endif @if ($search_term !== '' && $total_count > 0)

{!! trans_choice('help_center.result_count', $total_count, [ 'count' => $total_count, 'term' => '' . e($search_term) . '', ]) !!}

@endif @foreach ($grouped as $category => $articles)

{{ $category }}

@foreach ($articles as $article)
{{ $article['title'] }} +
{!! nl2br(e($article['body'])) !!} @if (! empty($article['tags']))
@foreach ($article['tags'] as $tag) #{{ $tag }} @endforeach
@endif
@endforeach
@endforeach {{-- Contact-support fallback --}}