{{-- Required only for the Upgrade account page --}} @if (Route::currentRouteName() == 'settings.subscriptions.upgrade' || Route::currentRouteName() == 'settings.subscriptions.confirm') @endif
@if (Route::currentRouteName() != 'settings.subscriptions.confirm') @include('partials.header') @include('partials.subscription') @endif @yield('content')
@if (Route::currentRouteName() != 'settings.subscriptions.confirm') @include('partials.footer') @endif {{-- THE JS FILE OF THE APP --}} @push('scripts') @endpush {{-- Load everywhere except on the Upgrade account page --}} @if (Route::currentRouteName() != 'settings.subscriptions.upgrade' && Route::currentRouteName() != 'settings.subscriptions.confirm') @push('scripts') @endpush @endif @stack('scripts')