pixelfed/resources/views/layouts/app.blade.php

50 lines
1.8 KiB
PHP
Raw Normal View History

2018-04-16 00:00:49 +00:00
<!DOCTYPE html>
<html lang="{{ app()->getLocale() }}">
<head>
2018-04-16 01:55:24 +00:00
2018-04-16 00:00:49 +00:00
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="csrf-token" content="{{ csrf_token() }}">
2018-04-17 01:26:53 +00:00
<meta name="mobile-web-app-capable" content="yes">
2018-08-10 04:38:46 +00:00
<title>{{ $title ?? config('app.name', 'Laravel') }}</title>
<link rel="manifest" href="/manifest.json">
2018-08-10 04:38:46 +00:00
<meta property="og:site_name" content="{{ config('app.name', 'pixelfed') }}">
<meta property="og:title" content="{{ $title ?? config('app.name', 'pixelfed') }}">
<meta property="og:type" content="article">
<meta property="og:url" content="{{request()->url()}}">
2018-04-16 01:55:24 +00:00
@stack('meta')
2018-04-17 01:26:53 +00:00
<meta name="medium" content="image">
<meta name="theme-color" content="#10c5f8">
<meta name="apple-mobile-web-app-capable" content="yes">
2018-09-19 01:34:57 +00:00
<link rel="shortcut icon" type="image/png" href="/img/favicon.png?v=2">
<link rel="canonical" href="{{request()->url()}}">
2019-02-26 07:46:33 +00:00
<link href="{{ mix('css/app.css') }}" rel="stylesheet" data-stylesheet="light">
2018-04-16 01:55:24 +00:00
@stack('styles')
2018-11-09 03:58:54 +00:00
2018-04-16 00:00:49 +00:00
</head>
2018-11-20 02:44:27 +00:00
<body class="{{Auth::check()?'loggedIn':''}}">
2018-05-30 02:44:12 +00:00
@include('layouts.partial.nav')
2018-06-02 05:22:20 +00:00
<main id="content">
2018-05-30 02:44:12 +00:00
@yield('content')
</main>
2018-06-02 05:22:20 +00:00
@include('layouts.partial.footer')
<script type="text/javascript" src="{{ mix('js/app.js') }}"></script>
2018-11-09 03:58:54 +00:00
<script type="text/javascript" src="{{ mix('js/components.js') }}"></script>
2018-04-16 01:55:24 +00:00
@stack('scripts')
2018-08-10 04:38:46 +00:00
@if(Auth::check())
<div class="modal" tabindex="-1" role="dialog" id="composeModal">
<div class="modal-dialog" role="document">
<div class="modal-content">
@include('timeline.partial.new-form')
</div>
</div>
</div>
@endif
2018-04-16 00:00:49 +00:00
</body>
</html>