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

{{ $user->flights }}

{{ str_plural('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