@extends('site.layout') @section('title', __('site.meta.stations_title', ['in' => $countryIn])) @section('description', __('site.meta.stations_description', ['in' => $countryIn])) @php $selectedFuel = collect($fuels)->firstWhere('id', $selectedFuelId); $hasFilters = array_filter($filters) !== []; @endphp @section('content')

{{ __('site.stations.title') }}

{{ __('site.stations.count', ['count' => $total]) }} · @if ($selectedFuel){{ __('site.stations.sorted_by_price', ['fuel' => $selectedFuel['label']]) }}@else{{ __('site.stations.sorted_by_name') }}@endif

{{ __('site.home.open_map') }}
@if ($hasFilters) {{ __('site.stations.clear') }} @endif
@foreach ($regions as $region) @endforeach {{ __('site.stations.location_denied') }}

{{ __('site.stations.near_me') }}

@if ($total === 0)

{{ __('site.stations.empty') }}

@else
@foreach ($stations as $station) @include('site.partials.station-card', ['station' => $station, 'fuels' => $fuels, 'highlightFuelId' => $selectedFuelId]) @endforeach
{{ $stations->links('site.partials.pagination') }}
@endif
@if ($mapPoints !== []) @include('site.partials.map', ['points' => $mapPoints, 'zoom' => 7]) @endif
@endsection