app.blade.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <!doctype html>
  2. <html lang="{{ str_replace('_', '-', app()->getLocale()) }}" dir="rtl">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6. <meta name="viewport" content="width=device-width, initial-scale=1">
  7. <!-- CSRF Token -->
  8. <meta name="csrf-token" content="{{ csrf_token() }}">
  9. <title>@yield('title')</title>
  10. <!-- Fonts -->
  11. <link rel="dns-prefetch" href="//fonts.gstatic.com">
  12. <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
  13. <!-- Styles -->
  14. <link href="{{ mix('css/panel.css') }}" rel="stylesheet">
  15. @yield('style')
  16. </head>
  17. <body class="app sidebar-mini" style="overflow-y: scroll;">
  18. <div id="app">
  19. @component('panel.layouts.navbar')
  20. @endcomponent
  21. @component('panel.layouts.sidebar')
  22. @endcomponent
  23. <main class="app-content">
  24. @yield('content')
  25. </main>
  26. </div>
  27. <!-- Scripts -->
  28. <script src="{{ mix('js/panel.js') }}"></script>
  29. @include('sweet::alert')
  30. @yield('script')
  31. </body>
  32. </html>