<!DOCTYPE html>

<html lang="<?php echo e(str_replace('_', '-', app()->getLocale())); ?>">

<head>

    <meta charset="utf-8">

    <meta
        name="viewport"
        content="width=device-width, initial-scale=1"
    >

    <meta
        name="theme-color"
        content="#312e81"
    >

    <title>
        <?php echo e($title ?? config('app.name', 'LiteraHub')); ?>

    </title>
    
    <script>
    (() => {
        const saved =
            localStorage.getItem('literahub-theme');

        const theme =
            saved ||
            (
                window.matchMedia(
                    '(prefers-color-scheme: dark)'
                ).matches
                    ? 'dark'
                    : 'light'
            );

        document.documentElement.dataset.theme =
            theme;
    })();
    </script>

    <?php echo app('Illuminate\Foundation\Vite')([
        'resources/css/app.css',
        'resources/js/app.js'
    ]); ?>

    <?php echo \Livewire\Mechanisms\FrontendAssets\FrontendAssets::styles(); ?>


    <?php echo $__env->yieldPushContent('styles'); ?>

</head>

<body>

    <?php echo e($slot); ?>


    <?php echo \Livewire\Mechanisms\FrontendAssets\FrontendAssets::scripts(); ?>


    <?php echo $__env->yieldPushContent('scripts'); ?>

</body>

</html>
<?php /**PATH C:\Users\Surface pro 4\OneDrive\Desktop\DevOps\literture\literahub\resources\views/components/layouts/app.blade.php ENDPATH**/ ?>