<!doctype html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<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>{{ config('app.name', 'Laravel') }}</title>

    <!-- Scripts -->
    <script src="{{ asset('js/app.js') }}?{{env("CSSJSVERSION")}}"></script>
    <script src="{{ asset('js/editor.js') }}"></script>
    <script src="{{ asset('js/all.js') }}?{{env("CSSJSVERSION")}}"></script>

    <!-- Fonts -->
    <link rel="dns-prefetch" href="//fonts.gstatic.com">
    <link href="https://fonts.googleapis.com/css?family=Nunito" rel="stylesheet">

    <!-- Styles -->
    <link href="{{ asset('css/app.css') }}?{{env("CSSJSVERSION")}}" rel="stylesheet">
    <link href="{{ asset('css/all.css') }}?{{env("CSSJSVERSION")}}" rel="stylesheet">
</head>
<body>
<div id="app">
    <main class="col-12 ms-sm-auto pt-2">
        @yield('content')
    </main>
</div>
</body>
<script>
    $.ajaxSetup({headers: {'X-CSRF-TOKEN': '{{csrf_token()}}'}});
</script>
</html>
