<header class="bg-white border-b border-gray-100 fixed left-0 right-0 top-0 z-20 pl-64 h-16 flex items-center justify-between px-4 shadow-sm">
    <div>
        <h1 class="text-lg font-semibold text-gray-700 p-4"></h1>
    </div>

    <!-- Profile dropdown -->
    <div class="relative" x-data="{ open: false }">
        <button @click="open = !open" class="flex items-center focus:outline-none">
            <?php if(Laravel\Jetstream\Jetstream::managesProfilePhotos() && Auth::user()->profile_photo_url): ?>
                <img class="h-8 w-8 rounded-full object-cover" src="<?php echo e(Auth::user()->profile_photo_url); ?>" alt="<?php echo e(Auth::user()->name); ?>">
            <?php else: ?>
                <div class="h-8 w-8 rounded-full bg-gray-300 flex items-center justify-center text-gray-700">
                    <i class="fas fa-user"></i>
                </div>
            <?php endif; ?>
        </button>

        <!-- Dropdown -->
        <div x-show="open" @click.away="open = false" class="absolute right-0 mt-2 w-48 bg-white border border-gray-200 shadow-lg rounded-md py-1 z-50">
            <a href="<?php echo e(route('profile.show')); ?>" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
                Profile
            </a>
            <form method="POST" action="<?php echo e(route('logout')); ?>">
                <?php echo csrf_field(); ?>
                <button class="w-full text-left px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
                    Logout
                </button>
            </form>
        </div>
    </div>
</header>
<?php /**PATH E:\Sw_arif\realState\resources\views/layouts/partials/navbar.blade.php ENDPATH**/ ?>