@props([ 'icon', 'iconColor' => 'primary', 'title', 'description', 'time', ]) @php $iconBgColor = match($iconColor) { 'primary' => 'var(--color-primary-light)', 'secondary' => 'var(--color-secondary-light)', 'success' => 'var(--color-success-50)', 'warning' => 'rgba(251, 191, 36, 0.1)', 'danger' => 'var(--color-danger-50)', 'purple' => 'rgba(139, 92, 246, 0.1)', default => 'var(--color-primary-light)', }; $iconTextColor = match($iconColor) { 'primary' => 'var(--color-primary)', 'secondary' => 'var(--color-secondary)', 'success' => 'var(--color-success-500)', 'warning' => '#FBBF24', 'danger' => 'var(--color-danger-500)', 'purple' => '#8B5CF6', default => 'var(--color-primary)', }; @endphp

{{ $title }}

{{ $description }}

{{ $time }}