<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}" data-layout="vertical" data-topbar="light"
      data-sidebar="dark" data-sidebar-size="lg" data-sidebar-image="none" data-preloader="disable"
      data-layout-mode="light">
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">

    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">

    <title>@yield('title',  'Панель управления ' . config('app.name') )</title>

    <!-- Header assets -->
    @section('head-assets')
        @include('components.head')
    @show

    @yield('custom-head-scripts')
    <!-- Scripts -->
    {{--    @vite(['resources/sass/app.scss', 'resources/js/app.js'])--}}
</head>
<body>

<div id="layout-wrapper">

    @section('header')
        @include('components.header')
    @show

    @section('menu')
        @include('components.dashboardMenu')
    @show
    <div class="main-content">
        <div class="page-content">
            <div class="container-fluid">
        @yield('content')
            </div>
        </div>
    </div>


@section('footer')
    @include('components.footer')
@show

</div>

@section('footer-assets')
    @include('components.footer-assets')
@show

@yield('custom-scripts-footer')
</body>
</html>
