<x-layouts.app :title="__('rankings.details').' — TrafficPumper'"><x-customer-shell><nav><ol class="breadcrumb"><li class="breadcrumb-item"><a href="{{route('rankings.index')}}">{{__('rankings.title')}}</a></li><li class="breadcrumb-item"><a href="{{route('rankings.keywords.show',$check->keyword)}}">{{$check->keyword->phrase}}</a></li><li class="breadcrumb-item active">{{__('rankings.details')}}</li></ol></nav><header class="tp-page-header"><div><p>{{$check->keyword->project->name}}</p><h1>{{__('rankings.details')}}</h1><span>{{$check->checked_at?->translatedFormat('d M Y H:i')}}</span></div></header><div class="tp-two-columns"><section class="tp-panel"><dl class="tp-detail-list"><div><dt>{{__('rankings.keyword')}}</dt><dd>{{$check->keyword->phrase}}</dd></div><div><dt>{{__('rankings.project')}}</dt><dd>{{$check->keyword->project->name}}</dd></div><div><dt>{{__('rankings.rank')}}</dt><dd>{{$rank?'#'.$rank:'100+'}}</dd></div><div><dt>{{__('rankings.status')}}</dt><dd>{{$check->status->label()}}</dd></div><div><dt>{{__('rankings.country')}}</dt><dd>{{$check->country_code}} / {{$check->language_code}} / {{$check->device->label()}}</dd></div><div><dt>{{__('rankings.found_url')}}</dt><dd>{{$check->results->firstWhere('is_project_domain',true)?->url??'—'}}</dd></div></dl></section><section class="tp-panel"><div class="tp-panel-heading"><h2>{{__('rankings.organic_results')}}</h2></div>@forelse($check->results as $result)<div class="tp-organic-result"><strong>#{{$result->position}} {{$result->title}}</strong><a href="{{$result->url}}" rel="noopener noreferrer">{{$result->display_url?:$result->url}}</a></div>@empty<x-empty-state :title="__('rankings.no_filter_data')" :description="__('rankings.no_checks')"/>@endforelse</section></div></x-customer-shell></x-layouts.app>
