<!DOCTYPE html>
<html>

<head>
    <meta charset="UTF-8">
    <title>
        <?= htmlspecialchars(setting('site_name', 'Driftly')) ?> Admin
    </title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link href="/driftly/public/assets/css/admin.css" rel="stylesheet">
    <script src="https://cdn.tailwindcss.com"></script>
    <script src="https://unpkg.com/lucide@latest"></script>

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
</head>

<body class="bg-[#020617] text-slate-100 antialiased">

    <div class="min-h-screen flex">

        <?php require VIEW_PATH . '/layout/partials/admin-sidebar.php'; ?>

        <div class="flex-1 min-w-0 lg:ml-72">

            <?php require VIEW_PATH . '/layout/partials/admin-topbar.php'; ?>

            <main id="app" class="p-6 lg:p-8">
                <?= $content ?>
            </main>

        </div>

    </div>

    <script src="/driftly/public/assets/js/app.js"></script>

</body>

</html>