@props(['icon', 'illustration' => null, 'title', 'description', 'href' => '#', 'accent' => 'green', 'active' => false, 'compact' => false, 'marketing' => false]) @php $accents = [ 'green' => 'bg-canc-green-50 text-canc-green-600 ring-canc-green-900/5', 'navy' => 'bg-canc-navy-50 text-canc-navy-700 ring-canc-navy-900/5', 'red' => 'bg-red-50 text-red-600 ring-red-900/5', ]; $accentClass = $accents[$accent] ?? $accents['green']; @endphp merge(['class' => 'canc-module-card group relative flex flex-col overflow-hidden rounded-[1rem] border bg-white transition-all duration-200 '.($marketing ? 'canc-module-card--marketing min-h-[175px] p-5' : ($compact ? 'min-h-[230px] p-4' : 'min-h-[245px] p-5')).' '.($active ? 'canc-module-card--active border-canc-green-500 ring-1 ring-canc-green-500/15' : 'border-canc-navy-100/80')]) }}> @if ($active) @endif @if ($marketing)
@if ($illustration) @else @endif

{{ $title }}

{{ $description }}

@else

{{ $title }}

{{ $description }}

@endif