Files
opensem/resources/views/Shop/layout/layout.blade.php
Ludovic CANDELLIER 9698ba54d0 fixes
2022-12-22 01:09:11 +01:00

72 lines
1.9 KiB
PHP

<!doctype html>
<html lang="fr">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="robots" content="noindex, nofollow">
<meta name="csrf-token" content="{{ csrf_token() }}">
<title>Jardin'enVie</title>
<meta name="description" content="Vente de semences, variété anciennes">
<meta name="keywords" content="">
<link rel="icon" type="image/vnd.microsoft.icon" href="img/favicon.ico">
<link rel="shortcut icon" type="image/x-icon" href="img/favicon.ico">
<link rel="stylesheet" href="/css/site.min.css" type="text/css" media="all">
@stack('css')
</head>
<body class="bg-green-dark">
<div class="container bg-green-ultra-dark" style="min-height: 100vh;">
<main>
@include("Shop.layout.partials.header")
<div class="content-wrapper">
<section class="content">
<div class="container-fluid p-0">
@yield('content')
</div>
</section>
</div>
@include("Shop.layout.partials.footer")
</main>
</div>
<script type="text/javascript" src="/js/site.min.js" ></script>
@stack('scripts')
<script>
$.ajaxSetup({headers: {'X-CSRF-TOKEN': '{{ csrf_token() }}'}});
</script>
@if(Session::has('growl'))
<script>
$(function() {
@if(is_array(Session::get('growl')))
growl("{!! Session::get('growl')[0] !!}", "{{ Session::get('growl')[1] }}");
@else
growl("{{Session::get('growl')}}");
@endif
});
</script>
@endif
<script>
function refreshBasketTop() {
$.get("{{ route('Shop.Basket.getSummary') }}", function(response) {
$('#count-basket').html(response.data.quantity);
$('#total-basket').html(response.data.total);
});
}
</script>
@stack('js')
</body>
</html>