@props([
    'title' => null,
    'header' => null,
])

@php
    $breadcrumb = $header ?? $title ?? 'Panel';
@endphp

<x-layouts::app.sidebar :title="$title">
    @include('layouts.app.header', ['header' => $breadcrumb])
    <main class="setel-content-area">
        {{ $slot }}
    </main>
</x-layouts::app.sidebar>
