@php $seoTitle = 'Search • Vortex Sky X Wiki'; $seoDescription = $q !== '' ? ('Search results for "' . $q . '" on Vortex Sky X Wiki.') : 'Search the Vortex Sky X Wiki database.'; @endphp {{ $seoTitle }} @include('wiki.partials.seo', [ 'title' => $seoTitle, 'description' => $seoDescription, 'type' => 'website', 'robots' => 'noindex, follow', 'game' => $game ?? null, ]) @vite(['resources/css/app.css', 'resources/js/app.js']) @include('wiki.partials.header', ['databaseMenu' => $databaseMenu])

{{ __('Search Results') }}

@if($q === '')

{{ __('Type a search term in the top bar.') }}

@elseif($results->total() === 0)

{{ __('No results found for ":query".', ['query' => $q]) }}

@else
{{ __('Name') }}
{{ __('Section') }}
{{ __('Game') }}
@foreach($results as $row)
{{ $row['name'] }}
{{ ucfirst((string) ($row['section'] ?? '-')) }}
{{ $row['game'] ?? '-' }}
@endforeach
@if($results->lastPage() > 1) @endif @endif