@if( 0 < $totalcount = count($dynamicPage) + count($corporate) + count($projects) + count($services) + count($blogs) + count($tags) )
{!! trans('front.search.found', [ 'search_word'=>$search_word, 'total_count' => $totalcount ]) !!}
@else
{!! trans('front.search.not_found', [ 'search_word'=>$search_word ]) !!}
@endif
@if(count($dynamicPage)>0)
{{ trans('front.dynamicpage.pages') }} ({{ count($dynamicPage) }})
@foreach($dynamicPage as $page)
{{ Illuminate\Support\Str::limit(strip_tags(htmlspecialchars_decode($page->text)),120) }}
@endforeach
@endif
@if(count($corporate)>0)
{{ trans('front.corporate.corporate') }} ({{ count($corporate) }})
@foreach($corporate as $page)
{{ Illuminate\Support\Str::limit($page->perex,120) }}
@endforeach
@endif
@if(count($projectCategories)>0)
{{ trans('admin.project-category.title') }} ({{ count($projectCategories) }})
@foreach($projectCategories as $page)
{{ Illuminate\Support\Str::limit($page->perex,120) }}
@endforeach
@endif
@if(count($serviceCategories)>0)
{{ trans('admin.service-category.title') }} ({{ count($serviceCategories) }})
@foreach($serviceCategories as $page)
{{ Illuminate\Support\Str::limit($page->perex,120) }}
@endforeach
@endif
@if(count($projects)>0)
{{ trans('front.projects.projects') }} ({{ count($projects) }})
@foreach($projects as $page)
{{ Illuminate\Support\Str::limit($page->perex,120) }}
@endforeach
@endif
@if(count($services)>0)
{{ trans('front.services.services') }} ({{ count($services) }})
@foreach($services as $page)
{{ Illuminate\Support\Str::limit($page->perex,120) }}
@endforeach
@endif
@if(count($tags)>0)
{{ trans('front.blogs.tags') }} ({{ count($tags) }})
@endif
@if(count($blogs)>0)
{{ trans('front.blogs.blogs') }} ({{ count($blogs) }})
@foreach($blogs as $page)
{{ Illuminate\Support\Str::limit($page->perex,120) }}
@endforeach
@endif
{{-- {{ optional($dynamicPage ?? '')->links('layouts.paginate') }}--}}