layout.blade.php 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <?php
  3. $appInternalName = config('app.internalName');
  4. $appConfig = config('constants.' . $appInternalName);
  5. ?>
  6. <html xmlns="http://www.w3.org/1999/xhtml" style="color-scheme: light dark; supported-color-schemes: light dark;">
  7. <head>
  8. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  9. <meta name="x-apple-disable-message-reformatting">
  10. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  11. <meta name="color-scheme" content="light dark">
  12. <meta name="supported-color-schemes" content="light dark">
  13. <title></title> <style type="text/css" rel="stylesheet" media="all">
  14. /* Base ------------------------------ */
  15. @import url('https://fonts.googleapis.com/css?family=Nunito+Sans:400,700&display=swap');
  16. body {
  17. width: 100% !important;
  18. height: 100%;
  19. margin: 0;
  20. -webkit-text-size-adjust: none;
  21. }
  22. a {
  23. color: #1C3D80;
  24. }
  25. a img {
  26. border: none;
  27. }
  28. td {
  29. word-break: break-word;
  30. }
  31. .preheader {
  32. display: none !important;
  33. visibility: hidden;
  34. mso-hide: all;
  35. font-size: 1px;
  36. line-height: 1px;
  37. max-height: 0;
  38. max-width: 0;
  39. opacity: 0;
  40. overflow: hidden;
  41. }
  42. /* Type ------------------------------ */
  43. body,
  44. td,
  45. th {
  46. font-family:Arial, sans-serif;
  47. }
  48. h1 {
  49. margin-top: 0;
  50. color: #000;
  51. font-size: 22px;
  52. font-weight: bold;
  53. text-align: left;
  54. }
  55. h2 {
  56. margin-top: 0;
  57. color: #000;
  58. font-size: 16px;
  59. font-weight: bold;
  60. text-align: left;
  61. }
  62. h3 {
  63. margin-top: 0;
  64. color: #000;
  65. font-size: 16px;
  66. font-weight: bold;
  67. text-align: left;
  68. }
  69. td,
  70. th {
  71. font-size: 16px;
  72. color: #000;
  73. }
  74. ul,
  75. ol,
  76. blockquote {
  77. margin: .4em 0 1.1875em;
  78. font-size: 16px;
  79. line-height: 1.625;
  80. }
  81. p {
  82. margin: .4em 0 1.1875em;
  83. line-height: 1.625;
  84. }
  85. /* Utilities ------------------------------ */
  86. .align-right {
  87. text-align: right;
  88. }
  89. .align-left {
  90. text-align: left;
  91. }
  92. .align-center {
  93. text-align: center;
  94. }
  95. /* Buttons ------------------------------ */
  96. .button {
  97. display: inline-block;
  98. text-decoration: none;
  99. border-radius: 3px;
  100. box-shadow: 0 2px 3px rgba(0, 0, 0, 0.16);
  101. -webkit-text-size-adjust: none;
  102. box-sizing: border-box;
  103. }
  104. @media only screen and (max-width: 500px) {
  105. .button {
  106. width: 100% !important;
  107. text-align: center !important;
  108. }
  109. }
  110. /* Attribute list ------------------------------ */
  111. .attributes {
  112. margin: 0 0 21px;
  113. }
  114. .attributes_content {
  115. background-color: #F4F4F7;
  116. padding: 16px;
  117. }
  118. .attributes_item {
  119. padding: 0;
  120. vertical-align: top;
  121. }
  122. /* Data table ------------------------------ */
  123. .table_wrapper {
  124. width: 100%;
  125. margin: 0;
  126. }
  127. .table_item {
  128. padding: 10px 0;
  129. color: #000;
  130. font-size: 15px;
  131. line-height: 18px;
  132. }
  133. .table_heading {
  134. padding-bottom: 8px;
  135. border-bottom: 1px solid #EAEAEC;
  136. }
  137. .table_heading p {
  138. margin: 0;
  139. color: #85878E;
  140. font-size: 12px;
  141. }
  142. body {
  143. background-color: #F4F4F7;
  144. color: #000;
  145. }
  146. p {
  147. color: #000;
  148. }
  149. p.sub {
  150. color: #6B6E76;
  151. }
  152. .email-wrapper {
  153. width: 100%;
  154. margin: 0;
  155. padding: 0;
  156. background-color: #F4F4F7;
  157. }
  158. .email-content {
  159. margin: 0;
  160. padding: 0;
  161. }
  162. /* Masthead ----------------------- */
  163. .email-masthead {
  164. padding: 20px;
  165. text-align: left;
  166. }
  167. .email-masthead_name {
  168. font-size: 16px;
  169. font-weight: bold;
  170. color: #A8AAAF;
  171. text-decoration: none;
  172. text-shadow: 0 1px 0 white;
  173. }
  174. /* Body ------------------------------ */
  175. .email-body {
  176. margin: 0;
  177. padding: 0;
  178. background-color: #FFFFFF;
  179. }
  180. .email-body_inner {
  181. width: 650px;
  182. margin: 0 auto;
  183. padding: 0;
  184. background-color: #FFFFFF;
  185. }
  186. .email-footer {
  187. width: 650px;
  188. margin: 0 auto;
  189. padding: 0;
  190. text-align: center;
  191. }
  192. .email-footer p {
  193. color: #6B6E76;
  194. }
  195. .email-footer a {
  196. color: #6B6E76;
  197. text-decoration: underline;
  198. }
  199. .body-action {
  200. width: 100%;
  201. margin: 30px auto;
  202. padding: 0;
  203. text-align: center;
  204. }
  205. .body-image {
  206. width: 100%;
  207. padding: 0;
  208. }
  209. .body-side-image {
  210. width: 100%;
  211. padding: 0;
  212. }
  213. .body-gallery {;
  214. padding: 0;
  215. }
  216. .body-side-image p,
  217. .body-gallery p {
  218. color: #000;
  219. margin: .4em 0 .4em;
  220. line-height: 1.325;
  221. }
  222. .body-sub {
  223. margin-top: 25px;
  224. padding-top: 25px;
  225. border-top: 1px solid #EAEAEC;
  226. }
  227. .content-cell {
  228. padding: 35px;
  229. }
  230. /*Media Queries ------------------------------ */
  231. @media only screen and (max-width: 650px) {
  232. .email-body_inner,
  233. .email-footer {
  234. width: 100% !important;
  235. }
  236. }
  237. </style>
  238. <!--[if mso]>
  239. <style type="text/css">
  240. .f-fallback {
  241. font-family: Arial, sans-serif;
  242. }
  243. </style>
  244. <![endif]-->
  245. </head>
  246. <body style="background-color: #F4F4F7; color: #000; font-family:Arial, sans-serif;">
  247. <table class="email-wrapper" width="100%" cellpadding="0" cellspacing="0" role="presentation" style="margin: 0; padding: 25px 0;" border="0" bgcolor="#F4F4F7">
  248. <tr>
  249. <td align="center" style="color: #fff; font-family:Arial, sans-serif; font-size: 16px; word-break: break-word;">
  250. <table class="email-content" width="650" cellpadding="0" cellspacing="0" role="presentation" style="margin: 0; padding: 0;" border="0">
  251. <tr>
  252. <td class="email-masthead" style="border-bottom:1px solid #191919; background-color: #ffffff;color: #000; font-family:Arial, sans-serif; font-size: 16px; padding-top: 15px; padding-bottom:2px; text-align: center; word-break: break-word;">
  253. <img alt="Image" src="{{ $stringMappingConfig['logo'] }}" alt="Logo" style="border: none;max-width:130px;object-fit:contain;">
  254. </td>
  255. </tr>
  256. <!-- Email Body -->
  257. <tr>
  258. <td class="email-body" width="650" cellpadding="0" cellspacing="0" style="color: #000; font-family:Arial, sans-serif; font-size: 16px; margin: 0; padding: 0; word-break: break-word;" bgcolor="#FFFFFF">
  259. <table class="email-body_inner" align="center" width="650" cellpadding="0" cellspacing="0" role="presentation" style="margin: 0 auto; padding: 0;" border="0" bgcolor="#FFFFFF">
  260. <!-- Body content -->
  261. <tr>
  262. <td class="content-cell" style="color: #000; font-family:Arial, sans-serif; font-size: 17px; padding: 15px 15px; word-break: break-word;">
  263. <div>
  264. <p style=" font-weight: bold; color: #000; font-size: 16px; padding: 0 15px; line-height: 58px; margin: .1em 0;">@yield('salutation')</p>
  265. @yield('content')
  266. <p style="color: #000; line-height: 1.625; font-size: 15px; margin: .4em 0 1.1875em;padding: 0 15px;">If you have any questions, feel free to <a href="mailto:{{ $stringMappingConfig['supportEmail'] }}">email our customer success team</a>. <br> (We're lightning quick at replying.)</p>
  267. <p style="color: #000; font-size: 15px; line-height: 1.625; margin: .4em 0 1.1875em;padding: 0 15px;">Thank you,</p>
  268. <p style="color: #000; font-size: 15px; line-height: 1.625; letter-spacing: 0; margin: .4em 0 1.1875em;padding: 0 15px;"><b>{{$stringMappingConfig['name']}} Team</b>
  269. <a href="{{$stringMappingConfig['productUrl']}}" target="_blank" style="margin-top:0px;display:block;color:#1C3D80;text-decoration:none;">{{$stringMappingConfig['productUrl']}}</a></p>
  270. </div>
  271. </td>
  272. </tr>
  273. <tr>
  274. <td style="background:#e9f8fe ;color: #000; font-family:Arial, sans-serif; font-size: 16px; word-break: break-word;">
  275. <table class="email-footer" align="center" width="650" cellpadding="0" cellspacing="0" role="presentation" style="margin: 0 auto; padding: 0; " border="0">
  276. <tr>
  277. <td class="content-cell" align="center" style="color: #000; font-family:Arial, sans-serif; font-size: 16px; padding: 0;word-break: break-word;">
  278. <p style="text-align:center;padding:15px 0 15px; margin:0;">
  279. <img src="{{$stringMappingConfig['phoneIcon']}}" style="height:15px;vertical-align: middle;" alt=""><a href="tel:{{ $stringMappingConfig['supportPhone'] }}" style="color:#000;text-decoration: none;font-size:14px;margin-left:7px;">{{ $stringMappingConfig['supportPhone'] }}</a>
  280. <img src="{{$stringMappingConfig['emailIcon']}}" style="height:15px;vertical-align: middle;margin-left:50px" alt=""><a href="mailto:{{ $stringMappingConfig['supportEmail'] }}" style="color:#000;text-decoration: none;font-size:14px;margin-left:7px;">{{ $stringMappingConfig['supportEmail'] }}</a></p>
  281. </td>
  282. </tr>
  283. </table>
  284. </td>
  285. </tr>
  286. <tr>
  287. <td style="background:#c5ecfa ;color: #000; font-family:Arial, sans-serif; font-size: 16px; word-break: break-word;">
  288. <table class="email-footer" align="center" width="650" cellpadding="0" cellspacing="0" role="presentation" style="margin: 0 auto; padding: 0; " border="0">
  289. <tr>
  290. <td class="content-cell" align="center" style="color: #000; font-family:Arial, sans-serif; font-size: 16px; padding: 0;word-break: break-word;">
  291. <?php
  292. $entity = null;
  293. if(@$user){
  294. $entity = $user;
  295. }
  296. ?>
  297. @if($entity)
  298. <p style="color: #000; line-height: 1.625; margin: 0; font-size: 14px;padding: 15px;">Don’t want to receive any more e-mails? <a href="{{ route('unsubscribe-from-emails', $entity->uid) }}" style="color:#1C3D80">Unsubscribe</a></p>
  299. @endif
  300. </td>
  301. </tr>
  302. </table>
  303. </td>
  304. </tr>
  305. </table>
  306. </td>
  307. </tr>
  308. </table>
  309. </td>
  310. </tr>
  311. </table>
  312. </body>
  313. </html>