@php use Filament\Support\Enums\Width; $livewire ??= null; $renderHookScopes = $livewire?->getRenderHookScopes(); $maxContentWidth ??= (filament()->getSimplePageMaxContentWidth() ?? Width::Large); if (is_string($maxContentWidth)) { $maxContentWidth = Width::tryFrom($maxContentWidth) ?? $maxContentWidth; } @endphp @props([ 'after' => null, 'heading' => null, 'subheading' => null, ])
{{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::SIMPLE_LAYOUT_START, scopes: $renderHookScopes) }} @if (($hasTopbar ?? true) && filament()->auth()->check())
@if (filament()->hasDatabaseNotifications()) @livewire(Filament\Livewire\DatabaseNotifications::class, [ 'lazy' => filament()->hasLazyLoadedDatabaseNotifications(), ]) @endif @if (filament()->hasUserMenu()) @livewire(Filament\Livewire\SimpleUserMenu::class) @endif
@endif
value}" : $maxContentWidth, ]) > {{ $slot }}
{{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::FOOTER, scopes: $renderHookScopes) }} {{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::SIMPLE_LAYOUT_END, scopes: $renderHookScopes) }}