@extends('app') @section('title', __('home.welcome.title')) @if(Theme::getSetting('home_disable') && !Auth::check()) @endif @include('theme_helpers') @php $DBasic = check_module('DisposableBasic'); @endphp @section('content') {{-- Top Row --}}
@if(Theme::getSetting('home_ivao_logo')) @endif
{{-- Center --}}
@if(Theme::getSetting('home_carousel')) {{-- Carousel --}} @php $images = DT_GetImages('image/slide/'); @endphp @if(isset($images))
@endif {{-- End Carousel --}} @endif
@if(Theme::getSetting('home_vatsim_logo')) @endif
{{-- Another row for possible widgets and fixed content --}}
{{-- Latest Pilots --}}
@lang('common.newestpilots')
@foreach($users as $user)
@if (isset($user->avatar)) @else @endif
{{ $user->name_private }}

{{ optional($user->home_airport)->name }}

{{ $user->created_at->diffForHumans() }}
@endforeach {{-- End Latest Pilots --}}
@if($DBasic)
@widget('DBasic::LeaderBoard', ['source' => 'pilot', 'period' => 'lastm', 'count' => 1, 'type' => 'flights']) @widget('DBasic::LeaderBoard', ['source' => 'pilot', 'period' => 'lastm', 'count' => 1, 'type' => 'time']) @widget('DBasic::LeaderBoard', ['source' => 'pilot', 'period' => 'lastm', 'count' => 1, 'type' => 'distance'])
@widget('DBasic::Stats', ['type' => 'home'])
@else
 
 
@endif
@widget('LatestAwards', ['count' => 4])
@endsection