From 6ca6c5bc78889c49f95f0806adc71539c271d7c8 Mon Sep 17 00:00:00 2001 From: Kaishiyoku Date: Sat, 28 Nov 2020 15:54:48 +0100 Subject: [PATCH] adjusted welcome page styling --- resources/views/layouts/app_welcome.blade.php | 46 +++++++++++++------ 1 file changed, 31 insertions(+), 15 deletions(-) diff --git a/resources/views/layouts/app_welcome.blade.php b/resources/views/layouts/app_welcome.blade.php index eb2f8f1..c7ff39d 100644 --- a/resources/views/layouts/app_welcome.blade.php +++ b/resources/views/layouts/app_welcome.blade.php @@ -21,26 +21,42 @@ @include('flash::message') -
-
- {{ Html::link('/', config('app.name', 'Laravel')) }} +
+
+
+
+ {{ Html::link('/', config('app.name', 'Laravel')) }} +
+ + @if (Route::has('login')) +
+ @guest + {{ Html::linkRoute('login', __('common.nav.login'), null, ['class' => 'text-primary-300 hover:text-white uppercase pr-4 transition-all duration-200']) }} + + @if (Route::has('register')) + {{ Html::linkRoute('register', __('common.nav.register'), null, ['class' => 'text-primary-300 hover:text-white uppercase pl-4 transition-all duration-200']) }} + @endif + @endauth +
+ @endif +
- @if (Route::has('login')) -
- @guest - {{ Html::linkRoute('login', __('common.nav.login'), null, ['class' => 'text-primary-300 hover:text-white uppercase pr-4 transition-all duration-200']) }} - - @if (Route::has('register')) - {{ Html::linkRoute('register', __('common.nav.register'), null, ['class' => 'text-primary-300 hover:text-white uppercase pl-4 transition-all duration-200']) }} - @endif - @endauth -
- @endif + + + + + + + + +
- @yield('content') +
+ @yield('content') +