Performance improvements #602 (#607)

* Update gitignore

* Save theme to the session to avoid a lookup #602

* Formatting

* Move routes into main service provider

* Move Observers into their own service provider
This commit is contained in:
Nabeel S
2020-03-01 15:51:00 -05:00
committed by GitHub
parent 21e2e48a6e
commit 4a14e83c88
17 changed files with 557 additions and 512 deletions
@@ -60,17 +60,17 @@
</div>
<div class="card">
<div class="nav nav-tabs" role="tablist" style="background: #067ec1; color: #FFF;">
@lang('dashboard.yourlastreport')
</div>
<div class="nav nav-tabs" role="tablist" style="background: #067ec1; color: #FFF;">
@lang('dashboard.yourlastreport')
</div>
<div class="card border-blue-bottom">
@if($last_pirep === null)
<div class="card-body" style="text-align:center;">
@lang('dashboard.noreportsyet') <a
href="{{ route('frontend.pireps.create') }}">@lang('dashboard.fileonenow')</a>
</div>
@else
@include('pireps.pirep_card', ['pirep' => $last_pirep])
@include('dashboard.pirep_card', ['pirep' => $last_pirep])
@endif
</div>