Initial commit
This commit is contained in:
		
							
								
								
									
										16
									
								
								app/View/Components/AppLayout.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								app/View/Components/AppLayout.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
declare(strict_types=1);
 | 
			
		||||
 | 
			
		||||
namespace App\View\Components;
 | 
			
		||||
 | 
			
		||||
use Illuminate\View\Component;
 | 
			
		||||
use Illuminate\View\View;
 | 
			
		||||
 | 
			
		||||
class AppLayout extends Component
 | 
			
		||||
{
 | 
			
		||||
    public function render(): View
 | 
			
		||||
    {
 | 
			
		||||
        return view('layouts.app');
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										16
									
								
								app/View/Components/GuestLayout.php
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										16
									
								
								app/View/Components/GuestLayout.php
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,16 @@
 | 
			
		||||
<?php
 | 
			
		||||
 | 
			
		||||
declare(strict_types=1);
 | 
			
		||||
 | 
			
		||||
namespace App\View\Components;
 | 
			
		||||
 | 
			
		||||
use Illuminate\View\Component;
 | 
			
		||||
use Illuminate\View\View;
 | 
			
		||||
 | 
			
		||||
class GuestLayout extends Component
 | 
			
		||||
{
 | 
			
		||||
    public function render(): View
 | 
			
		||||
    {
 | 
			
		||||
        return view('layouts.guest');
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user