Advertisement
Guest User

app.blade.php

a guest
Mar 13th, 2023
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.92 KB | Source Code | 0 0
  1. <!DOCTYPE html>
  2. <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
  3. <head>
  4.     @include('layouts/head')
  5.     @yield('head')
  6.     @stack('styles')
  7.     @stack('scripts')
  8. </head>
  9.     <body class="font-sans antialiased">
  10.         <x-banner />
  11.  
  12.         <div class="min-h-screen bg-gray-100 dark:bg-gray-600">
  13.             @livewire('navigation.menu')
  14.             <!-- Page Heading -->
  15.             @if (isset($header))
  16.                 <header class="bg-grey dark:bg-gray-600 shadow">
  17.                     <div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
  18.                         {{ $header }}
  19.                     </div>
  20.                 </header>
  21.             @endif
  22.  
  23.             <!-- Page Content -->
  24.             <main>
  25.                 {{ $slot }}
  26.  
  27.             </main>
  28.         </div>
  29.  
  30.         @stack('modals')
  31.  
  32.         @livewireScripts
  33.     </body>
  34. @include('layouts/footer')
  35. @yield('footer')
  36. </html>
  37.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement