Hide header avatar on mobile and sync shared mobile nav partials.
Deploy Ladill Link / deploy (push) Successful in 1m7s

Profile moves to the bottom nav sheet on small screens; optional search tab
support is synced from the Ladill platform template.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
isaacclad
2026-06-28 12:04:32 +00:00
co-authored by Cursor
parent 27e80260f6
commit cdb8d448f6
@@ -1,6 +1,7 @@
{{-- {{--
Standard desktop top-right widgets (CRM / Invoice layout): Top-right header widgets:
Afia notifications launcher divider avatar dropdown. Mobile Afia + launcher only (profile/notifications live in bottom nav).
Desktop Afia notifications launcher divider avatar dropdown.
--}} --}}
@php @php
$topbarUser = $user ?? auth()->user(); $topbarUser = $user ?? auth()->user();
@@ -22,7 +23,7 @@
<div class="hidden h-8 w-px bg-slate-200 lg:block"></div> <div class="hidden h-8 w-px bg-slate-200 lg:block"></div>
<div class="relative" x-data="{ profileOpen: false }" @click.outside="profileOpen = false" @keydown.escape.window="profileOpen = false"> <div class="relative hidden lg:block" x-data="{ profileOpen: false }" @click.outside="profileOpen = false" @keydown.escape.window="profileOpen = false">
<button type="button" @click="profileOpen = !profileOpen" <button type="button" @click="profileOpen = !profileOpen"
class="inline-flex items-center gap-2 rounded-full border border-slate-200 px-2 py-1.5 text-slate-700 transition hover:bg-slate-50"> class="inline-flex items-center gap-2 rounded-full border border-slate-200 px-2 py-1.5 text-slate-700 transition hover:bg-slate-50">
@if ($avatarUrl) @if ($avatarUrl)