1
0
mirror of https://github.com/devfake/flox.git synced 2024-11-15 14:42:31 +01:00
flox/client/resources/app.blade.php
2017-04-11 15:46:19 +02:00

41 lines
1.1 KiB
PHP

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta id="token" content="{{ csrf_token() }}">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=0">
<title>Flox</title>
<link rel="stylesheet" href="{{ url('assets/app.css') }}">
<link href="{{ url('assets/favicon.ico?v=3') }}" rel="icon" type="image/x-icon">
</head>
<body
data-url="{{ url('/') }}"
data-uri="{{ config('app.CLIENT_URI') }}"
data-poster-tmdb="{{ config('services.tmdb.poster') }}"
data-poster-subpage-tmdb="{{ config('services.tmdb.poster_subpage') }}"
data-backdrop-tmdb="{{ config('services.tmdb.backdrop') }}"
data-auth="{{ Auth::check() }}"
data-language="{{ $lang }}"
class="{{ Auth::check() ? 'logged' : 'guest' }}"
>
<div id="app">
@if(Request::is('login'))
<login></login>
@else
<modal></modal>
<site-header></site-header>
<search></search>
<router-view></router-view>
<site-footer></site-footer>
@endif
</div>
<script src="{{ url('assets/vendor.js') }}"></script>
<script src="{{ url('assets/app.js') }}"></script>
</body>
</html>