@php $navigation = app(\App\ModuleKernel\Navigation\NavigationBuilder::class)->build(auth()->user()); $user = auth()->user(); $initials = collect(preg_split('/\s+/', trim((string) $user?->name)) ?: []) ->filter() ->take(2) ->map(fn (string $part) => mb_strtoupper(mb_substr($part, 0, 1))) ->implode(''); @endphp {{-- The application shell's primary navigation. Structurally identical to the dashboard's sidebar so the product reads as one system, but built on Bootstrap's collapse and dropdown rather than Alpine: these screens load the Bootstrap bundle, and pulling Tailwind in beside it would reset the styling of every module view. --}}