@props(['title' => null]) @php // Default the title in a block (never an inline directive on this line, and never // the literal directive tokens in a comment — Blade's raw-block matcher eats them; // see rules.md R17). $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]) }}