63 lines
3.6 KiB
PHP
63 lines
3.6 KiB
PHP
@component('emails.layouts.html', ['subject' => trans('mail.new_message_subject')])
|
|
|
|
{{-- Greeting --}}
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 15px 0; padding: 0; line-height: 1.5;">
|
|
{{ __('Hello') }} {{ explode(' ', $recipientName)[0] }},
|
|
</p>
|
|
|
|
{{-- Main message --}}
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 20px 0; padding: 0; line-height: 1.5;">
|
|
{{ __('Your conversation on :site with :name has an unread update:', ['site' => config('app.name'), 'name' => $groupName ?? $senderName]) }}
|
|
</p>
|
|
|
|
{{-- Message content panel --}}
|
|
<table role="presentation" width="100%" cellpadding="0" cellspacing="0" border="0" style="margin: 0 0 20px 0; border-collapse: collapse; background-color: {{ theme_color('text.surface') }}; border-left: 4px solid {{ theme_color('text.secondary') }};">
|
|
<tr>
|
|
<td style="padding: 15px 20px;">
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; color: {{ theme_color('text.secondary') }}; margin: 0 0 10px 0; padding: 0;">
|
|
{{ __(':sender:', ['sender' => $senderName]) }}
|
|
</p>
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 14px; color: {{ theme_color('text.secondary') }}; margin: 0; padding: 0; line-height: 1.5;">
|
|
{{ $messageContent }}
|
|
</p>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{{-- Follow conversation message --}}
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 0 0 20px 0; padding: 0; line-height: 1.5;">
|
|
{{ __('Follow this conversation on our website by clicking the Chat Messenger button below:') }}
|
|
</p>
|
|
|
|
{{-- Button --}}
|
|
<table role="presentation" class="mobile-button" cellpadding="0" cellspacing="0" border="0" align="center" style="margin: 10px auto 20px auto;">
|
|
<tr>
|
|
<td align="center" style="border-radius: 6px; background-color: {{ theme_color('brand') }};">
|
|
<!--[if mso]>
|
|
<v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{ $conversationUrl }}" style="height:40px;v-text-anchor:middle;width:180px;" arcsize="15%" stroke="f" fillcolor="{{ theme_color('brand') }}">
|
|
<w:anchorlock/>
|
|
<center>
|
|
<![endif]-->
|
|
<a href="{{ $conversationUrl }}" style="background-color: {{ theme_color('brand') }}; border-radius: 6px; color: #ffffff; display: block; font-family: Arial, Helvetica, sans-serif; font-size: 14px; font-weight: bold; line-height: 40px; text-align: center; text-decoration: none; width: 180px; -webkit-text-size-adjust: none; mso-hide: all;">
|
|
{{ __('Chat Messenger') }}
|
|
</a>
|
|
<!--[if mso]>
|
|
</center>
|
|
</v:roundrect>
|
|
<![endif]-->
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
|
|
{{-- Closing --}}
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 16px; color: {{ theme_color('text.primary') }}; margin: 30px 0 30px 0; padding: 0; line-height: 1.5;">
|
|
{{ timebank_config('mail.platform_sign_off_signature.' . app()->getLocale()) ?? timebank_config('mail.platform_sign_off_signature.en', 'See you around!') }}
|
|
</p>
|
|
|
|
{{-- Subcopy --}}
|
|
<p style="font-family: Arial, Helvetica, sans-serif; font-size: 12px; color: {{ theme_color('text.muted') }}; margin: 30px 0 10px 0; padding: 0; line-height: 1.5; border-top: 1px solid #e5e7eb; padding-top: 20px;">
|
|
{{ __("You can't reply to this email. Use the Chat Messenger on our website instead.") }}
|
|
</p>
|
|
|
|
@endcomponent
|