mirror of
https://github.com/vitodeploy/vito.git
synced 2025-07-02 22:46:16 +00:00
init
This commit is contained in:
19
app/View/Components/SiteLayout.php
Normal file
19
app/View/Components/SiteLayout.php
Normal file
@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\View\Components;
|
||||
|
||||
use App\Models\Site;
|
||||
use Illuminate\Contracts\View\View;
|
||||
use Illuminate\View\Component;
|
||||
|
||||
class SiteLayout extends Component
|
||||
{
|
||||
public function __construct(public Site $site)
|
||||
{
|
||||
}
|
||||
|
||||
public function render(): View
|
||||
{
|
||||
return view('layouts.site');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user