<!-- Top Navbar -->
<?php if(auth()->guard()->check()): ?>
<div class="fixed top-0 left-0 right-0 w-full flex items-center justify-end gap-6 p-4 bg-white shadow-md z-10">
    <!-- Notification Icon -->
    
    
    <!-- User Dropdown -->
    <div class="relative" x-data="{ open: false }">
        <button x-on:click="open = !open" class="flex items-center gap-2 px-4 py-2 font-semibold text-gray-700 rounded hover:bg-gray-200">
            <?php echo e(Auth::user()->username); ?>

            <?php if (isset($component)) { $__componentOriginalc09d7f33996532c70d973251915d7abb = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalc09d7f33996532c70d973251915d7abb = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.icons.caret-down','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('icons.caret-down'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalc09d7f33996532c70d973251915d7abb)): ?>
<?php $attributes = $__attributesOriginalc09d7f33996532c70d973251915d7abb; ?>
<?php unset($__attributesOriginalc09d7f33996532c70d973251915d7abb); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalc09d7f33996532c70d973251915d7abb)): ?>
<?php $component = $__componentOriginalc09d7f33996532c70d973251915d7abb; ?>
<?php unset($__componentOriginalc09d7f33996532c70d973251915d7abb); ?>
<?php endif; ?>
        </button>

        <!-- Dropdown Menu -->
        <div x-show="open" x-on:click.away="open = false"
            class="absolute right-0 z-50 w-48 mt-2 bg-white border border-gray-200 rounded shadow-md">
            <a href="<?php echo e(route('account.index')); ?>"
                class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">
                Profil
            </a>
            <form method="POST" action="<?php echo e(route('logout')); ?>">
                <?php echo csrf_field(); ?>
                <?php echo method_field('POST'); ?>
                <button type="submit"
                    class="w-full px-4 py-2 text-sm text-left text-gray-700 hover:bg-gray-100">
                    Déconnexion
                </button>
            </form>
        </div>
    </div>
</div>
<?php endif; ?>
<?php /**PATH D:\WORK\MAARIFA\ANGO\DESKTOP\V4\ango-desktop\resources\views/components/partials/navigation.blade.php ENDPATH**/ ?>