Skip to content

Instantly share code, notes, and snippets.

@tghelere
Created May 26, 2018 14:36
Show Gist options
  • Save tghelere/327e31b14af0919e15934511cfbcf3a1 to your computer and use it in GitHub Desktop.
Save tghelere/327e31b14af0919e15934511cfbcf3a1 to your computer and use it in GitHub Desktop.
@component('mail::layout')
{{-- Header --}}
@slot('header')
@component('mail::header', ['url' => config('app.url')])
{{ $content['title'] }}
@endcomponent
@endslot
{{-- Body --}}
## Mensagem do __{{ $content['title'] }}__ através do site.
---
|
--- | ---
**Nome:** | *{{ $content['name'] }}*
**E-mail:** | *{{ $content['email'] }}*
**Telefone:** | *{{ $content['phone'] }}*
**Cidade / Estado:** | *{{ $content['city'] }} - {{ $content['state'] }}*
**Mensagem:** | *{{ $content['message'] }}*
{{-- Subcopy --}}
@isset($subcopy)
@slot('subcopy')
@component('mail::subcopy')
{{ $subcopy }}
@endcomponent
@endslot
@endisset
{{-- Footer --}}
@slot('footer')
@component('mail::footer')
© {{ date('Y') }} {{ config('app.name') }}. Todos os direitos reservados.
@endcomponent
@endslot
@endcomponent
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment