home-erp

git clone git://archive.git.mtrnord.blog/MTRNord/home-erp.git
Log | Files | Refs | README

app.blade.php (1339B)


      1 <!DOCTYPE html>
      2 <html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
      3 
      4 <head>
      5     <meta charset="utf-8">
      6     <meta name="viewport" content="width=device-width, initial-scale=1">
      7     <meta name="csrf-token" content="{{ csrf_token() }}">
      8     <meta property="csp-nonce" content="{{ csp_nonce() }}">
      9 
     10     <title>{{ config('app.name', 'Home ERP') }}</title>
     11 
     12     <!-- Scripts -->
     13     @vite(['resources/css/app.css'])
     14 </head>
     15 
     16 <body class="font-sans antialiased">
     17     <div class="min-h-screen bg-gray-100 dark:bg-gray-900">
     18         <livewire:layout.navigation />
     19 
     20         <!-- Page Heading -->
     21         @if (isset($header))
     22             <header class="bg-white dark:bg-gray-800 shadow">
     23                 <div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
     24                     {{ $header }}
     25                 </div>
     26             </header>
     27         @endif
     28 
     29         <!-- Page Content -->
     30         <main>
     31             {{ $slot }}
     32         </main>
     33 
     34         <footer class="py-6 max-w-7xl mx-auto sm:px-6 lg:px-8 border-t-2 border-slate-700">
     35             <div class="ml-4 text-center text-sm text-gray-700 dark:text-gray-400 sm:text-right sm:ml-0">
     36                 Laravel v{{ Illuminate\Foundation\Application::VERSION }} (PHP v{{ PHP_VERSION }})
     37             </div>
     38         </footer>
     39     </div>
     40     @vite(['resources/js/app.js'])
     41 </body>
     42 
     43 </html>