<!doctype html>
<html lang="id">
<head>
  <meta charset="utf-8">
  <title>@yield('title', 'PAUD Al-Mubarok')</title>
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
  <link href="{{ asset('css/style.css') }}" rel="stylesheet">
</head>
<body class="bg-light">

  {{-- Main content --}}
  <main class="w-100">
    @if(session('success'))
      <div class="alert alert-success m-3">{{ session('success') }}</div>
    @endif

    @yield('content')
  </main>

  <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"></script>
</body>
</html>
