ldc-le-gaulois-pro/resources/views/fo/frontend.blade.php

50 lines
1.5 KiB
PHP
Raw Normal View History

2022-09-08 11:36:15 +02:00
<!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>
2022-09-08 11:36:15 +02:00
<main>
2023-02-23 08:43:08 +00:00
@hasSection('bannerHeader')
<div class="row banner-header-wrapper position-relative {{ $page }}">
<div class="breadcrumb-wrapper mt-6">
2023-02-27 11:49:12 +01:00
@include('./fo/modules/breadcrumb/breadcrumb-body')
2023-02-23 08:43:08 +00:00
</div>
@yield('bannerHeader')
</div>
@else
2023-02-27 11:49:12 +01:00
@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">
2023-02-23 08:43:08 +00:00
@else
<div class="mt-6">
2023-02-27 11:49:12 +01:00
@endif
@include('./fo/modules/breadcrumb/breadcrumb-body')
2023-02-23 08:43:08 +00:00
</div>
2023-02-27 11:49:12 +01:00
@endif
@endif
@yield('content')
2022-09-08 11:36:15 +02:00
</main>
@include('fo.partials.footer')
</div>
@include('fo.libs.ldcweb-cookies')
</body>
<!-- Scripts -->
2023-01-10 17:29:22 +01:00
@include('fo.modules.scriptConstants')
@stack('scriptsConstants')
<script src="{{ mix('js/front.js', 'build') }}"></script>
@stack('scripts')
2023-02-27 11:49:12 +01:00
</html>