@component('mail::layout')
{{-- Header --}}
@slot('header')
@component('mail::header',['site'=>$site,'subheading'=>$subheading ?? NULL])
{{ $heading }}
@endcomponent
@endslot

{{-- Body --}}
{{ $slot }}

{{-- Sub Content --}}
@isset($subcontent)
@slot('subcontent')
@component('mail::subcontent')
{{ $subcontent }}
@endcomponent
@endslot
@endisset

{{-- Footer --}}
@slot('footer')
@component('mail::footer')
{{ config('mail.from.name') }}<br>
{!! $site->address->join('<br>') !!}<br>
{{ $site->site_email }}
@endcomponent
@endslot
@endcomponent