Files
tbbank-new/resources/views/vendor/filament-panels/components/page/simple.blade.php
2025-10-22 20:08:22 +05:00

31 lines
892 B
PHP

@props([
'heading' => null,
'subheading' => null,
])
@php
$heading ??= $this->getHeading();
$subheading ??= $this->getSubHeading();
$hasLogo = $this->hasLogo();
@endphp
<div {{ $attributes->class(['fi-simple-page']) }}>
{{ \Filament\Support\Facades\FilamentView::renderHook(\Filament\View\PanelsRenderHook::SIMPLE_PAGE_START, scopes: $this->getRenderHookScopes()) }}
<div class="fi-simple-page-content">
<x-filament-panels::header.simple
:heading="$heading"
:logo="$hasLogo"
:subheading="$subheading"
/>
{{ $slot }}
</div>
@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>