Made authorization.
This commit is contained in:
18
app/View/Components/Public/Layout.php
Normal file
18
app/View/Components/Public/Layout.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php declare(strict_types=1);
|
||||
|
||||
namespace App\View\Components\Public;
|
||||
|
||||
use Illuminate\View\Component;
|
||||
use Illuminate\View\View;
|
||||
|
||||
final class Layout extends Component
|
||||
{
|
||||
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
public function render(): View
|
||||
{
|
||||
return view('public.layout.app');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user