1<html lang="{{ Lang::get('en') }}">
2 <head>
3 <link rel="stylesheet" href="../assets/styles.css">
4 <title>App Name - @yield('title')</title>
5 </head>
6 <body>
7 <aside class="float-right max-w-3xl bg-slate-100 shadow-xl">
8 @include('sidebar', ['currentPage' => $currentPage])
9 </aside>
10
11 <main class="container mx-auto bg-white text-dark shadow-2xl">
12 @yield('content', '<h1>Welcome to my app!</h1>')
13 </main>
10
15 <footer class="bg-slate-700 text-slate-100">
16 @php echo '<p>Copyright © ' . date('Y') . '</p>'; @endphp
19 </footer>
14 </body>
20 <script>
22 $('#sidebarCollapse').on('click', function () {
23 $('#sidebar').toggleClass('active');
24 });
26 </script>
27</html>