Skip to content

Commit 1bbaaa3

Browse files
author
ahmadhuss
committed
breeze:install Added Auth View/Components
1 parent 2c6b821 commit 1bbaaa3

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed

app/View/Components/AppLayout.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
namespace App\View\Components;
4+
5+
use Illuminate\View\Component;
6+
7+
class AppLayout extends Component
8+
{
9+
/**
10+
* Get the view / contents that represents the component.
11+
*
12+
* @return \Illuminate\View\View
13+
*/
14+
public function render()
15+
{
16+
return view('layouts.app');
17+
}
18+
}
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?php
2+
3+
namespace App\View\Components;
4+
5+
use Illuminate\View\Component;
6+
7+
class GuestLayout extends Component
8+
{
9+
/**
10+
* Get the view / contents that represents the component.
11+
*
12+
* @return \Illuminate\View\View
13+
*/
14+
public function render()
15+
{
16+
return view('layouts.guest');
17+
}
18+
}

0 commit comments

Comments
 (0)