layout.blade.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <head>
  4. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. </head>
  7. <body>
  8. <style>
  9. @media only screen and (max-width: 600px) {
  10. .inner-body {
  11. width: 100% !important;
  12. }
  13. .footer {
  14. width: 100% !important;
  15. }
  16. }
  17. @media only screen and (max-width: 500px) {
  18. .button {
  19. width: 100% !important;
  20. }
  21. }
  22. </style>
  23. <table class="wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation">
  24. <tr>
  25. <td align="center">
  26. <table class="content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
  27. {{ $header ?? '' }}
  28. <!-- Email Body -->
  29. <tr>
  30. <td class="body" width="100%" cellpadding="0" cellspacing="0">
  31. <table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
  32. <!-- Body content -->
  33. <tr>
  34. <td class="content-cell">
  35. {{ Illuminate\Mail\Markdown::parse($slot) }}
  36. {{ $subcopy ?? '' }}
  37. </td>
  38. </tr>
  39. </table>
  40. </td>
  41. </tr>
  42. {{ $footer ?? '' }}
  43. </table>
  44. </td>
  45. </tr>
  46. </table>
  47. </body>
  48. </html>