mirror of
https://github.com/vitodeploy/vito.git
synced 2025-04-17 17:01:37 +00:00
18 lines
306 B
PHP
18 lines
306 B
PHP
<?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');
|
|
}
|
|
}
|