vito/app/View/Components/SiteLayout.php
Saeed Vaziry e031bafba5
upgrade to Laravel 11 and schema squash (#245)
* upgrade to Laravel 11 and schema squash

* code style and npm audit fix

* fix #209
2024-06-24 23:03:02 +02:00

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');
}
}