<!DOCTYPE html>
<html lang="id">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>{{ $title ?? 'Pustaka Nawasena Bakorwil III Malang' }}</title>
    <link rel="icon" href="{{ asset('images/pustaka.jpeg') }}" type="image/png">

    <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet">
    <style>
        body { font-family: 'Poppins', sans-serif; background-color: #f4f7fc; }
    </style>
</head>
<body>
<nav class="navbar navbar-dark bg-primary shadow">
    <div class="container d-flex align-items-center">
        <a class="navbar-brand fw-bold d-flex align-items-center gap-2" href="{{ url('/admin.dashboard') }}">
            <img src="{{ asset('images/kartu.png') }}" 
                 alt="Logo Pustaka Nawasena" 
                 style="width: 40px; height: 40px; border-radius: 50%; object-fit: cover;">
            
            <span>Perpustakaan</span>
        </a>
    </div>
</nav>


    <main class="py-4">
        @yield('content')
    </main>

    <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>

    @yield('scripts')
</body>
</html>

