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
+23
View File
@@ -0,0 +1,23 @@
<?php
namespace App\View\Components;
use Illuminate\View\Component;
use Illuminate\View\View;
class MainLayout extends Component
{
public function __construct(
// Slots
public mixed $body = null,
) { }
/**
* Get the view / contents that represents the component.
*/
public function render(): View
{
return view('layouts.main-layout');
}
}