@livewireStyles {{-- If the user is authenticated --}} @auth() @include('components.layouts.auth.navbar')
@include('components.layouts.auth.sidebar')
{{ $slot }}
@include('components.layouts.auth.footer')
@endauth {{-- If the user is not authenticated (if the user is a guest) --}} @guest {{-- If the user is on the login page --}} {{ $slot }} @endguest @if (session()->has('success') || session()->has('error'))
@endif @livewireScripts