mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-29 09:43:16 +00:00
Update app layout
This commit is contained in:
parent
d60f5c314a
commit
a3a761c348
1 changed files with 104 additions and 100 deletions
|
@ -9,11 +9,11 @@
|
||||||
|
|
||||||
<meta name="mobile-web-app-capable" content="yes">
|
<meta name="mobile-web-app-capable" content="yes">
|
||||||
|
|
||||||
<title>{{ $title ?? config('app.name', 'Pixelfed') }}</title>
|
<title>{{ $title ?? config_cache('app.name') }}</title>
|
||||||
<link rel="manifest" href="/manifest.json">
|
<link rel="manifest" href="/manifest.json">
|
||||||
|
|
||||||
<meta property="og:site_name" content="{{ config('app.name', 'pixelfed') }}">
|
<meta property="og:site_name" content="{{ config_cache('app.name') }}">
|
||||||
<meta property="og:title" content="{{ $title ?? config('app.name', 'pixelfed') }}">
|
<meta property="og:title" content="{{ $title ?? config_cache('app.name') }}">
|
||||||
<meta property="og:type" content="article">
|
<meta property="og:type" content="article">
|
||||||
<meta property="og:url" content="{{url(request()->url())}}">
|
<meta property="og:url" content="{{url(request()->url())}}">
|
||||||
@stack('meta')
|
@stack('meta')
|
||||||
|
@ -34,6 +34,10 @@
|
||||||
|
|
||||||
@stack('styles')
|
@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>
|
<script type="text/javascript">window._sharedData = {curUser: {}, version: 0}; window.App = {config: {!!App\Util\Site\Config::json()!!}};</script>
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
@ -54,8 +58,8 @@
|
||||||
<script type="text/javascript" src="{{ mix('js/app.js') }}"></script>
|
<script type="text/javascript" src="{{ mix('js/app.js') }}"></script>
|
||||||
<script type="text/javascript" src="{{ mix('js/components.js') }}"></script>
|
<script type="text/javascript" src="{{ mix('js/components.js') }}"></script>
|
||||||
@stack('scripts')
|
@stack('scripts')
|
||||||
<div class="d-block d-sm-none mt-5"></div>
|
<div class="mobile-footer-spacer d-block d-sm-none mt-5"></div>
|
||||||
<div class="d-block d-sm-none fixed-bottom">
|
<div class="mobile-footer d-block d-sm-none fixed-bottom">
|
||||||
<div class="card card-body rounded-0 py-2 box-shadow" style="border-top:1px solid #F1F5F8">
|
<div class="card card-body rounded-0 py-2 box-shadow" style="border-top:1px solid #F1F5F8">
|
||||||
<ul class="nav nav-pills nav-fill d-flex align-items-middle">
|
<ul class="nav nav-pills nav-fill d-flex align-items-middle">
|
||||||
<li class="nav-item">
|
<li class="nav-item">
|
||||||
|
|
Loading…
Reference in a new issue