File size: 446 Bytes
52d9fb0 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | @props([
'link' => null,
'title' => null,
'value' => null,
'bg' => 'primary',
'color' => 'white',
])
<div class="widget-two box--shadow2 b-radius--5 bg--{{ $bg }} has-link">
@if ($link)
<a href="{{ $link }}" class="item-link"></a>
@endif
<div class="widget-two__content">
<h2 class="text-{{ $color }}">{{ $value }}</h2>
<p class="text-{{ $color }}">{{ __($title) }}</p>
</div>
</div>
|