53 lines
1.7 KiB
PHP
53 lines
1.7 KiB
PHP
<!doctype html>
|
|
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
|
|
|
|
<head>
|
|
@include('fo.partials.head')
|
|
</head>
|
|
|
|
<body>
|
|
<div id="app">
|
|
@include('fo.partials.header')
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col">@include('fo.modules.flashMessage')</div>
|
|
</div>
|
|
</div>
|
|
<main>
|
|
{{-- blade-formatter-disable --}}
|
|
@hasSection('bannerHeader')
|
|
<div class="row banner-header-wrapper position-relative {{ $page }}">
|
|
<div class="breadcrumb-wrapper mt-6">
|
|
@include('modules.breadcrumbs.breadcrumb-body')
|
|
</div>
|
|
@yield('bannerHeader')
|
|
</div>
|
|
@else
|
|
@if (
|
|
!is_null(request()->route()) &&
|
|
!in_array(request()->route()->getName(),
|
|
['fo.homepage', 'fo.tips.show', 'fo.recipes.show', 'fo.news.show']))
|
|
@if (request()->route()->getName() == 'fo.product.show')
|
|
<div class="wrapper-xxl px-lg-5 px-xxl-10 mt-6 px-0">
|
|
@else
|
|
<div class="mt-6">
|
|
@endif
|
|
@include('modules.breadcrumbs.breadcrumb-body')
|
|
</div>
|
|
@endif
|
|
@endif
|
|
@yield('content')
|
|
{{-- blade-formatter-enable --}}
|
|
</main>
|
|
@include('fo.partials.footer')
|
|
</div>
|
|
@include('fo.vendor.cn-cookies')
|
|
</body>
|
|
|
|
<!-- Scripts -->
|
|
@include('fo.modules.scriptConstants')
|
|
@stack('scriptsConstants')
|
|
@vite(['resources/ts/fo/fo.ts'])
|
|
@stack('scripts')
|
|
|
|
</html>
|