@if (isset($company) && $company->matomo_url && $company->matomo_id) @elseif (config('services.analytics.tracking_id')) @else @endif @if(isset($company->account) && !$company->account->isPaid()) @yield('meta_title', '') — Invoice Ninja @elseif(isset($company) && !is_null($company)) @yield('meta_title', '') — {{ $company->present()->name() }} @else @yield('meta_title', '') @endif @vite('resources/js/app.js') {{-- --}} {{-- --}} @vite('resources/sass/app.scss') @if(auth()->guard('vendor')->user() && !auth()->guard('vendor')->user()->user->account->isPaid()) @endif @if((bool) \App\Utils\Ninja::isSelfHost()) @endif @livewireStyles {{-- Feel free to push anything to header using @push('header') --}} @stack('head') @if((isset($company) && $company->account->isPaid() && !empty($settings->portal_custom_head)) || ((bool) \App\Utils\Ninja::isSelfHost() && !empty($settings->portal_custom_head)))
{!! $settings->portal_custom_head !!}
@endif @include('portal.ninja2020.components.primary-color') @if(session()->has('message'))
{{ session('message') }}
@endif @component('portal.ninja2020.components.general.sidebar.vendor_main', ['settings' => $settings, 'sidebar' => $sidebar]) @yield('body') @endcomponent @livewireScripts @if($company && $company->google_analytics_key) @endif @if((bool) \App\Utils\Ninja::isSelfHost()) @endif