@php
// Resolved once so the markup stays readable. `logo()` always returns a
// URL — the bundled default when nothing is uploaded — so compare against
// it to decide whether the agency really has a logo worth showing.
$logoUrl = logo(settings('light_theme_logo'));
$hasRealLogo = $logoUrl !== getImage(null, 'original', 'default-image.png');
$supportEmail = settings('email');
$supportPhone = settings('phone');
$expiryLine = str_replace(':minutes', $minutes, ___('mail.otp_expiry'));
@endphp
{{ ___('mail.otp_subject') }}
{{-- Inbox preview line. Hidden in the body, shown next to the subject. --}}
{{ ___('mail.otp_intro') }} {{ $expiryLine }}
@if($hasRealLogo)
{{-- The alt text is styled too: most clients block remote
images by default, and an unreachable logo then falls
back to a wordmark instead of a broken-image icon. --}}
@else
{{-- No uploaded logo: a wordmark beats a broken image icon,
and it still renders when a client blocks images. --}}
{{ $appName }}
@endif
|
|
@if($name !== '')
{{ ___('mail.otp_greeting') }} {{ $name }},
@endif
{{ ___('mail.otp_intro') }}
|
|
|
|
{{ $expiryLine }}
|
|
{{ ___('mail.otp_ignore') }}
|
{{ $appName }}
@if($supportEmail)
{{ $supportEmail }}
@endif
@if($supportPhone)
{{ $supportPhone }}
@endif
|
|
|