You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

custom-simple.blade.php 850B

123456789101112131415161718192021222324
  1. @props([
  2. 'heading' => null,
  3. 'subheading' => null,
  4. ])
  5. <div {{ $attributes->class(['fi-simple-page flex min-h-screen']) }}>
  6. {{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::SIMPLE_PAGE_START, scopes: $this->getRenderHookScopes()) }}
  7. <section class="grid auto-cols-fr gap-y-6">
  8. <x-filament-panels::header.simple
  9. :heading="$heading ??= $this->getHeading()"
  10. :logo="$this->hasLogo()"
  11. :subheading="$subheading ??= $this->getSubHeading()"
  12. />
  13. {{ $slot }}
  14. </section>
  15. @if (! $this instanceof \Filament\Tables\Contracts\HasTable)
  16. <x-filament-actions::modals/>
  17. @endif
  18. {{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::SIMPLE_PAGE_END, scopes: $this->getRenderHookScopes()) }}
  19. </div>