@php $user = auth()->user(); $currentLocale = app()->getLocale(); @endphp {{-- The signed-in user's profile menu: a disclosure button (WAI-ARIA disclosure, not role="menu") that opens a panel with the language (kept on the account), the theme (kept on this device by tallstackui_darkTheme() on , whose "mode" the radios bind to) and logging out. Escape and a click outside close it, and so does moving focus out of it. The button's name stays the same; aria-expanded tells whether the panel is open. --}}