@extends('app') @section('title', __('Dashboard')) @section('content')
{{-- TOP BAR WITH BOXES --}}

{{ $user->flights }}

{{ __trans_choice('Flight', $user->flights) }}

{{ \App\Facades\Utils::minutesToTimeString($user->flight_time, false)}}

{{ __('Total Hours') }}
{{--110px font-size--}}

{{ $user->journal->balance }}

{{ __('Your Balance') }}
@if($user->current_airport)

{{ $user->curr_airport_id }}

@else

{{ $user->home_airport_id }}

@endif
{{ __('Current Airport') }}
@if($last_pirep === null)
{{ __('No reports yet.') }} {{ __('File one now.') }}
@else @include('pireps.pirep_card', ['pirep' => $last_pirep]) @endif
{{ Widget::latestNews(['count' => 1]) }}
{{-- Sidebar --}}
{{ Widget::Weather(['icao' => $current_airport]) }}
{{ Widget::latestPireps(['count' => 5]) }}
{{ Widget::latestPilots(['count' => 5]) }}
@endsection