2024-08-01 13:53:10 -05:00
|
|
|
<?php
|
|
|
|
|
|
2025-01-28 17:33:54 -06:00
|
|
|
declare(strict_types=1);
|
|
|
|
|
|
2024-08-01 13:53:10 -05:00
|
|
|
namespace App\View\Components;
|
|
|
|
|
|
|
|
|
|
use Illuminate\View\Component;
|
|
|
|
|
|
|
|
|
|
class GuestLayout extends Component
|
|
|
|
|
{
|
|
|
|
|
/**
|
|
|
|
|
* Get the view / contents that represents the component.
|
|
|
|
|
*/
|
2024-08-05 22:41:53 -05:00
|
|
|
public function render()
|
2024-08-01 13:53:10 -05:00
|
|
|
{
|
2024-08-05 22:41:53 -05:00
|
|
|
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;
|
2024-08-01 13:53:10 -05:00
|
|
|
}
|
|
|
|
|
}
|