ldc-boutique-cnc-themes/views/layout.blade.php
2024-01-24 17:31:41 +01:00

51 lines
1.6 KiB
PHP

<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>@include('theme::layouts.head')</head>
<body class="d-flex flex-column h-100">
@include('theme::layouts.header')
<main class="flex-grow-1 d-flex flex-column justify-content-between mt-5" role="main">
<div class="container-xxl">
<div class="row">
<div class="col px-xxl-3 px-5">
@include('theme::breadcrumb.breadcrumb-body')
</div>
</div>
<div class="row justify-content-center">
<div class="col-12 col-md-8">
@include('theme::modules.flashMessage')
</div>
</div>
<div class="row">
<div class="col">
@yield('content')
</div>
</div>
</div>
<div class="mw-100 container">
@include('theme::layouts.subscribe')
</div>
</main>
<footer class="footer mt-auto py-3">
@include('theme::layouts.footer')
</footer>
@can('useBasketSystem', \App\Models\Merchandise\Product::class)
<div id="basket-side-panel"></div>
<script nonce="{{ $nonce ?? '' }}">
window.__CART = {
canUseBasket: true
};
</script>
@endcan
@include('theme::modules.scriptRoutes')
<script nonce="{{ $nonce }}" src="{{ mix('theme/js/app.js', 'build') }}"></script>
@include('theme::vendor.cn-cookies')
@stack('scriptConstants')
@stack('scripts')
</body>
</html>