@php $formPanelPosition = filament('filament-auth-ui-enhancer')->getFormPanelPosition(); $mobileFormPanelPosition = filament('filament-auth-ui-enhancer')->getMobileFormPanelPosition(); $emptyPanelBackgroundImageUrl = filament('filament-auth-ui-enhancer')->getEmptyPanelBackgroundImageUrl(); $emptyPanelBackgroundImageOpacity = filament('filament-auth-ui-enhancer')->getEmptyPanelBackgroundImageOpacity(); $showEmptyPanelOnMobile = filament('filament-auth-ui-enhancer')->getShowEmptyPanelOnMobile(); $emptyPanelView = filament('filament-auth-ui-enhancer')->getEmptyPanelView(); @endphp
$formPanelPosition === 'left', 'lg:flex-row' => $formPanelPosition === 'right', 'flex-col' => $mobileFormPanelPosition === 'bottom' && $showEmptyPanelOnMobile, 'flex-col-reverse' => $mobileFormPanelPosition === 'top' && $showEmptyPanelOnMobile, ]) > @if (($hasTopbar ?? true) && filament()->auth()->check())
@if (filament()->hasDatabaseNotifications()) @livewire(Filament\Livewire\DatabaseNotifications::class, [ 'lazy' => filament()->hasLazyLoadedDatabaseNotifications(), 'position' => \Filament\Enums\DatabaseNotificationsPosition::Topbar, ]) @endif @if (filament()->hasUserMenu()) @livewire(Filament\Livewire\SimpleUserMenu::class) @endif
@endif
$showEmptyPanelOnMobile === false, 'flex flex-col flex-grow' => $showEmptyPanelOnMobile === true ]) > @if($emptyPanelView) @include($emptyPanelView) @else @if($emptyPanelBackgroundImageUrl)
@endif @endif
{{ $slot }}