From cf06ecf1c78ddaa7a89e6ff3446b9dfe466aa114 Mon Sep 17 00:00:00 2001 From: Fady Mondy Date: Fri, 22 Dec 2023 03:02:05 +0200 Subject: [PATCH] update setting ui and change it to be on one page --- resources/views/components/dropdown-item.blade.php | 6 +++--- resources/views/layouts/app.blade.php | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/resources/views/components/dropdown-item.blade.php b/resources/views/components/dropdown-item.blade.php index 1845ae0..14d020b 100644 --- a/resources/views/components/dropdown-item.blade.php +++ b/resources/views/components/dropdown-item.blade.php @@ -1,5 +1,5 @@ @if($type === 'button') - @elseif($type === 'link') - class([ + class([ 'text-black' => $black, 'text-danger-500' => $danger, 'text-warning-500' => $warning, @@ -33,7 +33,7 @@ @elseif($type === 'copy') - class([ + class([ 'text-black' => $black, 'text-danger-500' => $danger, 'text-warning-500' => $warning, diff --git a/resources/views/layouts/app.blade.php b/resources/views/layouts/app.blade.php index e1fb16b..6a4d58f 100644 --- a/resources/views/layouts/app.blade.php +++ b/resources/views/layouts/app.blade.php @@ -43,6 +43,7 @@ class=" @foreach(\TomatoPHP\TomatoAdmin\Facade\TomatoSlot::getLayoutTop() as $item) @include($item) @endforeach + @isset($header)
@@ -67,7 +68,7 @@ class="mb-4 items-start justify-between space-y-2 filament-header sm:flex sm:spa @endif
- + @endif {{$slot}}