{{-- resources/views/emails/newsletter_template.blade.php --}}
@php
$brandName = $brandName ?? config('app.name', 'LMC Express');
$headline = $headline ?? 'Latest update from '.$brandName;
$subhead = $subhead ?? null;
$bodyText = $bodyText ?? '';
$ctaText = $ctaText ?? 'View update';
$ctaUrl = $ctaUrl ?? config('app.url');
$displayCtaUrl = $displayCtaUrl ?? $ctaUrl;
$openUrl = $openUrl ?? null;
$footerCompany = $footerCompany ?? $brandName;
$footerEmail = $footerEmail ?? 'info@lmcexpress.co.za';
$footerPhone = $footerPhone ?? '';
$unsubscribeUrl = $unsubscribeUrl ?? null;
$logoUrl = $logoUrl ?? (rtrim(config('app.url'),'/').'/images/lmc-logo.png');
$preheader = $preheader ?? ($subhead ?: 'A new update is available.');
$firstName = $firstName ?? 'there';
@endphp
{{ $headline }}
@if(!empty($openUrl))
@endif
{{ $preheader }}
|
{{ $brandName }}
Broadcast Update
|
|
{{ now()->format('d M Y') }}
|
|
{{ $headline }}
Hi {{ $firstName }},
@if(!empty($subhead))
{{ $subhead }}
@endif
@if(!empty($bodyText))
{!! nl2br(e($bodyText)) !!}
@endif
If the button doesn’t work, copy and paste this link into your browser:
{{ $displayCtaUrl }}
|
|
|
You’re receiving this because you opted in to updates from {{ $footerCompany }}.
@if($unsubscribeUrl)
Unsubscribe
@else
If you no longer want these emails, reply to this email with “UNSUBSCRIBE”.
@endif
|
@if(!empty($footerPhone))
Tel: {{ $footerPhone }}
@endif
|
|
|
|
© {{ date('Y') }} {{ $footerCompany }} · Broadcast Console
|
|