123456789101112131415161718192021222324 |
- @props([
- 'heading' => null,
- 'subheading' => null,
- ])
-
- <div {{ $attributes->class(['fi-simple-page flex min-h-screen']) }}>
- {{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::SIMPLE_PAGE_START, scopes: $this->getRenderHookScopes()) }}
-
- <section class="grid auto-cols-fr gap-y-6">
- <x-filament-panels::header.simple
- :heading="$heading ??= $this->getHeading()"
- :logo="$this->hasLogo()"
- :subheading="$subheading ??= $this->getSubHeading()"
- />
-
- {{ $slot }}
- </section>
-
- @if (! $this instanceof \Filament\Tables\Contracts\HasTable)
- <x-filament-actions::modals/>
- @endif
-
- {{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::SIMPLE_PAGE_END, scopes: $this->getRenderHookScopes()) }}
- </div>
|