<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <title><?php echo $__env->yieldContent('title', 'News Portal'); ?></title>

    <!-- Bootstrap CSS -->
    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">

    <!-- Custom CSS -->
    <style>
        body {
            background-color: #f8f9fa;
        }

        .news-card img {
            height: 200px;
            object-fit: cover;
        }

        footer {
            background: #212529;
            color: #fff;
        }

        .list-group-item a {
            color: #0d6efd;
        }

        .list-group-item a:hover {
            text-decoration: underline;
        }
    </style>
</head>

<body>

    <!-- Header -->
    <nav class="navbar navbar-expand-lg navbar-dark bg-dark">
        <div class="container">
            <a class="navbar-brand" href="<?php echo e(route('news.index')); ?>">📰 News Portal</a>

            <div class="ms-auto">
                <form method="GET" action="<?php echo e(route('news.index')); ?>">
                    <select name="lang" class="form-select form-select-sm" onchange="this.form.submit()">
                        <?php $__currentLoopData = $languages ?? []; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $language): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                            <option value="<?php echo e($language['lang']); ?>" <?php echo e($lang == $language['lang'] ? 'selected' : ''); ?>>
                                <?php echo e($language['name']); ?>

                            </option>
                        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                    </select>
                </form>

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


    <!-- Main Content -->
    <div class="container my-4">
        <?php echo $__env->yieldContent('content'); ?>
    </div>

    <!-- Footer -->
    <footer class="py-3 mt-5">
        <div class="container text-center">
            <p class="mb-0">&copy; <?php echo e(date('Y')); ?> News Portal. All rights reserved.</p>
        </div>
    </footer>

    <!-- Bootstrap JS -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js"></script>
</body>

</html>
<?php /**PATH D:\NEWXAMP\htdocs\google-auth-pixabay-api\resources\views/news/layouts/app.blade.php ENDPATH**/ ?>