layout.blade.php 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. <title>{{ config('app.name') }}</title>
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  6. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  7. <meta name="color-scheme" content="light">
  8. <meta name="supported-color-schemes" content="light">
  9. <style>
  10. @media only screen and (max-width: 600px) {
  11. .inner-body {
  12. width: 100% !important;
  13. }
  14. .footer {
  15. width: 100% !important;
  16. }
  17. }
  18. @media only screen and (max-width: 500px) {
  19. .button {
  20. width: 100% !important;
  21. }
  22. }
  23. </style>
  24. {{ $head ?? '' }}
  25. </head>
  26. <body>
  27. <table class="wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation">
  28. <tr>
  29. <td align="center">
  30. <table class="content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
  31. {{ $header ?? '' }}
  32. <!-- Email Body -->
  33. <tr>
  34. <td class="body" width="100%" cellpadding="0" cellspacing="0" style="border: hidden !important;">
  35. <table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
  36. <!-- Body content -->
  37. <tr>
  38. <td class="content-cell">
  39. {{ Illuminate\Mail\Markdown::parse($slot) }}
  40. {{ $subcopy ?? '' }}
  41. </td>
  42. </tr>
  43. </table>
  44. </td>
  45. </tr>
  46. {{ $footer ?? '' }}
  47. </table>
  48. </td>
  49. </tr>
  50. </table>
  51. </body>
  52. </html>