@if(($mailboxLinkReminder['visible'] ?? false) === true) @php $stage = $mailboxLinkReminder['stage'] ?? 'needs_link'; $copy = match ($stage) { 'needs_domain' => [ 'title' => 'Set up Ladill Email', 'body' => 'Add and verify an email domain before you can create a mailbox and link it to your Ladill account.', 'cta' => 'Add email domain', 'url' => route('email.domains.index'), ], 'needs_mailbox' => [ 'title' => 'Create your Ladill mailbox', 'body' => 'Your domain is ready. Create a mailbox, then link it in Settings so Ladill Mail opens with your Ladill sign-in.', 'cta' => 'Create mailbox', 'url' => route('email.mailboxes.create'), ], default => [ 'title' => 'Link your Ladill mailbox', 'body' => 'Your account uses '.$mailboxLinkReminder['account_email'].' — choose a mailbox in Settings to connect Ladill Mail sign-in.', 'cta' => 'Link mailbox', 'url' => route('account.settings'), ], }; @endphp

{{ $copy['title'] }}

{{ $copy['body'] }}

{{ $copy['cta'] }}
@csrf
@endif