@component('mail::layout') {{-- Header --}} @slot('header') @php $mailAppName = app_name(); $mailLogo = GetSettingValue('dark_logo') ?? asset('img/logo/dark_logo.png'); $mailLogoUrl = $mailLogo ? setBaseUrlWithFileName($mailLogo, 'image', 'logos') : null; @endphp @component('mail::header', ['url' => config('app.url')]) @if ($mailLogoUrl) {{ $mailAppName }} Logo @endif {{ $mailAppName }} @endcomponent @endslot {{-- Body --}} {{ $slot }} {{-- Subcopy --}} @isset($subcopy) @slot('subcopy') @component('mail::subcopy') {{ $subcopy }} @endcomponent @endslot @endisset {{-- Footer --}} @slot('footer') @component('mail::footer') © {{ date('Y') }} {{ app_name() }}. @lang('All rights reserved.') @endcomponent @endslot @endcomponent