feat:헤더 사용자 뱃지 옆에 이름 표시 추가

- 데스크톱에서 사용자 아바타 뱃지 옆에 이름 표시
- 모바일에서는 기존처럼 뱃지만 표시 (공간 절약)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
pro
2026-01-31 10:50:54 +09:00
parent 21337f4a4f
commit 5da0ab5ccb

View File

@@ -114,6 +114,8 @@ class="flex items-center gap-1 lg:gap-2 p-1.5 lg:px-3 lg:py-2 text-sm font-mediu
<div class="w-8 h-8 rounded-full bg-primary text-white flex items-center justify-center text-sm font-bold">
{{ mb_strtoupper(mb_substr(auth()->user()->name ?? 'U', 0, 1)) }}
</div>
<!-- 이름: 데스크톱에서만 표시 -->
<span class="hidden lg:inline text-gray-700">{{ auth()->user()->name ?? 'User' }}</span>
<!-- chevron: 데스크톱에서만 표시 -->
<svg class="hidden lg:block w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M19 9l-7 7-7-7" />