Examples of code I've written in PHP, Javascript, SCSS, etc.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

28 lines
495 B

  1. @component('mail::layout')
  2. {{-- Header --}}
  3. @slot('header')
  4. @component('mail::header', ['url' => config('app.url')])
  5. {{ config('app.name') }}
  6. @endcomponent
  7. @endslot
  8. {{-- Body --}}
  9. {{ $slot }}
  10. {{-- Subcopy --}}
  11. @isset($subcopy)
  12. @slot('subcopy')
  13. @component('mail::subcopy')
  14. {{ $subcopy }}
  15. @endcomponent
  16. @endslot
  17. @endisset
  18. {{-- Footer --}}
  19. @slot('footer')
  20. @component('mail::footer')
  21. © {{ date('Y') }} {{ config('app.name') }}. @lang('All rights reserved.')
  22. @endcomponent
  23. @endslot
  24. @endcomponent