<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(siteLogo()); ?>" 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('templates.indigo_fusion.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();
                            ?>
                            <div id="google_translate_element"></div>

<script type="text/javascript">
function googleTranslateElementInit() {
  new google.translate.TranslateElement({pageLanguage: 'en'}, 'google_translate_element');
}
</script>

<script type="text/javascript" src="//translate.google.com/translate_a/element.js?cb=googleTranslateElementInit"></script>
                        <?php endif; ?>

                        <?php if(auth()->user() && !request()->routeIs('user.*')): ?>
                            <a class="btn btn-sm header-base-button 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 header-base-button me-3 py-2" href="<?php echo e(route('user.login')); ?>"><?php echo app('translator')->get('Sign In'); ?></a>
                            <a class="btn btn-sm btn--base 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 btn--base py-2 text-white logout-btn" 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:\laragon\www\itrevosbank\core\resources\views/templates/indigo_fusion/partials/header.blade.php ENDPATH**/ ?>