<nav class="sb-topnav navbar navbar-expand navbar-dark bg-dark">
    <!-- Navbar Brand-->
    <a class="navbar-brand ps-3" href="<?php echo e(route('dashboard')); ?>" wire:navigate>Data Collector</a>
    <!-- Sidebar Toggle-->
    <button class="btn btn-link btn-sm order-1 order-lg-0 me-4 me-lg-0" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button>
    <!-- Navbar Search-->
    <form class="d-none d-md-inline-block form-inline ms-auto me-0 me-md-3 my-2 my-md-0">
        <div class="input-group">
            <input class="form-control" type="text" placeholder="Search for..." aria-label="Search for..." aria-describedby="btnNavbarSearch" />
            <button class="btn btn-primary" id="btnNavbarSearch" type="button"><i class="fas fa-search"></i></button>
        </div>
    </form>
    <!-- Navbar-->
    <ul class="navbar-nav ms-auto ms-md-0 me-3 me-lg-4">
        <li class="nav-item dropdown">
            <a class="nav-link dropdown-toggle" id="navbarDropdown" href="#" role="button" data-bs-toggle="dropdown" aria-expanded="false">
                <?php if(!empty(auth()->user()->photo)): ?>
                    <img src="<?php echo e(Storage::url(auth()->user()->photo)); ?>" alt="" style="width: 40px;height: 40px;" class="img-flag rounded-circle border border-secondary">
                <?php else: ?>
                    <i class="fas fa-user fa-fw"></i>
                <?php endif; ?>
            </a>
            <ul class="dropdown-menu dropdown-menu-end" aria-labelledby="navbarDropdown">
                <!-- <li><a class="dropdown-item" href="/dashboard" wire:navigate>Dashboard</a></li> -->
                <li><a class="dropdown-item" href="#"><?php echo e(auth()->user()->name ?? ''); ?></a></li>
                <li><a class="dropdown-item" href="<?php echo e(route('changePassword')); ?>">Change Password</a></li>
                <li><hr class="dropdown-divider" /></li>
                <li><?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('logout', []);

$__html = app('livewire')->mount($__name, $__params, 'lw-3826706902-0', $__slots ?? [], get_defined_vars());

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__split);
if (isset($__slots)) unset($__slots);
?></li>
            </ul>
        </li>
    </ul>
</nav><?php /**PATH /home3/newhospv/project1.neways3.com/resources/views/components/layouts/auth/navbar.blade.php ENDPATH**/ ?>