50 lines
No EOL
1.5 KiB
PHP
50 lines
No EOL
1.5 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>
|
|
@hasSection('bannerHeader')
|
|
<div class="row banner-header-wrapper position-relative {{ $page }}">
|
|
<div class="breadcrumb-wrapper mt-6">
|
|
@include('./fo/modules/breadcrumb/breadcrumb-body')
|
|
</div>
|
|
@yield('bannerHeader')
|
|
</div>
|
|
@else
|
|
@if(!is_null(request()->route()) && !in_array(request()->route()->getName(), ["home","tips.show","recipes.show"]))
|
|
@if(request()->route()->getName() == "products.show")
|
|
<div class="mt-6 wrapper-xxl px-0 px-lg-5 px-xxl-10">
|
|
@else
|
|
<div class="mt-6">
|
|
@endif
|
|
@include('./fo/modules/breadcrumb/breadcrumb-body')
|
|
</div>
|
|
@endif
|
|
@endif
|
|
@yield('content')
|
|
</main>
|
|
@include('fo.partials.footer')
|
|
</div>
|
|
|
|
@include('fo.libs.ldcweb-cookies')
|
|
|
|
</body>
|
|
|
|
<!-- Scripts -->
|
|
@include('fo.modules.scriptConstants')
|
|
@stack('scriptsConstants')
|
|
<script src="{{ mix('js/front.js', 'build') }}"></script>
|
|
@stack('scripts')
|
|
|
|
</html> |