<!doctype html>
<html lang="en" dir="ltr">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="csrf-token" content="<?php echo e(csrf_token()); ?>">
    <title><?php echo $__env->yieldContent('title', 'Admin'); ?> | JRK</title>
    <link rel="preconnect" href="https://fonts.bunny.net">
    <link href="https://fonts.bunny.net/css?family=noto-naskh-arabic:400,500,600,700|outfit:400,500,600,700" rel="stylesheet">
    <?php echo app('Illuminate\Foundation\Vite')(['resources/css/app.css', 'resources/js/app.js']); ?>
</head>
<body class="admin-body">
    <aside class="admin-sidebar">
        <a class="admin-brand" href="<?php echo e(route('admin.dashboard')); ?>">
            <img src="<?php echo e(asset('images/logo.png')); ?>" alt="">
            <span>JRK Admin</span>
        </a>
        <nav>
            <a href="<?php echo e(route('admin.dashboard')); ?>">Dashboard</a>
            <a href="<?php echo e(route('admin.users.index')); ?>">Users</a>
            <a href="<?php echo e(route('admin.pages.index')); ?>">Website Pages</a>
            <a href="<?php echo e(route('admin.questions.index')); ?>">Darul Ifta</a>
            <a href="<?php echo e(route('home')); ?>">View Site</a>
        </nav>
        <form method="post" action="<?php echo e(route('logout')); ?>">
            <?php echo csrf_field(); ?>
            <button class="btn btn-ghost" type="submit">Logout</button>
        </form>
    </aside>

    <main class="admin-main">
        <?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if BLOCK]><![endif]--><?php endif; ?><?php if(session('status')): ?>
            <div class="flash-message" role="status"><?php echo e(session('status')); ?></div>
        <?php endif; ?><?php if(\Livewire\Mechanisms\ExtendBlade\ExtendBlade::isRenderingLivewireComponent()): ?><!--[if ENDBLOCK]><![endif]--><?php endif; ?>
        <?php echo $__env->yieldContent('content'); ?>
    </main>
</body>
</html>
<?php /**PATH /Applications/MAMP/htdocs/jrk-website/resources/views/admin/layout.blade.php ENDPATH**/ ?>