Adding AlertContainer Livewire component.
This commit is contained in:
parent
7712a4aad2
commit
fa002d5e08
2 changed files with 63 additions and 0 deletions
5
resources/views/livewire/alert-container.blade.php
Normal file
5
resources/views/livewire/alert-container.blade.php
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
<div class="absolute z-50 top-0 w-full px-4 sm:px-8 space-y-2 mt-2">
|
||||
@foreach($messages as $message)
|
||||
<x-notification variant="{{ $message[0] }}">{{ $message[1] }}</x-notification>
|
||||
@endforeach
|
||||
</div>
|
||||
Reference in a new issue