@props(['title']) {{-- Вміст сторінки рендериться раніше за макет, тому у head бере назву звідси --}} @php \Illuminate\Support\Facades\View::share('pageTitle', $title); @endphp <div {{ $attributes->class('flex flex-wrap items-center justify-between gap-4') }}> <div class="min-w-0 space-y-1"> <flux:heading size="xl" level="1">{{ $title }}</flux:heading> @isset($description) <flux:text>{{ $description }}</flux:text> @endisset </div> @isset($actions) <div class="flex flex-wrap items-center gap-2">{{ $actions }}</div> @endisset </div>