From a3a761c348e942fc7c2f421cd6ab5195a1d4a445 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Tue, 11 May 2021 22:09:36 -0600 Subject: [PATCH] Update app layout --- resources/views/layouts/app.blade.php | 204 +++++++++++++------------- 1 file changed, 104 insertions(+), 100 deletions(-) diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index 35b796096..ac8670c08 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -2,82 +2,86 @@ @auth - - - - + + + + - + - {{ $title ?? config('app.name', 'Pixelfed') }} - + {{ $title ?? config_cache('app.name') }} + - - - - - @stack('meta') + + + + + @stack('meta') + + + + + + + + @if(request()->cookie('dark-mode')) + + + @else + + + @endif + + @stack('styles') + + @if(config_cache('uikit.show_custom.css')) + + @endif + + - - - - - - - @if(request()->cookie('dark-mode')) - - - @else - - - @endif - - @stack('styles') - - - - @include('layouts.partial.nav') -
- @yield('content') - -
- @include('layouts.partial.footer') - - - - - @stack('scripts') -
-
-
- -
-
+ @include('layouts.partial.nav') +
+ @yield('content') + +
+ @include('layouts.partial.footer') + + + + + @stack('scripts') + + @endauth @@ -85,41 +89,41 @@ @guest - - - - + + + + - {{ $title ?? config('app.name', 'Pixelfed') }} - + {{ $title ?? config('app.name', 'Pixelfed') }} + - - - - - @stack('meta') + + + + + @stack('meta') - - - - - - - - - @stack('styles') + + + + + + + + + @stack('styles') - @include('layouts.partial.nav') -
- @yield('content') -
- @include('layouts.partial.footer') - - - - - @stack('scripts') + @include('layouts.partial.nav') +
+ @yield('content') +
+ @include('layouts.partial.footer') + + + + + @stack('scripts') @endguest