View file public/themes/default/theme.blade.php

File size: 1.47Kb
  1. <!DOCTYPE html>
  2. <html lang="{{ setting('language') }}">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="theme-color" content="#2e8cc2">
  6. <meta name="description" content="@yield('description', setting('description'))">
  7. <meta name="generator" content="Rotor {{ VERSION }}">
  8. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  9. <meta name="viewport" content="width=device-width, initial-scale=1">
  10. <title>@yield('title') - {{ setting('title') }}</title>
  11. <link href="/favicon.ico" rel="icon">
  12. <link href="/assets/img/images/icon.png" rel="image_src">
  13. <link href="/news/rss" title="RSS News" type="application/rss+xml" rel="alternate">
  14. <link rel="stylesheet" type="text/css" href="{{ mix('/themes/default/dist/app.css') }}">
  15. @stack('styles')
  16. </head>
  17. <body class="app">
  18.  
  19. @include('navbar')
  20. @include('sidebar')
  21.  
  22. <main class="app-content">
  23. <div class="app-title">
  24. @yield('header')
  25. @yield('breadcrumb')
  26. </div>
  27.  
  28. @yield('flash')
  29.  
  30. <div class="mb-2">
  31. @yield('advertTop')
  32. @yield('advertAdmin')
  33. @yield('advertUser')
  34. </div>
  35.  
  36. @yield('content')
  37. @yield('advertBottom')
  38. </main>
  39.  
  40. @include('footer')
  41. <script src="{{ mix('/assets/js/dist/manifest.js') }}"></script>
  42. <script src="{{ mix('/assets/js/dist/vendor.js') }}"></script>
  43. <script src="{{ mix('/assets/js/dist/lang.js') }}"></script>
  44. <script src="{{ mix('/themes/default/dist/app.js') }}"></script>
  45. @stack('scripts')
  46. <div class="scrollup"></div>
  47. </body>
  48. </html>