layout cleanup

This commit is contained in:
hackerESQ
2024-08-05 22:41:53 -05:00
parent c07ea3345e
commit 62aec3ce7c
13 changed files with 312 additions and 288 deletions
+12 -3
View File
@@ -3,15 +3,24 @@
namespace App\View\Components;
use Illuminate\View\Component;
use Illuminate\View\View;
class GuestLayout extends Component
{
/**
* Get the view / contents that represents the component.
*/
public function render(): View
public function render()
{
return view('layouts.guest-layout');
return <<<'HTML'
<x-main-layout>
<x-slot:body class="font-sans text-gray-900 dark:text-gray-100 antialiased">
{{ $slot }}
<x-theme-toggle class="hidden" darkTheme="business" lightTheme="corporate"/>
</x-slot:body>
</x-main-layout>
HTML;
}
}