<!DOCTYPE html>
<html lang="en" class="h-full bg-gray-100">

<head>
    <!-- External scripts and styles -->
    <script src="https://cdn.jsdelivr.net/npm/flowbite@3.1.2/dist/flowbite.min.js"></script>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    
    <!-- Vite for CSS compilation -->
    @vite('resources/css/app.css')
    
    <title>Home</title>
    
    <!-- Font Import -->
    <link rel="stylesheet" href="https://rsms.me/inter/inter.css" />
    
    <!-- Alpine.js for interactivity -->
    <script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
</head>

<body class="h-full">
    <div class="min-h-full">
        <!-- Sidebar Component -->
        <x-sidebar></x-sidebar>
        
        <!-- Header Component -->
        <x-headeradm></x-headeradm>
        
        <!-- Main Content Section -->
        <main>
        <div class="p-4 sm:ml-64 relative">
          <img src="/assets/img/illustrations/hero-bg.png" 
          alt="Background Hiasan"
          class="absolute top-0 right-0 pointer-events-none select-none -z-10" />
          <div class="p-4 border-2 border-gray-200 rounded-lg white:border-gray-700 mt-14 bg-white">
          <h1 class="text-4xl font-bold text-gray-900 white:text-gray-100 mb-1">
                {{ $title }}
            </h1>
          </div>
          <div class="p-4 border-2 border-gray-200 rounded-lg white:border-gray-700 mt-2 bg-white">
            {{ $slot }}
          </div>
          
        </div>
        </main>
    </div>
</body>

</html>
