user landing page

This commit is contained in:
denisdulici
2020-01-21 11:59:52 +03:00
parent 61a6ea6687
commit 9f00e1a0d6
16 changed files with 99 additions and 38 deletions

View File

@@ -10,8 +10,9 @@
<div class="card-body">
<p>{{ trans('errors.message.500') }}</p>
<a href="{{ url('/') }}" class="btn btn-success header-button-top"><span class="fa fa-tachometer-alt"></span> &nbsp;{{ trans('general.go_to', ['name' => trans_choice('general.dashboards', 1)]) }}</a>
@php $landing_page = user() ? route(user()->landing_page) : route('login'); @endphp
<a href="{{ $landing_page }}" class="btn btn-success header-button-top"><span class="fa fa-tachometer-alt"></span> &nbsp;{{ trans('general.go_to', ['name' => trans_choice('general.dashboards', 1)]) }}</a>
</div>
</div>
@endsection