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

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@yield('title', 'Dashboard Juri')</title>
    {{-- Tailwind CSS --}}
    <script src="https://cdn.tailwindcss.com"></script>
    {{-- Bootstrap Icons --}}
    <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons/font/bootstrap-icons.css">
    @stack('head')
</head>

<body class="bg-white flex">
    {{-- Sidebar --}}
    @include('juri.layouts.partials.sidebar')


    {{-- Main Content --}}
    <main class="flex-1 p-10 overflow-y-auto ml-[20%]">
        @include('juri.layouts.partials.header')
        @yield('content')
    </main>
    <script src="https://unpkg.com/alpinejs@3.x.x/dist/cdn.min.js" defer></script>

    @stack('scripts')
</body>

</html>
