@extends('layouts.newapp') @section('title', ui('search_title', 'Arama') . (filled($q) ? ' – '.$q : '')) @section('robots', 'noindex, follow') @section('og_type', 'website') @section('content')

{{ ui('search_title', 'Arama') }}

@if(!$searched && filled($q))

{{ ui('search_too_short', 'En az 2 karakter girin.') }}

@elseif($searched && $total === 0)

{{ ui('search_empty', 'Sonuç bulunamadı.') }}

@elseif($searched)

{{ str_replace(':count', (string) $total, ui('search_found', ':count sonuç bulundu.')) }}

@foreach([ 'products' => ui('search_products', 'Ürünler'), 'systems' => ui('search_systems', 'Sistemler'), 'projects' => ui('search_projects', 'Projeler'), 'pages' => ui('search_pages', 'Sayfalar'), 'posts' => ui('search_posts', 'Blog'), ] as $key => $label) @if($results[$key]->isNotEmpty())

{{ $label }}

@endif @endforeach @endif
@endsection