added icons set
This commit is contained in:
parent
6d5f520c95
commit
070c6e819d
@ -34,9 +34,13 @@
|
|||||||
@switch($type)
|
@switch($type)
|
||||||
@case('button')
|
@case('button')
|
||||||
<button type="button" class="w-full flex items-center text-purple px-2 h-9 leading-9" {!! $action['attributes'] ?? null !!}>
|
<button type="button" class="w-full flex items-center text-purple px-2 h-9 leading-9" {!! $action['attributes'] ?? null !!}>
|
||||||
<span class="w-full h-full flex items-center rounded-md px-2 text-sm hover:bg-lilac-100">
|
<div class="w-full h-full flex items-center rounded-md px-2 text-sm hover:bg-lilac-100">
|
||||||
{{ $action['title'] }}
|
<span class="material-icons-outlined text-purple text-lg mr-2 pointer-events-none">
|
||||||
|
{{ $action['icon'] }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
{{ $action['title'] }}
|
||||||
|
</div>
|
||||||
</button>
|
</button>
|
||||||
@break
|
@break
|
||||||
|
|
||||||
@ -52,9 +56,13 @@
|
|||||||
|
|
||||||
@default
|
@default
|
||||||
<a href="{{ $action['url'] }}" class="w-full flex items-center text-purple px-2 h-9 leading-9" {!! $action['attributes'] ?? null !!}>
|
<a href="{{ $action['url'] }}" class="w-full flex items-center text-purple px-2 h-9 leading-9" {!! $action['attributes'] ?? null !!}>
|
||||||
<span class="w-full h-full flex items-center rounded-md px-2 text-sm hover:bg-lilac-100">
|
<div class="w-full h-full flex items-center rounded-md px-2 text-sm hover:bg-lilac-100">
|
||||||
{{ $action['title'] }}
|
<span class="material-icons-outlined text-purple text-lg mr-2 pointer-events-none">
|
||||||
|
{{ $action['icon'] }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
{{ $action['title'] }}
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
@endswitch
|
@endswitch
|
||||||
|
|
||||||
@ -92,9 +100,13 @@
|
|||||||
@php $divider = false; @endphp
|
@php $divider = false; @endphp
|
||||||
|
|
||||||
<button type="button" class="w-full flex items-center text-purple px-2 h-9 leading-9" {!! $action['attributes'] ?? null !!}>
|
<button type="button" class="w-full flex items-center text-purple px-2 h-9 leading-9" {!! $action['attributes'] ?? null !!}>
|
||||||
<span class="w-full h-full flex items-center rounded-md px-2 text-sm hover:bg-lilac-100">
|
<div class="w-full h-full flex items-center rounded-md px-2 text-sm hover:bg-lilac-100">
|
||||||
{{ $action['title'] }}
|
<span class="material-icons-outlined text-purple text-lg mr-2 pointer-events-none">
|
||||||
|
{{ $action['icon'] }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
{{ $action['title'] }}
|
||||||
|
</div>
|
||||||
</button>
|
</button>
|
||||||
@break
|
@break
|
||||||
|
|
||||||
@ -122,9 +134,13 @@
|
|||||||
@php $divider = false; @endphp
|
@php $divider = false; @endphp
|
||||||
|
|
||||||
<a href="{{ $action['url'] }}" class="w-full flex items-center text-purple px-2 h-9 leading-9" {!! $action['attributes'] ?? null !!}>
|
<a href="{{ $action['url'] }}" class="w-full flex items-center text-purple px-2 h-9 leading-9" {!! $action['attributes'] ?? null !!}>
|
||||||
<span class="w-full h-full flex items-center rounded-md px-2 text-sm hover:bg-lilac-100">
|
<div class="w-full h-full flex items-center rounded-md px-2 text-sm hover:bg-lilac-100">
|
||||||
{{ $action['title'] }}
|
<span class="material-icons-outlined text-purple text-lg mr-2 pointer-events-none">
|
||||||
|
{{ $action['icon'] }}
|
||||||
</span>
|
</span>
|
||||||
|
|
||||||
|
{{ $action['title'] }}
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
@endswitch
|
@endswitch
|
||||||
@endforeach
|
@endforeach
|
||||||
|
Loading…
x
Reference in New Issue
Block a user