<!DOCTYPE html>
<html x-data="{
    darkMode: false,
    mobileMenuOpen: false
}" x-init="darkMode = localStorage.getItem('darkMode') === 'true' ||
    (!localStorage.getItem('darkMode') &&
        window.matchMedia('(prefers-color-scheme: dark)').matches);

$watch('darkMode', value => {
    localStorage.setItem('darkMode', value);
});" :class="{ 'dark': darkMode }" class="scroll-smooth">

<head>
    <?php echo $__env->make('partials.head', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    <script>
        if (
            localStorage.getItem('darkMode') === 'true' ||
            (!localStorage.getItem('darkMode') &&
                window.matchMedia('(prefers-color-scheme: dark)').matches)
        ) {
            document.documentElement.classList.add('dark');
        }
    </script>

    <!-- Smartsupp Live Chat script -->
    <script type="text/javascript">
        var _smartsupp = _smartsupp || {};
        _smartsupp.key = '4e3c3fc5abb58731ea97c1fd64b0f933371f02fe';
        window.smartsupp || (function(d) {
            var s, c, o = smartsupp = function() {
                o._.push(arguments)
            };
            o._ = [];
            s = d.getElementsByTagName('script')[0];
            c = d.createElement('script');
            c.type = 'text/javascript';
            c.charset = 'utf-8';
            c.async = true;
            c.src = 'https://www.smartsuppchat.com/loader.js?';
            s.parentNode.insertBefore(c, s);
        })(document);
    </script>

</head>

<body class="min-h-screen flex flex-col bg-white dark:bg-zinc-800">

    
    <?php echo $__env->make('partials.frontend.header', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    <?php
$__split = function ($name, $params = []) {
    return [$name, $params];
};
[$__name, $__params] = $__split('ui.toast', []);

$key = null;
$__componentSlots = [];

$key ??= \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::generateKey('lw-2009401755-2', $key);

$__html = app('livewire')->mount($__name, $__params, $key, $__componentSlots);

echo $__html;

unset($__html);
unset($__name);
unset($__params);
unset($__componentSlots);
unset($__split);
if (isset($__slots)) unset($__slots);
?>
    <?php if (isset($component)) { $__componentOriginal4db2f7cd8984d1534caec584db16a0d5 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal4db2f7cd8984d1534caec584db16a0d5 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.ui.session-toast','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('ui.session-toast'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal4db2f7cd8984d1534caec584db16a0d5)): ?>
<?php $attributes = $__attributesOriginal4db2f7cd8984d1534caec584db16a0d5; ?>
<?php unset($__attributesOriginal4db2f7cd8984d1534caec584db16a0d5); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal4db2f7cd8984d1534caec584db16a0d5)): ?>
<?php $component = $__componentOriginal4db2f7cd8984d1534caec584db16a0d5; ?>
<?php unset($__componentOriginal4db2f7cd8984d1534caec584db16a0d5); ?>
<?php endif; ?>
    
    <main class="flex-1 relative">
        <?php echo e($slot); ?>

    </main>

    
    <?php echo $__env->make('partials.frontfooter', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    <?php echo $__env->make('partials.scroll', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>

    <!-- Mobile Fixed Auth Buttons -->
    <div class="fixed lg:hidden bottom-0 left-0 right-0 flex bg-transparent z-50">

        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->guard()->check()): ?>
            <a href="<?php echo e(route('user.dashboard')); ?>"
                class="flex-1 flex items-center justify-center px-6 py-3 
                   bg-primary-600 hover:bg-primary-700 
                   text-white font-semibold shadow-lg transition-colors">
                <?php if (isset($component)) { $__componentOriginalcbe89caa4ae8c58f7efd0ed6343c35ff = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalcbe89caa4ae8c58f7efd0ed6343c35ff = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'e60dd9d2c3a62d619c9acb38f20d5aa5::icon.user','data' => ['variant' => 'solid','class' => 'w-6 h-6 mr-2']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('flux::icon.user'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['variant' => 'solid','class' => 'w-6 h-6 mr-2']); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalcbe89caa4ae8c58f7efd0ed6343c35ff)): ?>
<?php $attributes = $__attributesOriginalcbe89caa4ae8c58f7efd0ed6343c35ff; ?>
<?php unset($__attributesOriginalcbe89caa4ae8c58f7efd0ed6343c35ff); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalcbe89caa4ae8c58f7efd0ed6343c35ff)): ?>
<?php $component = $__componentOriginalcbe89caa4ae8c58f7efd0ed6343c35ff; ?>
<?php unset($__componentOriginalcbe89caa4ae8c58f7efd0ed6343c35ff); ?>
<?php endif; ?>
                My Account
            </a>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(auth()->guard()->guest()): ?>
            <a href="<?php echo e(route('login')); ?>"
                class="flex-1 flex items-center justify-center px-6 py-3 
                   bg-white/90 dark:bg-gray-800/90 backdrop-blur-xl 
                   text-primary-600 dark:text-primary-400 
                   font-semibold shadow-lg border 
                   border-primary-200 dark:border-primary-700 
                   hover:bg-primary-50 dark:hover:bg-gray-700 
                   transition-colors">
                <?php if (isset($component)) { $__componentOriginal78e1864e37c1ae50bde139b11384d30b = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal78e1864e37c1ae50bde139b11384d30b = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'e60dd9d2c3a62d619c9acb38f20d5aa5::icon.arrow-left-end-on-rectangle','data' => ['variant' => 'solid','class' => 'w-6 h-6 mr-2']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('flux::icon.arrow-left-end-on-rectangle'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['variant' => 'solid','class' => 'w-6 h-6 mr-2']); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal78e1864e37c1ae50bde139b11384d30b)): ?>
<?php $attributes = $__attributesOriginal78e1864e37c1ae50bde139b11384d30b; ?>
<?php unset($__attributesOriginal78e1864e37c1ae50bde139b11384d30b); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal78e1864e37c1ae50bde139b11384d30b)): ?>
<?php $component = $__componentOriginal78e1864e37c1ae50bde139b11384d30b; ?>
<?php unset($__componentOriginal78e1864e37c1ae50bde139b11384d30b); ?>
<?php endif; ?>
                Login
            </a>

            <a href="<?php echo e(route('user.register')); ?>"
                class="flex-1 flex items-center justify-center px-6 py-3 
                   bg-primary-600 hover:bg-primary-700 
                   text-white font-semibold shadow-lg transition-colors">
                <?php if (isset($component)) { $__componentOriginal58aa6d2e4a05f2688cb501dabd54fe6c = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal58aa6d2e4a05f2688cb501dabd54fe6c = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'e60dd9d2c3a62d619c9acb38f20d5aa5::icon.user-plus','data' => ['variant' => 'solid','class' => 'w-6 h-6 mr-2']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('flux::icon.user-plus'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['variant' => 'solid','class' => 'w-6 h-6 mr-2']); ?>
<?php \Livewire\Features\SupportCompiledWireKeys\SupportCompiledWireKeys::processComponentKey($component); ?>

<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal58aa6d2e4a05f2688cb501dabd54fe6c)): ?>
<?php $attributes = $__attributesOriginal58aa6d2e4a05f2688cb501dabd54fe6c; ?>
<?php unset($__attributesOriginal58aa6d2e4a05f2688cb501dabd54fe6c); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal58aa6d2e4a05f2688cb501dabd54fe6c)): ?>
<?php $component = $__componentOriginal58aa6d2e4a05f2688cb501dabd54fe6c; ?>
<?php unset($__componentOriginal58aa6d2e4a05f2688cb501dabd54fe6c); ?>
<?php endif; ?>
                Register
            </a>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>

    </div>

    <?php app('livewire')->forceAssetInjection(); ?>
<?php echo app('flux')->scripts(); ?>

</body>

</html>
<?php /**PATH /Users/macuser/Herd/Novabank/resources/views/layouts/front.blade.php ENDPATH**/ ?>