Add LOA feature, improve components

This commit is contained in:
2022-02-07 18:59:22 +00:00
parent d6e248b571
commit 23a191deb9
24 changed files with 780 additions and 90442 deletions

View File

@@ -0,0 +1,19 @@
@if (!empty($link))
<a href="{{ $link }}" target="{{ $target ?? '' }}">
<button {{ ($disabled == true) ? 'disabled' : ''}} type="{{ $type }}" class="btn {{ !empty($size) ? 'btn-' . $size : '' }} btn-{{ $color }}" id="{{ $id }}">
@if (empty($icon))
{{ $slot }}
@else
<i class="{{ $icon }}"></i> {{ $slot }}
@endif
</button>
</a>
@else
<button {{ ($disabled == true) ? 'disabled' : ''}} type="{{ $type }}" class="btn {{ !empty($size) ? 'btn-' . $size : '' }} btn-{{ $color }}" id="{{ $id }}">
@if (empty($icon))
{{ $slot }}
@else
<i class="{{ $icon }}"></i> {{ $slot }}
@endif
</button>
@endif