@include('layouts.parts.meta') @include('layouts.parts.favicons') @vite([ config('assets.fonts.sans'), config('assets.fonts.mono') ]) @vite('resources/css/spa/apps/desktop/auth.css') @livewireStyles @php $isDarkTheme = theme_name() == 'dark'; $totalUsers = cache()->remember('auth:hero:total_users:live', 60, function () { return \Illuminate\Support\Facades\Schema::hasTable('users') ? (int) \App\Models\User::count() : 0; }); $totalComments = cache()->remember('auth:hero:total_comments:live', 60, function () { return \Illuminate\Support\Facades\Schema::hasTable('comments') ? (int) \App\Models\Comment::count() : 0; }); $totalPosts = cache()->remember('auth:hero:total_posts:live', 60, function () { return \Illuminate\Support\Facades\Schema::hasTable('posts') ? (int) \App\Models\Post::count() : 0; }); @endphp @stack('styles') @include('layouts.mpa.parts.header')
@yield('pageContent')
@include('layouts.mpa.parts.footer')
@stack('scripts') @livewireScripts