ldc-tousenselle/resources/views/layouts/app.blade.php

32 lines
1,001 B
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') }}@hasSection('title') - @yield('title')@endif</title>
@preload()
<!-- Fonts -->
<link rel="preconnect" href="https://fonts.gstatic.com">
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@400;700;900&display=swap" rel="stylesheet">
<!-- Styles -->
<link href="{{ asset('css/preload-app.css') }}" rel="stylesheet">
@stack('styles')
</head>
<body>
@include('modules.navbar')
<div id="app" @if(!request()->gameStarted) class="teaser" @endif>
@yield('content')
</div>
@include('modules.footer')
<!-- Scripts -->
<script src="{{ asset('js/preload-app.js') }}" defer></script>
@stack('scripts')
</body>
</html>