41 lines
1.2 KiB
PHP
41 lines
1.2 KiB
PHP
<!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>
|
|
|
|
<!-- Styles -->
|
|
<link href="{{ mix('css/app.css', 'build') }}" rel="stylesheet">
|
|
<link href="{{ mix('css/jquery.fancybox.min.css', 'build') }}" rel="stylesheet">
|
|
</head>
|
|
|
|
<body>
|
|
<div class="wrapper">
|
|
@auth
|
|
@include('layouts.menu')
|
|
@endauth
|
|
<main>
|
|
@auth
|
|
@include('layouts.header')
|
|
@endauth
|
|
<section class="@unless (Auth::check()) logout @endunless">
|
|
<div class="content-wrapper @unless (Auth::check()) logout @endunless">
|
|
@yield('content')
|
|
</div>
|
|
</section>
|
|
</main>
|
|
</div>
|
|
</body>
|
|
<!-- Scripts -->
|
|
<script src="{{ mix('js/app.js', 'build') }}"></script>
|
|
<script src="{{ mix('js/ajax.js', 'build') }}"></script>
|
|
<script src="{{ mix('js/jquery.fancybox.min.js', 'build') }}"></script>
|
|
@yield('scripts')
|
|
|
|
</html>
|