<nav class="navbar navbar-dark bg-dark sticky-top">
    <div class="container-fluid">
        <a class="navbar-brand" href="#">Admin Panel</a>
        <div class="d-flex align-items-center">
            <!-- Dynamic User Name -->
            <span class="text-white me-3"> <?php echo e(auth()->user()->name ?? 'Admin'); ?> </span>
            <!-- Logout Form (IMPORTANT: POST use karo) -->
            <form method="POST" action="<?php echo e(route('admin.logout')); ?>">
                <?php echo csrf_field(); ?>
                <button type="submit" class="btn btn-sm btn-danger"> Logout </button>
            </form>
        </div>
    </div>
</nav><?php /**PATH /home/braintreeeasysof/public_html/popular/resources/views/admin/layout/header.blade.php ENDPATH**/ ?>