Files
investbrain/app/View/Components/GuestLayout.php
T

27 lines
638 B
PHP
Raw Normal View History

2024-08-01 13:53:10 -05:00
<?php
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
}
}