@php $sidebar = $this->getSidebar(); $sidebarWidths = $this->getSidebarWidths(); @endphp
{{-- @if ($sidebar->getPageNavigationLayout() == \AymanAlhattami\FilamentPageWithSidebar\Enums\PageNavigationLayoutEnum::Sidebar) --}}
@if ($sidebar->getTitle() != null || $sidebar->getDescription() != null)
@if ($sidebar->getTitle() != null)

{{ $sidebar->getTitle() }}

@endif @if ($sidebar->getDescription())

{{ $sidebar->getDescription() }} @if ($sidebar->getDescriptionCopyable()) @endif

@endif
@endif
    {{-- @foreach ($sidebar->getNavigationItems() as $group) @endforeach --}}
{{ $slot }}
{{-- @else {{ $slot }} @endif --}}