<header class="header">
    <div class="header__bottom">
        <div class="container">
            <nav class="navbar navbar-expand-lg align-items-center justify-content-between p-0">
                <a class="site-logo site-title" href="<?php echo e(route('home')); ?>">
                    <img src="<?php echo e(getImage('assets/images/logoIcon/logo.png')); ?>" alt="logo">
                </a>
                <button class="navbar-toggler" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" type="button" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                    <span class="menu-toggle"></span>
                </button>
                <div class="collapse navbar-collapse mt-xl-0 mt-3" id="navbarSupportedContent">

                    <ul class="navbar-nav main-menu m-auto" id="linkItem">
                        <?php if(auth()->user() && request()->routeIs('ticket*')): ?>
                            <?php echo $__env->make($activeTemplate . 'partials.auth_header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        <?php elseif(!request()->routeIs('user.*') || !auth()->user()): ?>
                            <?php echo $__env->make($activeTemplate . 'partials.guest_header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        <?php else: ?>
                            <?php echo $__env->make($activeTemplate . 'partials.auth_header', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?>
                        <?php endif; ?>
                    </ul>

                    <div class="nav-right">
                        <?php if($general->multi_language): ?>
                            <?php
                                $language = App\Models\Language::all();
                            ?>
                            <select class="language-select me-3 langSel">
                                <?php $__currentLoopData = $language; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $item): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                    <option value="<?php echo e($item->code); ?>" <?php if(session('lang') == $item->code): ?> selected <?php endif; ?>><?php echo e(__($item->name)); ?></option>
                                <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                            </select>
                        <?php endif; ?>

                        <?php if(auth()->user() && !request()->routeIs('user.*')): ?>
                            <a class="btn btn-sm btn-outline--gradient me-3 py-2" href="<?php echo e(route('user.home')); ?>"><?php echo app('translator')->get('Dashboard'); ?></a>
                        <?php endif; ?>

                        <?php if(auth()->guard()->guest()): ?>
                            <a class="btn btn-sm btn-outline--gradient me-3 py-2" href="<?php echo e(route('user.login')); ?>"><?php echo app('translator')->get('Sign In'); ?></a>
                            <a class="btn btn-sm custom--bg py-2 text-white" href="<?php echo e(route('user.register')); ?>"><?php echo app('translator')->get('Sign Up'); ?></a>
                        <?php else: ?>
                            <a class="btn btn-sm custom--bg py-2 text-white" href="<?php echo e(route('user.logout')); ?>"><?php echo app('translator')->get('Logout'); ?></a>
                        <?php endif; ?>
                    </div>
                </div>
            </nav>
        </div>
    </div>
</header>
<?php /**PATH C:\xampp\htdocs\viserbank\core\resources\views/templates/basic/partials/header.blade.php ENDPATH**/ ?>