<html lang="{{lang()}}">
<head>
	<meta charset="UTF-8" />
	<title>@yield('title')</title>
	@section('meta')
	@style()
</head>
<body>

	<div id="layout">
		@include('layout.nav')
	</div>

	<div id="main-content">
		@body()
	</div>

	@section('footer')

	<script type="text/javascript">
		var serverTime = new Date("@php $svrTime = new \DateTime(); echo $svrTime->format('Y-m-d H:i:s') @endphp");
		var socketUrl = "{{SOCKET_URL}}";
		var _curLang = "{{lang()}}"; 
	</script>
	@script()
</body>
</html>