HEX
Server: LiteSpeed
System: Linux srv1.dhviews.com 5.14.0-570.23.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Jun 24 11:27:16 EDT 2025 x86_64
User: bdedition (1723)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: /home/bdedition/public_html/core/resources/views/components/widget-1.blade.php
@props([
    'link' => '',
    'title' => '',
    'value' => '',
    'icon' => '',
    'bg' => 'primary',
    'color' => 'white',
    'icon_color' => null,
])

@php
    $iconColor = $icon_color ?? $color;
@endphp

<div class="card bg--{{ $bg }} overflow-hidden box--shadow2">
    @if ($link)
        <a href="{{ $link }}" class="item-link"></a>
    @endif
    <div class="card-body">
        <div class="row align-items-center">
            <div class="col-4">
                <i class="la {{ $icon }} f-size--56 text--{{ $iconColor }}"></i>
            </div>
            <div class="col-8 text-end">
                <span class="text--{{ $color }} text--small">{{ __($title) }}</span>
                <h2 class="text--{{ $color }}">{{ $value }}</h2>
            </div>
        </div>
    </div>
</div>