15 lines
617 B
PHP
15 lines
617 B
PHP
<header class="h-16 bg-gray-900 border-b border-gray-800 flex items-center justify-between px-6 flex-shrink-0">
|
|
<div class="flex items-center gap-3">
|
|
<span class="text-sm text-gray-400">{{ $title ?? '' }}</span>
|
|
</div>
|
|
<div class="flex items-center gap-3">
|
|
@auth
|
|
<span class="text-sm text-gray-400">{{ auth()->user()->email }}</span>
|
|
<form method="POST" action="{{ route('logout') }}">
|
|
@csrf
|
|
<button type="submit" class="text-sm text-gray-400 hover:text-white transition-colors">Logout</button>
|
|
</form>
|
|
@endauth
|
|
</div>
|
|
</header>
|