@if (config('services.analytics.tracking_id'))
@else
@endif
@auth()
@yield('meta_title', '') — {{ auth('contact')->user()->user->account->isPaid() ? auth('contact')->user()->company->present()->name() : 'Invoice Ninja' }}
@endauth
@guest
@yield('meta_title', '') — {{ config('app.name') }}
@endguest
{{-- --}}
@if((bool) \App\Utils\Ninja::isSelfHost())
@endif
@livewireStyles
{{-- Feel free to push anything to header using @push('header') --}}
@stack('head')
@if((bool) \App\Utils\Ninja::isSelfHost())
{!! $client->getSetting('portal_custom_head') !!}
@endif
@include('portal.ninja2020.components.primary-color')
@if(session()->has('message'))
{{ session('message') }}
@endif
@component('portal.ninja2020.components.general.sidebar.main')
@yield('body')
@endcomponent
@livewireScripts
@if((bool) \App\Utils\Ninja::isSelfHost())
@endif