|
26 | 26 | @config('design/head/includes') |
27 | 27 | </head> |
28 | 28 | <body class="text-neutral antialiased"> |
29 | | - <div id="app" class="flex flex-col min-h-dvh"> |
30 | | - @includeWhen(!request()->is('checkout'), 'rapidez::layouts.partials.header') |
31 | | - @includeWhen(request()->is('checkout'), 'rapidez::layouts.checkout.header') |
32 | | - <main> |
33 | | - @yield('content') |
34 | | - </main> |
35 | | - @includeWhen(!request()->is('checkout'), 'rapidez::layouts.partials.footer') |
36 | | - @includeWhen(request()->is('checkout'), 'rapidez::layouts.checkout.footer') |
37 | | - @stack('page_end') |
38 | | - </div> |
| 29 | + <div id="turbo-wrapper" class="contents"> |
| 30 | + <div id="app" class="flex flex-col min-h-dvh"> |
| 31 | + @includeWhen(!request()->is('checkout'), 'rapidez::layouts.partials.header') |
| 32 | + @includeWhen(request()->is('checkout'), 'rapidez::layouts.checkout.header') |
| 33 | + <main> |
| 34 | + @yield('content') |
| 35 | + </main> |
| 36 | + @includeWhen(!request()->is('checkout'), 'rapidez::layouts.partials.footer') |
| 37 | + @includeWhen(request()->is('checkout'), 'rapidez::layouts.checkout.footer') |
| 38 | + @stack('page_end') |
| 39 | + </div> |
39 | 40 |
|
40 | | - <script>window.config = @json(config('frontend'));</script> |
41 | | - @if (session('notifications')) |
42 | | - <script async> |
43 | | - document.addEventListener('vue:loaded', function() { |
44 | | - @foreach (session('notifications') ?? [] as $notification) |
45 | | - window.Notify('{{ $notification['message'] }}', '{{ $notification['type'] ?? 'success' }}') |
46 | | - @endforeach |
47 | | - }); |
48 | | - </script> |
49 | | - @endif |
50 | | - @stack('foot') |
51 | | - <svg hidden class="hidden"> |
52 | | - @stack('bladeicons') |
53 | | - </svg> |
| 41 | + <script>window.config = @json(config('frontend'));</script> |
| 42 | + @if (session('notifications')) |
| 43 | + <script async> |
| 44 | + document.addEventListener('vue:loaded', function() { |
| 45 | + @foreach (session('notifications') ?? [] as $notification) |
| 46 | + window.Notify('{{ $notification['message'] }}', '{{ $notification['type'] ?? 'success' }}') |
| 47 | + @endforeach |
| 48 | + }); |
| 49 | + </script> |
| 50 | + @endif |
| 51 | + @stack('foot') |
| 52 | + <svg hidden class="hidden"> |
| 53 | + @stack('bladeicons') |
| 54 | + </svg> |
| 55 | + </div> |
54 | 56 | </body> |
55 | 57 | </html> |
0 commit comments