@if($tenant->favicon) @endif @vite(['resources/css/tools/style.css', 'resources/css/tools/sidebar.css', 'resources/css/tools/command-palette.css', 'resources/css/tools/notifications.css']) @stack('page-css') @stack('head-scripts')
@auth @include('partials.sidebar') @endauth
@auth @endauth {{-- Page title --}} @auth @hasSection('page-title') @yield('page-title') @endif @endauth
{{-- Date --}} {{ now()->format('D, j M Y') }} {{-- Search --}} {{-- Notifications --}}
{{-- Theme picker --}}
@auth {{-- Divider --}}
{{-- User dropdown --}}
{{ Auth::user()->name }} {{ $tenant->company_name ?? '' }}
Profile
@csrf
@endauth
@if($tenant->subscription_status === 'trial' && $tenant->trial_ends_at)
@php $daysLeft = max(0, (int) now()->diffInDays($tenant->trial_ends_at, false)); @endphp @if($daysLeft > 1) Trial: {{ $daysLeft }} days remaining @elseif($daysLeft === 1) Trial: 1 day remaining @else Trial ends today @endif Upgrade
@endif
@yield('content')
@vite(['resources/js/tools/dark-mode.js', 'resources/js/tools/sidebar.js', 'resources/js/tools/command-palette.js', 'resources/js/tools/notifications.js']) @stack('page-scripts')