2015-07-08 03:34:58 -04:00
|
|
|
<!DOCTYPE html>
|
2017-02-06 23:44:07 -05:00
|
|
|
<html lang="{{ Language::getSessionLanguage() }}">
|
2022-05-23 21:01:33 -04:00
|
|
|
@php
|
|
|
|
$page_title = (isset($title) ? $title . ' - ' : '') . env('APP_NAME');
|
2023-08-01 15:24:03 -04:00
|
|
|
$device_mobile = !is_null(Request::header('User-Agent')) && (preg_match('/Mobi/', Request::header('User-Agent')) || preg_match('/iP(hone|ad|od);/', Request::header('User-Agent')));
|
2022-05-23 21:01:33 -04:00
|
|
|
@endphp
|
2016-10-16 21:32:07 -04:00
|
|
|
|
2015-07-08 03:34:58 -04:00
|
|
|
<head>
|
2019-03-19 14:29:29 -04:00
|
|
|
<meta charset="UTF-8" />
|
2016-10-15 16:53:14 -04:00
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
2019-04-03 17:10:46 -04:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no" />
|
2017-02-13 22:42:12 -05:00
|
|
|
<meta name="theme-color" content="#fcfcfc" />
|
2016-10-15 16:53:14 -04:00
|
|
|
|
2019-03-19 14:33:17 -04:00
|
|
|
<title>{{ $page_title }}</title>
|
|
|
|
|
2016-10-15 16:53:14 -04:00
|
|
|
<meta name="title" content="{{ $page_title }}" />
|
2017-09-26 11:42:00 -04:00
|
|
|
<meta name="description" content="{{ env('APP_DESC') }}" />
|
2016-10-15 16:53:14 -04:00
|
|
|
<meta name="dc:title" content="{{ $page_title }}" />
|
2017-09-26 11:42:00 -04:00
|
|
|
<meta name="dc:description" content="{{ env('APP_DESC') }}" />
|
2016-10-15 16:53:14 -04:00
|
|
|
|
|
|
|
<meta property="og:type" content="article" />
|
|
|
|
<meta property="og:title" content="{{ $page_title }}" />
|
2017-09-26 11:42:00 -04:00
|
|
|
<meta property="og:description" content="{{ env('APP_DESC') }}" />
|
2016-10-15 16:53:14 -04:00
|
|
|
<meta property="og:url" content="{{ Request::url() }}" />
|
|
|
|
<meta property="og:image" content="{{ asset('/img/logo.png') }}" />
|
|
|
|
|
|
|
|
<meta name="twitter:card" content="summary" />
|
|
|
|
<meta name="twitter:title" content="{{ $page_title }}" />
|
2017-09-26 11:42:00 -04:00
|
|
|
<meta name="twitter:description" content="{{ env('APP_DESC') }}" />
|
2016-10-15 16:53:14 -04:00
|
|
|
<meta name="twitter:image" content="{{ asset('/img/logo.png') }}" />
|
|
|
|
|
2020-04-24 22:09:23 -04:00
|
|
|
<link rel="shortcut icon" href="{{ URL::to('/') }}/favicon.ico?version={{ Version::get() }}" />
|
|
|
|
<link rel="icon" href="{{ URL::to('/') }}/favicon.ico?version={{ Version::get() }}" type="image/x-icon" />
|
|
|
|
<link rel="icon" href="{{ URL::to('/') }}/favicon.png?version={{ Version::get() }}" type="image/png" />
|
2016-10-15 16:53:14 -04:00
|
|
|
<link rel="canonical" href="{{ Request::url() }}" />
|
|
|
|
|
2016-01-26 23:20:08 -05:00
|
|
|
@yield('page-includes')
|
2015-07-08 03:34:58 -04:00
|
|
|
</head>
|
2016-05-23 22:35:33 -04:00
|
|
|
|
2017-11-21 23:12:31 -05:00
|
|
|
<body class="{{ $device_mobile ? 'mobile-browser' : 'desktop-browser' }}">
|
2024-03-11 17:16:33 -04:00
|
|
|
<div class="site-content">
|
|
|
|
@yield('page-top')
|
2016-08-16 19:33:02 -04:00
|
|
|
|
2024-03-11 17:16:33 -04:00
|
|
|
<div class="page-content">
|
|
|
|
@yield('page-content')
|
2018-04-24 20:38:04 -04:00
|
|
|
</div>
|
2024-03-11 17:16:33 -04:00
|
|
|
|
|
|
|
@yield('page-bottom')
|
2018-04-24 20:38:04 -04:00
|
|
|
</div>
|
2018-04-06 00:29:22 -04:00
|
|
|
|
2018-04-25 21:17:58 -04:00
|
|
|
@if(Config::get('app.debug') && Config::get('app.env') === 'local')
|
2018-04-06 00:29:22 -04:00
|
|
|
<script id="__bs_script__">//<![CDATA[
|
2022-03-23 13:55:18 -04:00
|
|
|
document.write("<script async src='http://HOST:3000/browser-sync/browser-sync-client.js?version={{ Version::get() }}'><\/script>".replace("HOST", location.hostname));
|
2018-04-06 00:29:22 -04:00
|
|
|
//]]></script>
|
|
|
|
@endif
|
2015-07-08 03:34:58 -04:00
|
|
|
</body>
|
|
|
|
</html>
|