@component('mail::message')

{{-- Greeting --}}
@if (! empty($greeting))
# {{ $greeting }}
@else

@if ($level === 'error')
# @lang('Whoops!')
@else
# @lang('Hello!')
@endif
@endif

{{-- Intro Lines --}}
<table class="introLines" width="100%" cellpadding="0" cellspacing="0" role="presentation">
@foreach ($introLines as $line)
<tr>
<td>
{{ $line }}
</td>
</tr>
@endforeach
</table>

{{-- Action Button --}}
@isset($actionText)
<?php
switch ($level) {
    case 'success':
    case 'error':
        $color = $level;
        break;
    default:
        $color = 'primary';
}
?>
@component('mail::button', ['url' => $actionUrl, 'color' => $color])
{{ $actionText }}
@endcomponent
@endisset

{{-- Outro Lines --}}
<table class="outroLines" width="100%" cellpadding="0" cellspacing="0" role="presentation">
@foreach ($outroLines as $line)
<tr>
<td>
{{ $line }}
</td>
</tr>
@endforeach
</table>

{{-- Salutation --}}
@if (! empty($salutation))
{{ $salutation }}
@endif

{{-- Subcopy --}}

@endcomponent