Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
35024b8
commit f457b7d
Showing
10 changed files
with
160 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace App\View\Components\Alert; | ||
|
||
use App\View\Components\Alert as Component; | ||
|
||
class Border extends Component | ||
{ | ||
/** | ||
* Get the view / contents that represent the component. | ||
* | ||
* @return \Illuminate\Contracts\View\View|string | ||
*/ | ||
public function render() | ||
{ | ||
return view('components.alert.border'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace App\View\Components\Alert; | ||
|
||
use App\View\Components\Alert as Component; | ||
|
||
class Danger extends Component | ||
{ | ||
/** | ||
* Get the view / contents that represent the component. | ||
* | ||
* @return \Illuminate\Contracts\View\View|string | ||
*/ | ||
public function render() | ||
{ | ||
return view('components.alert.danger'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace App\View\Components\Alert; | ||
|
||
use App\View\Components\Alert as Component; | ||
|
||
class Info extends Component | ||
{ | ||
/** | ||
* Get the view / contents that represent the component. | ||
* | ||
* @return \Illuminate\Contracts\View\View|string | ||
*/ | ||
public function render() | ||
{ | ||
return view('components.alert.info'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace App\View\Components\Alert; | ||
|
||
use App\View\Components\Alert as Component; | ||
|
||
class Success extends Component | ||
{ | ||
/** | ||
* Get the view / contents that represent the component. | ||
* | ||
* @return \Illuminate\Contracts\View\View|string | ||
*/ | ||
public function render() | ||
{ | ||
return view('components.alert.success'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
<?php | ||
|
||
namespace App\View\Components\Alert; | ||
|
||
use App\View\Components\Alert as Component; | ||
|
||
class Warning extends Component | ||
{ | ||
/** | ||
* Get the view / contents that represent the component. | ||
* | ||
* @return \Illuminate\Contracts\View\View|string | ||
*/ | ||
public function render() | ||
{ | ||
return view('components.alert.warning'); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<x-alert | ||
border | ||
:rounded="$rounded" | ||
|
||
:color="$color" | ||
:icon="$icon" | ||
|
||
:title="$title" | ||
:description="$description" | ||
:list="$list" | ||
|
||
:actions="$actions" | ||
:dismiss="$dismiss" | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<x-alert | ||
color="red" | ||
icon="error" | ||
|
||
:title="$title" | ||
:description="$description" | ||
:list="$list" | ||
|
||
:rounded="$rounded" | ||
:border="$border" | ||
|
||
:actions="$actions" | ||
:dismiss="$dismiss" | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<x-alert | ||
color="blue" | ||
icon="info" | ||
|
||
:title="$title" | ||
:description="$description" | ||
:list="$list" | ||
|
||
:rounded="$rounded" | ||
:border="$border" | ||
|
||
:actions="$actions" | ||
:dismiss="$dismiss" | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<x-alert | ||
color="green" | ||
icon="check_circle" | ||
|
||
:title="$title" | ||
:description="$description" | ||
:list="$list" | ||
|
||
:rounded="$rounded" | ||
:border="$border" | ||
|
||
:actions="$actions" | ||
:dismiss="$dismiss" | ||
/> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<x-alert | ||
color="yellow" | ||
icon="warning" | ||
|
||
:title="$title" | ||
:description="$description" | ||
:list="$list" | ||
|
||
:rounded="$rounded" | ||
:border="$border" | ||
|
||
:actions="$actions" | ||
:dismiss="$dismiss" | ||
/> |