[WIP] Refactor project
This commit is contained in:
12
resources/views/vendor/boilerplate/components/smallbox.blade.php
vendored
Normal file
12
resources/views/vendor/boilerplate/components/smallbox.blade.php
vendored
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="small-box bg-{{ $color ?? 'info' }}{{ !empty($class) ? ' '.$class : '' }}"{!! empty($attributes) ? '' : ' '.$attributes !!}>
|
||||
<div class="inner">
|
||||
<h3>{{ $nb ?? 0 }}</h3>
|
||||
<p>@lang($text ?? ' ')</p>
|
||||
</div>
|
||||
<div class="icon"><i class="{{ $icon ?? 'fas fa-cubes' }}"></i></div>
|
||||
@if(!empty($link))
|
||||
<a href="{!! $link !!}" class="small-box-footer">
|
||||
@lang($linkText ?? '') <i class="fas fa-arrow-circle-right"></i>
|
||||
</a>
|
||||
@endif
|
||||
</div>
|
||||
Reference in New Issue
Block a user