@props(['brand', 'preheader' => ''])
{{--
The frame of every email a store sends its shoppers, in the store's own colours, fonts and corners.
Tables and inline styles only, because many email apps ignore anything else.
--}}
{{ $brand->name }}
{{-- The short line inboxes show next to the subject. Hidden in the email itself. --}}
{{ $preheader }}
{{-- Store name --}}
@if ($logo = $brand->logo())
@else
{{ $brand->name }}
@endif
|
{{-- The message --}}
|
{{ $slot }}
|
{{-- Footer --}}
@if ($brand->contactEmail())
{{ $brand->malay ? 'Ada soalan? Balas e-mel ini atau tulis kepada' : 'Questions? Reply to this email or write to' }}
{{ $brand->contactEmail() }}.
@endif
{{ $brand->malay ? 'Anda menerima e-mel ini kerana anda membuat pesanan di' : 'You are getting this email because you ordered from' }}
{{ $brand->name }}{{ str_ends_with($brand->name, '.') ? '' : '.' }}
|
|