app.blade.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. <link href="{{ mix('css/product.css') }}" rel="stylesheet">
  16. @yield('style')
  17. </head>
  18. <body class="app sidebar-mini" style="overflow-y: scroll;">
  19. <div id="app">
  20. @component('panel.layouts.navbar')
  21. @endcomponent
  22. @component('panel.layouts.sidebar')
  23. @endcomponent
  24. <main class="app-content">
  25. @yield('content')
  26. </main>
  27. </div>
  28. <!-- Scripts -->
  29. {{--script for tinymce editor--}}
  30. <script src='https://cloud.tinymce.com/stable/tinymce.min.js'></script>
  31. <script src="{{ mix('js/panel.js') }}"></script>
  32. <script src="{{ mix('js/product.js') }}"></script>
  33. @include('sweet::alert')
  34. @yield('script')
  35. </body>
  36. </html>