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.
 
 
 
 
 
 

57 lines
1.3 KiB

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