app.blade.php 1000 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <!doctype html>
  2. <html lang="fa" dir="rtl">
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1">
  6. <!-- CSRF Token -->
  7. <meta name="csrf-token" content="{{ csrf_token() }}">
  8. <title>@yield('title')</title>
  9. <!-- Fonts -->
  10. <link rel="dns-prefetch" href="//fonts.gstatic.com">
  11. <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">
  12. <!-- Styles -->
  13. <link href="{{ mix('css/home.css') }}" rel="stylesheet">
  14. @yield('style')
  15. </head>
  16. <body>
  17. <div id="app">
  18. @component('home.layouts.navbar')
  19. @endcomponent
  20. @yield('content_top')@yield('content')
  21. @component('home.layouts.footer')
  22. @endcomponent
  23. </div>
  24. <!-- Scripts -->
  25. <script>let baseUrl = "{{ URL::to('/') }}";</script>
  26. @if(!isset($without_home_js))
  27. <script src="{{ mix('js/home.js') }}"></script>
  28. @endif
  29. <script>
  30. </script>
  31. @yield('script')
  32. </body>
  33. </html>