2018-04-16 00:00:49 +00:00
|
|
|
<!DOCTYPE html>
|
2019-11-11 01:22:21 +00:00
|
|
|
@auth
|
2018-04-16 00:00:49 +00:00
|
|
|
<html lang="{{ app()->getLocale() }}">
|
|
|
|
<head>
|
2021-05-12 04:09:36 +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
|
|
|
|
2021-05-12 04:09:36 +00:00
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2018-06-02 18:11:08 +00:00
|
|
|
|
2021-05-12 04:09:36 +00:00
|
|
|
<title>{{ $title ?? config_cache('app.name') }}</title>
|
2023-03-25 09:38:38 +00:00
|
|
|
<link rel="manifest" href="{{url('/manifest.json')}}">
|
2024-09-13 06:07:03 +00:00
|
|
|
<meta property="og:logo" content="{{ url('/img/pixelfed-icon-color.png')}}" />
|
2024-01-03 08:54:30 +00:00
|
|
|
<meta property="og:site_name" content="Pixelfed">
|
|
|
|
<meta property="og:title" content="{{ $ogTitle ?? $title ?? config_cache('app.name') }}">
|
|
|
|
<meta property="og:type" content="{{ $ogType ?? 'article' }}">
|
2021-05-12 04:09:36 +00:00
|
|
|
<meta property="og:url" content="{{url(request()->url())}}">
|
|
|
|
@stack('meta')
|
|
|
|
|
|
|
|
<meta name="medium" content="image">
|
|
|
|
<meta name="theme-color" content="#10c5f8">
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
2023-03-25 09:38:38 +00:00
|
|
|
<link rel="shortcut icon" type="image/png" href="{{url('/img/favicon.png?v=2')}}">
|
|
|
|
<link rel="apple-touch-icon" type="image/png" href="{{url('/img/favicon.png?v=2')}}">
|
2021-05-12 04:09:36 +00:00
|
|
|
<link rel="canonical" href="{{url(request()->url())}}">
|
|
|
|
@if(request()->cookie('dark-mode'))
|
|
|
|
|
|
|
|
<link href="{{ mix('css/appdark.css') }}" rel="stylesheet" data-stylesheet="dark">
|
|
|
|
@else
|
|
|
|
|
|
|
|
<link href="{{ mix('css/app.css') }}" rel="stylesheet" data-stylesheet="light">
|
|
|
|
@endif
|
|
|
|
|
|
|
|
@stack('styles')
|
|
|
|
|
|
|
|
@if(config_cache('uikit.show_custom.css'))
|
|
|
|
<style type="text/css">{!!config_cache('uikit.custom.css')!!}</style>
|
|
|
|
@endif
|
|
|
|
|
|
|
|
<script type="text/javascript">window._sharedData = {curUser: {}, version: 0}; window.App = {config: {!!App\Util\Site\Config::json()!!}};</script>
|
2018-04-17 01:26:53 +00:00
|
|
|
|
2018-04-16 00:00:49 +00:00
|
|
|
</head>
|
2019-11-11 01:22:21 +00:00
|
|
|
<body class="loggedIn">
|
2021-05-12 04:09:36 +00:00
|
|
|
@include('layouts.partial.nav')
|
|
|
|
<main id="content">
|
|
|
|
@yield('content')
|
|
|
|
<noscript>
|
|
|
|
<div class="container">
|
|
|
|
<p class="pt-5 text-center lead">Please enable javascript to view this content.</p>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</noscript>
|
|
|
|
</main>
|
|
|
|
@include('layouts.partial.footer')
|
|
|
|
<script type="text/javascript" src="{{ mix('js/manifest.js') }}"></script>
|
|
|
|
<script type="text/javascript" src="{{ mix('js/vendor.js') }}"></script>
|
|
|
|
<script type="text/javascript" src="{{ mix('js/app.js') }}"></script>
|
|
|
|
<script type="text/javascript" src="{{ mix('js/components.js') }}"></script>
|
|
|
|
@stack('scripts')
|
2018-04-16 00:00:49 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
2019-11-11 01:22:21 +00:00
|
|
|
@endauth
|
|
|
|
|
|
|
|
@guest
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
2021-05-12 04:09:36 +00:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
2023-03-25 09:38:38 +00:00
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
|
2021-05-12 04:09:36 +00:00
|
|
|
<meta name="mobile-web-app-capable" content="yes">
|
2019-11-11 01:22:21 +00:00
|
|
|
|
2024-03-12 12:42:12 +00:00
|
|
|
<title>{{ $title ?? config_cache('app.name', 'Pixelfed') }}</title>
|
2021-05-12 04:09:36 +00:00
|
|
|
<link rel="manifest" href="/manifest.json">
|
2024-09-13 06:07:03 +00:00
|
|
|
<meta property="og:logo" content="{{ url('/img/pixelfed-icon-color.png')}}" />
|
2024-01-03 08:54:30 +00:00
|
|
|
<meta property="og:site_name" content="Pixelfed">
|
2024-03-12 12:42:12 +00:00
|
|
|
<meta property="og:title" content="{{ $ogTitle ?? $title ?? config_cache('app.name', 'pixelfed') }}">
|
2024-01-03 08:54:30 +00:00
|
|
|
<meta property="og:type" content="{{ $ogType ?? 'article' }}">
|
2021-05-12 04:09:36 +00:00
|
|
|
<meta property="og:url" content="{{url(request()->url())}}">
|
|
|
|
@stack('meta')
|
2019-11-11 01:22:21 +00:00
|
|
|
|
2021-05-12 04:09:36 +00:00
|
|
|
<meta name="medium" content="image">
|
|
|
|
<meta name="theme-color" content="#10c5f8">
|
|
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
|
|
<link rel="shortcut icon" type="image/png" href="/img/favicon.png?v=2">
|
|
|
|
<link rel="apple-touch-icon" type="image/png" href="/img/favicon.png?v=2">
|
|
|
|
<link rel="canonical" href="{{url(request()->url())}}">
|
|
|
|
<link href="{{ mix('css/app.css') }}" rel="stylesheet" data-stylesheet="light">
|
|
|
|
<script type="text/javascript">window._sharedData = {curUser: {}, version: 0}; window.App = {config: {!!App\Util\Site\Config::json()!!}};</script>
|
|
|
|
@stack('styles')
|
2019-11-11 01:22:21 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2021-05-12 04:09:36 +00:00
|
|
|
@include('layouts.partial.nav')
|
|
|
|
<main id="content">
|
|
|
|
@yield('content')
|
|
|
|
</main>
|
|
|
|
@include('layouts.partial.footer')
|
|
|
|
<script type="text/javascript" src="{{ mix('js/manifest.js') }}"></script>
|
|
|
|
<script type="text/javascript" src="{{ mix('js/vendor.js') }}"></script>
|
|
|
|
<script type="text/javascript" src="{{ mix('js/app.js') }}"></script>
|
|
|
|
<script type="text/javascript" src="{{ mix('js/components.js') }}"></script>
|
|
|
|
@stack('scripts')
|
2019-11-11 01:22:21 +00:00
|
|
|
</body>
|
|
|
|
</html>
|
|
|
|
@endguest
|