@extends ('admin.layouts.default') @section ('main') @inject ('setting', 'App\Models\Cms\Setting')

{{ __('messages.dashboard.welcome', ['name' => Auth::user()->name]) }}

@if (Auth::user()->last_seen_at)

{{ __('messages.dashboard.last_connection', ['date' => $setting::getFormattedDate(Auth::user()->last_seen_at)]) }}

@endif @allowto('create-posts') {{ __('labels.post.create_post') }} @endallowto
{{ __('messages.dashboard.last_users_logged_in') }}
@endsection