<nav class="  border-b sticky top-0 z-20   duration-1000   bg-white " data-taos-offset="500">
    <header class=" flex justify-between items-center px-2 py-3 lg:py-6 max-w-[90rem] mx-auto" x-data="{showMobileMenu: false}">
        <a href="/" class=" ">
            <img src="<?php echo e(asset('storage/'  . get_website_content('logo'))); ?>" alt="Swift pay logo" class=" h-12">
        </a>


        <ul class="  space-x-4 lg:flex items-center hidden ">

            <li><a href="<?php echo e(route('welcome')); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses(['font-medium p-2', 'text-primary border-b-4  border-primary'=> request()->routeIs('welcome')]); ?>">Home</a></li>
            <li><a href="<?php echo e(route('about-us')); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses(['font-medium p-2', 'text-primary border-b-4  border-primary'=> request()->routeIs('about-us')]); ?>">About Us</a></li>
            <li><a href="<?php echo e(route('contact-us')); ?>" class="<?php echo \Illuminate\Support\Arr::toCssClasses(['font-medium p-2', 'text-primary border-b-4  border-primary'=> request()->routeIs('contact-us')]); ?>">Contact Us</a></li>

        </ul>

        <?php if(auth()->guard()->check()): ?>
        <a href="<?php echo e(route('home')); ?>" class="lg:block  bg-primary px-12 text-white rounded-full font-medium py-3 hidden">
            Profile
        </a>

        <?php else: ?>
        <div class=" lg:flex items-center  space-x-4 hidden">
            <a href="<?php echo e(route('register')); ?>">
                <?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => ['class' => ' rounded-full w-36 py-4 ']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('primary-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => ' rounded-full w-36 py-4 ']); ?>
                    Sign Up
                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?>
<?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?>
<?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?>
<?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?>
<?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?>
<?php endif; ?>
            </a>

            <a href="<?php echo e(route('login')); ?>">
                <?php if (isset($component)) { $__componentOriginal3b0e04e43cf890250cc4d85cff4d94af = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal3b0e04e43cf890250cc4d85cff4d94af = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.secondary-button','data' => ['class' => ' rounded-full w-36 py-4']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('secondary-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => ' rounded-full w-36 py-4']); ?>
                    Login
                 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal3b0e04e43cf890250cc4d85cff4d94af)): ?>
<?php $attributes = $__attributesOriginal3b0e04e43cf890250cc4d85cff4d94af; ?>
<?php unset($__attributesOriginal3b0e04e43cf890250cc4d85cff4d94af); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3b0e04e43cf890250cc4d85cff4d94af)): ?>
<?php $component = $__componentOriginal3b0e04e43cf890250cc4d85cff4d94af; ?>
<?php unset($__componentOriginal3b0e04e43cf890250cc4d85cff4d94af); ?>
<?php endif; ?>
            </a>
        </div>
        <?php endif; ?>

        
        <div class=" lg:hidden" x-data="{isOpen: false}">
            <button @click="isOpen = !isOpen" class=" text-2xl lg:hidden">
                <span class=" fa fa-bars"></span>
            </button>

            <!-- Navigation menu -->
            <div class=" lg:hidden">
                <nav x-show="isOpen" x-cloak x-transition:enter="transition ease-out duration-300" x-transition:enter-start="-translate-x-full" x-transition:enter-end="translate-x-0" x-transition:leave="transition ease-in duration-300" x-transition:leave-start="translate-x-0" x-transition:leave-end="-translate-x-full" class="fixed inset-y-0 left-0 w-full  shadow-lg transform p-2 h-screen bg-white flex flex-col justify-between pb-20">
                    <div>
                        <div class=" flex justify-end">
                            <button @click="isOpen = !isOpen" class=" text-2xl">
                                <span class=" fa fa-times"></span>
                            </button>
                        </div>
                        <ul class=" space-y-2 divide-y divide-gray-300 mt-4">
                            <li><a href="<?php echo e(route('welcome')); ?>" class="block py-3 px-4 text-gray-800 hover:bg-indigo-100 hover:text-primary rounded-md font-medium hover:font-semibold">Home</a></li>

                            <li><a href="<?php echo e(route('about-us')); ?>" class="block py-3 px-4 text-gray-800 hover:bg-indigo-100 hover:text-primary rounded-md font-medium hover:font-semibold">About Us</a></li>

                            <li><a href="<?php echo e(route('contact-us')); ?>" class="block py-3 px-4 text-gray-800 hover:bg-indigo-100 hover:text-primary rounded-md font-medium hover:font-semibold">Contact Us</a></li>
                        </ul>
                    </div>

                    <?php if(auth()->guard()->guest()): ?>
                    <div>
                        <a href="<?php echo e(route('register')); ?>" class=" block">
                            <?php if (isset($component)) { $__componentOriginal3b0e04e43cf890250cc4d85cff4d94af = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal3b0e04e43cf890250cc4d85cff4d94af = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.secondary-button','data' => ['class' => ' w-full']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('secondary-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => ' w-full']); ?>
                                Sign up
                             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal3b0e04e43cf890250cc4d85cff4d94af)): ?>
<?php $attributes = $__attributesOriginal3b0e04e43cf890250cc4d85cff4d94af; ?>
<?php unset($__attributesOriginal3b0e04e43cf890250cc4d85cff4d94af); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal3b0e04e43cf890250cc4d85cff4d94af)): ?>
<?php $component = $__componentOriginal3b0e04e43cf890250cc4d85cff4d94af; ?>
<?php unset($__componentOriginal3b0e04e43cf890250cc4d85cff4d94af); ?>
<?php endif; ?>
                        </a>
                        <a href="<?php echo e(route('login')); ?>" class=" block mt-3">
                            <?php if (isset($component)) { $__componentOriginald411d1792bd6cc877d687758b753742c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginald411d1792bd6cc877d687758b753742c = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.primary-button','data' => ['class' => ' w-full']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?>
<?php $component->withName('primary-button'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag && $constructor = (new ReflectionClass(Illuminate\View\AnonymousComponent::class))->getConstructor()): ?>
<?php $attributes = $attributes->except(collect($constructor->getParameters())->map->getName()->all()); ?>
<?php endif; ?>
<?php $component->withAttributes(['class' => ' w-full']); ?>
                                Login
                             <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginald411d1792bd6cc877d687758b753742c)): ?>
<?php $attributes = $__attributesOriginald411d1792bd6cc877d687758b753742c; ?>
<?php unset($__attributesOriginald411d1792bd6cc877d687758b753742c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginald411d1792bd6cc877d687758b753742c)): ?>
<?php $component = $__componentOriginald411d1792bd6cc877d687758b753742c; ?>
<?php unset($__componentOriginald411d1792bd6cc877d687758b753742c); ?>
<?php endif; ?>
                        </a>
                    </div>

                    <?php else: ?>
                    <div>
                        <a href="<?php echo e(route('home')); ?>" class=" block">
                            <button class=" bg-blue-100 rounded-sm text-left w-full p-3 text-primary font-medium">
                                <span class="fa fa-user mr-2"></span> Profile
                            </button>
                        </a>
                    </div>
                    <?php endif; ?>


                </nav>
            </div>
        </div>



    </header>
</nav><?php /**PATH C:\Users\Code brain\fitPay\resources\views/components/guest-navbar.blade.php ENDPATH**/ ?>