{{-- Generic plan-upgrade gate page. Variables: $tenant – current Tenant $planName – name of current plan (e.g. "Standard") $feature – array with keys: title – e.g. "API Keys" icon – svg path string (stroke) badge – e.g. "Pro" | "Enterprise" description – one-sentence description items – array of [label, desc] pairs (2–4 items) $upgradeRoute – named route for the upgrade CTA (default: tenant.plan.index) --}} @php $brandStyle = $tenant->brand_primary_color ? ":root { --color-brand-600: {$tenant->brand_primary_color}; } .dark { --color-brand-600: {$tenant->brand_primary_color}; }" : null; $upgradeRoute ??= 'tenant.plan.index'; @endphp
{{-- Top accent bar --}}
{{-- Icon --}}
{!! $feature['icon'] !!}
{{-- Title + badge --}}

{{ $feature['title'] }}

{{ $feature['badge'] ?? 'Pro' }}

Not available on {{ $planName }}. Upgrade to {{ strtolower($feature['description']) }}

{{-- Feature items --}} @if(!empty($feature['items']))
@foreach($feature['items'] as [$label, $desc])

{{ $label }}

{{ $desc }}

@endforeach
@endif {{-- CTA --}} View Plans & Upgrade Back to Dashboard