@include('nn_site.partials.header')
    
    <section class="section search-results">
        <div class="container">
            <div class="row">
                @if (count($items))
                    <div class="col-md-12">
                        <h1>{{$translate->searchedResults}}</h1>
                        <ul>
                            @foreach ($items as $item)
                                @foreach ($item['searchedItems'] as $sItem)
                                    @php($searchedItemUrl = $item['slug'] != 'career' ? $item['slug'].$sItem->slug : 'career')
                                    <li><a href="{{fullUrl($searchedItemUrl)}}">{{ $sItem->name }}</a></li>
                                @endforeach
                            @endforeach
                        </ul>
                    </div>
                    <!-- /.col-md-12 -->
                @else
                    <div class="col-md-12 mb-5">
                    <div class="alert alert-danger">
                        {{$translate->notSearchResults}}
                    </div>
                    <!-- /.alert alert-danger -->
                    </div>
                    <!-- /.col-md-12 -->
                @endif
            </div>
            <!-- /.row -->
        </div>
        <!-- /.container -->
    </section>

@include('nn_site.partials.footer')