@php
    /** @var \App\Models\Invitation $invitation */
@endphp
<x-mail::message>
# {{ __("You're invited to join :workspace", ['workspace' => $invitation->workspace->name]) }}

{!! __("You've been invited to join the **:workspace** workspace on :app as a **:role**.", [
    'workspace' => $invitation->workspace->name,
    'app' => config('app.name'),
    'role' => $invitation->role,
]) !!}

<x-mail::button :url="$acceptUrl">
{{ __('Accept invitation') }}
</x-mail::button>

{{ __('This invitation expires on :date.', ['date' => $invitation->expires_at->toFormattedDateString()]) }}

{{ __('Thanks,') }}
{{ config('app.name') }}
</x-mail::message>
