Blame view

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