layout.blade.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. <body>
  26. <table class="wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation">
  27. <tr>
  28. <td align="center">
  29. <table class="content" width="100%" cellpadding="0" cellspacing="0" role="presentation">
  30. {{ $header ?? '' }}
  31. <!-- Email Body -->
  32. <tr>
  33. <td class="body" width="100%" cellpadding="0" cellspacing="0" style="border: hidden !important;">
  34. <table class="inner-body" align="center" width="570" cellpadding="0" cellspacing="0" role="presentation">
  35. <!-- Body content -->
  36. <tr>
  37. <td class="content-cell">
  38. {{ Illuminate\Mail\Markdown::parse($slot) }}
  39. {{ $subcopy ?? '' }}
  40. </td>
  41. </tr>
  42. </table>
  43. </td>
  44. </tr>
  45. {{ $footer ?? '' }}
  46. </table>
  47. </td>
  48. </tr>
  49. </table>
  50. </body>
  51. </html>