@extends('client.layouts.app') @section('title', __('messages.knowledge_base') . ' — Recherche') @section('styles') @endsection @section('content') @php $locale = strtolower(app()->getLocale()); $articleRows = collect($articles ?? []); @endphp
@if($locale==='ar') نتائج البحث عن: @elseif($locale==='en') Results for: @else Résultats pour : @endif "{{ $search }}" — {{ $articleRows->count() }} @if($locale==='ar') نتيجة @elseif($locale==='en') result(s) @else résultat(s) @endif
{{ \Illuminate\Support\Str::limit(strip_tags($article->body ?? ''), 160) }}
@if($locale==='ar') حاول البحث بكلمات مختلفة أو أوسع. @elseif($locale==='en') Try different or broader keywords. @else Essayez d'autres mots-clés ou termes plus généraux. @endif
@if($locale==='ar') العودة @elseif($locale==='en') Back @else Retour @endif