38 lines
1.3 KiB
PHP
38 lines
1.3 KiB
PHP
<!doctype html>
|
|
<html dir="ltr" lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
|
|
<head>
|
|
@include('fo.layouts.head')
|
|
</head>
|
|
|
|
<body class="d-flex flex-column min-vh-100">
|
|
@include('fo.layouts.header')
|
|
<main class="@hasSection('main-bg-class') @yield('main-bg-class') @endif @if (request()->routeIs('fo.products.show')) p-0 @endif">
|
|
@hasSection('banner') @yield('banner') @endif
|
|
<div class="container">
|
|
@sectionMissing('no-flash')
|
|
<div class="row container mx-auto">
|
|
<div class="col-12 p-0">
|
|
@include('modules.flash-messages')
|
|
</div>
|
|
</div>
|
|
@endif
|
|
<div class="row justify-content-center">
|
|
<div class="col-12 col-md-10 col-lg-8">
|
|
@include('modules.breadcrumbs.breadcrumb-body')
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@yield('content')
|
|
</main>
|
|
{{-- Preload textured-bg.jpg hack (prevent flickering on load) --}}
|
|
<img class="d-none" src="{{ Vite::asset('resources/assets/images/layout/textured-bg.jpg') }}" alt="" />
|
|
@include('fo.layouts.footer')
|
|
@stack('scripts-constants')
|
|
@include('vendor.cn-cookies')
|
|
@include('modules.script-routes')
|
|
@vite(['resources/ts/fo/fo.ts'])
|
|
@stack('scripts')
|
|
</body>
|
|
|
|
</html>
|