ldc-lionor/resources/views/fo/layout.blade.php

46 lines
1.7 KiB
PHP
Raw Permalink Normal View History

2023-03-07 10:55:12 +00:00
<!doctype html>
<html dir="ltr" lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
@include('fo.layouts.head')
</head>
<body>
2023-03-09 10:27:19 +00:00
@include('fo.layouts.header')
2023-03-20 13:17:58 +00:00
2023-10-09 14:56:24 +02:00
<main class="container-fluid @yield('bg-color') p-0">
2023-03-09 10:27:19 +00:00
@yield('content')
2023-03-07 10:55:12 +00:00
</main>
2023-03-20 13:17:58 +00:00
<!-- Modal -->
@if (!request()->routeIs('map') && now()->lessThan(\Carbon\Carbon::make('2024-07-01')))
<div class="modal fade" id="adModal" aria-labelledby="adModalLabel" aria-hidden="true" tabindex="-1">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button class="btn-close" data-bs-dismiss="modal" type="button" aria-label="Close"></button>
</div>
<div class="modal-body p-0">
<a id="adModalLink" href="{{ route('map') }}" title="{{ __('Où nous trouver ?') }}">
<img class="img-fluid" src="{{ Vite::asset('resources/assets/images/2024-ad.png') }}"
title="{{ __('Tentez de gagner un cadeau en achetant un produit Lionor') }}"
alt="{{ __('Du 27 mai au 30 juin, tentez de gagner 1 brasero, 1 escapade culinaire, 1 plancha Tefal ou l\'un des 50 sets barbecue à l\'achat d\'un produit Lionor') }}">
</a>
</div>
</div>
</div>
</div>
@endif
2023-03-09 10:27:19 +00:00
@include('fo.layouts.footer')
2023-08-28 08:46:47 +00:00
@include('vendor.cn-cookies')
2023-03-20 13:17:58 +00:00
2023-08-28 08:46:47 +00:00
@stack('script-constants')
@include('modules.script-constants')
@include('modules.script-routes')
2023-10-09 14:56:24 +02:00
@vite(['resources/ts/fo/fo.ts'])
2023-08-28 08:46:47 +00:00
@stack('scripts')
2023-03-07 10:55:12 +00:00
</body>
2023-08-28 08:46:47 +00:00
2023-10-09 14:56:24 +02:00
</html>