@component('emails.layouts.html', ['locale' => app()->getLocale(), 'subject' => match($contact['context'] ?? 'contact') { 'report-issue' => __('Issue Report'), 'report-error' => __('Error Report'), 'delete-profile' => __('Profile Deletion Request'), default => __('Contact Form Submission'), }]) {{-- Title --}}
{{ match($contact['context'] ?? 'contact') { 'report-issue' => __('Issue Report'), 'report-error' => __('Error Report'), 'delete-profile' => __('Profile Deletion Request'), default => __('Contact Form Submission'), } }}
{{-- Main message --}}{{ __('You have received a new :type from :site:', [ 'type' => match($contact['context'] ?? 'contact') { 'report-issue' => __('issue report'), 'report-error' => __('error report'), 'delete-profile' => __('profile deletion request'), default => __('contact form submission'), }, 'site' => config('app.name') ]) }}
{{-- Contact Information --}}| {{ __('From') }}: | {{ $contact['name'] == $contact['full_name'] ? $contact['name'] : $contact['name'] . ' (' . $contact['full_name'] .')' }} |
| {{ __('Email') }}: | {{ $contact['email'] }} |
| {{ __('Subject') }}: | {{ $contact['subject'] }} |
| {{ __('Page URL') }}: | {{ $contact['url'] }} |
|
{{ __('Message') }}: {{ $contact['message'] }} |
{{ __('Action Required') }}: {{ __('This user has requested profile deletion. Please review and process according to your data retention policies.') }}
@endif {{-- View Profile Button --}} @if(!empty($contact['is_authenticated']) && !empty($contact['profile_url']))| {{ __('View :name', ['name' => $contact['full_name']]) }} |
{{ __('This is an automated message from the contact form on :site.', ['site' => config('app.name')]) }}
@endcomponent