From b30ac7f87b20217567e2c69eb6ec091d4093173a Mon Sep 17 00:00:00 2001 From: David Bomba Date: Thu, 8 Jul 2021 12:22:34 +1000 Subject: [PATCH] Additional clean theme outside of PortalCompany scope --- .../auth/confirmation_with_password.blade.php | 2 +- .../themes/ninja2020/auth/confirmed.blade.php | 2 +- .../views/themes/ninja2020/clean.blade.php | 113 ++++++++++++++++++ 3 files changed, 115 insertions(+), 2 deletions(-) create mode 100644 resources/views/themes/ninja2020/clean.blade.php diff --git a/resources/views/themes/ninja2020/auth/confirmation_with_password.blade.php b/resources/views/themes/ninja2020/auth/confirmation_with_password.blade.php index ee02e834ee61..e48908e03570 100644 --- a/resources/views/themes/ninja2020/auth/confirmation_with_password.blade.php +++ b/resources/views/themes/ninja2020/auth/confirmation_with_password.blade.php @@ -1,4 +1,4 @@ -@extends('portal.ninja2020.layout.clean') +@extends('themes.ninja2020.clean') @section('meta_title', ctrans('texts.set_password')) @section('body') diff --git a/resources/views/themes/ninja2020/auth/confirmed.blade.php b/resources/views/themes/ninja2020/auth/confirmed.blade.php index 481839e44891..7bbad769ec40 100644 --- a/resources/views/themes/ninja2020/auth/confirmed.blade.php +++ b/resources/views/themes/ninja2020/auth/confirmed.blade.php @@ -1,4 +1,4 @@ -@extends('portal.ninja2020.layout.clean') +@extends('themes.ninja2020.clean') @section('meta_title', ctrans('texts.confirmation')) @section('body') diff --git a/resources/views/themes/ninja2020/clean.blade.php b/resources/views/themes/ninja2020/clean.blade.php new file mode 100644 index 000000000000..066d25096bd0 --- /dev/null +++ b/resources/views/themes/ninja2020/clean.blade.php @@ -0,0 +1,113 @@ + + + + + + + @if (config('services.analytics.tracking_id')) + + + + @else + + @endif + + + @auth() + @yield('meta_title', '') — {{ auth('contact')->user()->user->account->isPaid() ? auth('contact')->user()->company->present()->name() : 'Invoice Ninja' }} + @endauth + + @guest + @yield('meta_title', '') — {{ config('app.name') }} + @endguest + + + + + + + + + + + + + + + + + + + {{-- --}} + + + + {{-- Feel free to push anything to header using @push('header') --}} + @stack('head') + + @livewireStyles + + + + + + @if(session()->has('message')) +
+ {{ session('message') }} +
+ @endif + + @yield('body') + + @livewireScripts + + + + + + + +