diff --git a/resources/views/components/head.blade.php b/resources/views/components/head.blade.php new file mode 100644 index 00000000..7b9ff065 --- /dev/null +++ b/resources/views/components/head.blade.php @@ -0,0 +1,12 @@ + + + + + {{ session()->get('title') }} | {{ config('app.name') }} + + + @if(auth()->id()) + + @endif + @vite('resources/livewire-js/app.js') + diff --git a/resources/views/components/layouts/app.blade.php b/resources/views/components/layouts/app.blade.php index 52f704a4..065b4883 100644 --- a/resources/views/components/layouts/app.blade.php +++ b/resources/views/components/layouts/app.blade.php @@ -1,17 +1,6 @@ - - - - - {{ session()->get('title') }} | {{ config('app.name') }} - - - @if(auth()->id()) - - @endif - @vite('resources/livewire-js/app.js') - + {{ $slot }}