This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
site-base/spark/resources/views/layouts/blade/app.blade.php
2017-11-03 16:26:07 +11:00

45 lines
1.2 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<!-- Meta Information -->
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>@yield('title', config('app.name'))</title>
<!-- Fonts -->
<link href='https://fonts.googleapis.com/css?family=Open+Sans:300,400,600' rel='stylesheet' type='text/css'>
<link href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.5.0/css/font-awesome.min.css' rel='stylesheet' type='text/css'>
<!-- CSS -->
<link href="/css/app.css" rel="stylesheet">
<!-- Scripts -->
@yield('scripts', '')
<!-- Global Spark Object -->
<script>
window.Spark = <?php echo json_encode(array_merge(
Spark::scriptVariables(), []
)); ?>;
</script>
</head>
<body class="with-navbar">
<div>
<!-- Navigation -->
@if (Auth::check())
@include('spark::nav.blade.user')
@else
@include('spark::nav.guest')
@endif
<!-- Main Content -->
@yield('content')
<!-- JavaScript -->
<script src="/js/app.js"></script>
</div>
</body>
</html>