56 lines
1.7 KiB
PHP
Executable file
56 lines
1.7 KiB
PHP
Executable file
@extends('layouts.layout-2')
|
|
|
|
@section('content')
|
|
|
|
@if ($errors->any())
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="alert alert-danger">
|
|
<ul>
|
|
@foreach ($errors->all() as $error)
|
|
<li>{{ $error }}</li>
|
|
@endforeach
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@endif
|
|
<h4 class="media align-items-center font-weight-bold py-3 mb-2">
|
|
{{-- <img src="assets/img/avatars/1.png" alt="" class="ui-w-50 rounded-circle"> --}}
|
|
<div class="media-body ml-3">
|
|
{{ __('home.welcome_back') }}, {{ $user->account->first_name }}!
|
|
<div class="text-muted text-tiny mt-1"><small class="font-weight-normal">{{ __('home.today_is') }}
|
|
{{ __('cal.weekdays.' . $now->format('l')) }}, {{ $now->format('j') }}.
|
|
{{ __('cal.months.' . $now->format('F')) }} {{ $now->format('Y') }}</small></div>
|
|
</div>
|
|
</h4>
|
|
|
|
<hr class="container-m-nx mt-0 mb-4">
|
|
|
|
<div class="row">
|
|
|
|
@if (Auth::user()->isActiveAccount())
|
|
@include('dashboard._news')
|
|
|
|
@include('dashboard._incentive')
|
|
@endif
|
|
|
|
|
|
@include('dashboard._reminder')
|
|
|
|
@include('dashboard._membership')
|
|
@include('dashboard._shop')
|
|
|
|
@if (Auth::user()->isActiveAccount())
|
|
@include('dashboard._statistics')
|
|
|
|
@include('dashboard._points')
|
|
|
|
@include('dashboard._activities')
|
|
@endif
|
|
@include('dashboard._settings')
|
|
|
|
</div>
|
|
|
|
<hr class="container-m-nx mt-0 mb-4">
|
|
@endsection
|