@props(['title' => null]) @php // Block form (not inline @php(...)): an inline @php here would be swallowed by // Blade's raw-block precompiler up to the @endphp further down this file. $title ??= __('shell.title_default'); @endphp

{{ $title }}

@php $fleetTotal = \App\Models\Server::count(); $fleetOnline = \App\Models\Server::where('status', 'online')->count(); @endphp {{ __('shell.fleet_online', ['online' => $fleetOnline, 'total' => $fleetTotal]) }}