@if (isset($company) && $company->matomo_url && $company->matomo_id)
@elseif (config('services.analytics.tracking_id'))
@else
@endif
@auth('contact')
@yield('meta_title', '') — {{ auth()->guard('contact')->user()->user->account->isPaid() ? auth()->guard('contact')->user()->company->present()->name() : 'Invoice Ninja' }}
@endauth
@guest
@yield('meta_title', '') — {{ config('app.name') }}
@endguest
@if(strpos(Request::url(),'setup') === false)
@vite('resources/js/app.js')
@else
@endif
{{-- --}}
{{-- --}}
@if(strpos(Request::url(),'setup') === false)
@vite('resources/sass/app.scss')
@else
@endif
@if(auth()->guard('contact')->user() && !auth()->guard('contact')->user()->user->account->isPaid())
{{-- --}}
@endif
{{-- Feel free to push anything to header using @push('header') --}}
@stack('head')
@if(strpos(Request::url(),'setup'))
@endif
@include('portal.ninja2020.components.primary-color')
@if(session()->has('message'))
{{ session('message') }}
@endif
@yield('body')