@php $lc = \App\Support\Hints::locale(); $areas = $this->getAreas(); $grouped = $this->getGrouped(); $user = auth()->user(); @endphp
{{ __('Sugestii pe pagini:') }}
@csrf
@csrf
@if (empty($grouped))
{{ __('Nicio potrivire pentru „:q".', ['q' => $search]) }}
@endif @foreach ($grouped as $areaKey => $hints) @php $area = $areas[$areaKey] ?? null; @endphp
{{ $area['icon'] ?? '📖' }} {{ $area['label'][$lc] ?? $areaKey }} ({{ count($hints) }})
@foreach ($hints as $key => $h)
{{ $h['title'][$lc] ?? $h['title']['ro'] }}
{{ $h['body'][$lc] ?? $h['body']['ro'] }} @if (! empty($h['next'][$lc]))
→ {{ $h['next'][$lc] }}
@endif @if (! empty($h['links'])) @endif
@endforeach
@endforeach