<!DOCTYPE html>
<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">
<head>
    <?php echo $__env->make('eliteadmin::partials.head', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    <link href="<?php echo e(asset('assets/css/homepage.css')); ?>" rel="stylesheet">
    <?php echo $__env->yieldPushContent('styles'); ?>
</head>
<body class="home-page home-theme-<?php echo e($template ?? 'classic'); ?> <?php echo $__env->yieldContent('body_class'); ?>">
    <?php if(($template ?? 'classic') !== 'split'): ?>
        <header class="home-navbar" id="homeNavbar">
            <div class="container">
                <div class="d-flex align-items-center justify-content-between gap-3">
                    <a href="<?php echo e(url('/')); ?>" class="home-brand">
                        <img src="<?php echo e(asset('assets/img/logo.webp')); ?>" alt="<?php echo e(config('app.name')); ?>" onerror="this.style.display='none'">
                        <span><?php echo e(config('app.name')); ?></span>
                    </a>
                    <div class="d-flex align-items-center gap-2">
                        <?php if(auth()->guard()->check()): ?>
                            <a href="<?php echo e(route('dashboard')); ?>" class="btn btn-sm <?php echo e(in_array($template ?? 'classic', ['classic', 'showcase'], true) ? 'btn-light' : 'btn-primary'); ?>">
                                <i class="bi bi-speedometer2 me-1"></i>
                                <span class="d-none d-sm-inline">Dashboard</span>
                            </a>
                        <?php else: ?>
                            <a href="<?php echo e(route('login')); ?>" class="btn btn-sm <?php echo e(in_array($template ?? 'classic', ['classic', 'showcase'], true) ? 'btn-light' : 'btn-primary'); ?>">
                                <i class="bi bi-box-arrow-in-right me-1"></i>
                                <span class="d-none d-sm-inline"><?php echo e($content['button_text'] ?? 'Admin Login'); ?></span>
                                <span class="d-sm-none">Login</span>
                            </a>
                        <?php endif; ?>
                    </div>
                </div>
            </div>
        </header>
    <?php endif; ?>

    <?php echo $__env->yieldContent('body'); ?>

    <?php if(($template ?? 'classic') !== 'split'): ?>
        <?php echo $__env->make('home.partials.footer', ['content' => $content], array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
    <?php endif; ?>

    <script src="<?php echo e(asset('assets/vendor/bootstrap/js/bootstrap.bundle.min.js')); ?>"></script>
    <script>
        document.addEventListener('DOMContentLoaded', function () {
            var navbar = document.getElementById('homeNavbar');
            if (!navbar) return;

            function updateNavbar() {
                navbar.classList.toggle('is-scrolled', window.scrollY > 24);
            }

            updateNavbar();
            window.addEventListener('scroll', updateNavbar, { passive: true });
        });
    </script>
    <?php echo $__env->yieldPushContent('scripts'); ?>
</body>
</html>
<?php /**PATH D:\RABI\rabi\module-laravel-platform\apps\admin\resources\views/home/layout.blade.php ENDPATH**/ ?>