index.hbs 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403
  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta name="viewport" content="width=device-width" />
  5. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6. <title>{{ title }}</title>
  7. <style>
  8. /* -------------------------------------
  9. GLOBAL RESETS
  10. ------------------------------------- */
  11. /*All the styling goes here*/
  12. img {
  13. border: none;
  14. -ms-interpolation-mode: bicubic;
  15. max-width: 100%;
  16. }
  17. body {
  18. background-color: #f6f6f6;
  19. font-family: sans-serif;
  20. -webkit-font-smoothing: antialiased;
  21. font-size: 14px;
  22. line-height: 1.4;
  23. margin: 0;
  24. padding: 0;
  25. -ms-text-size-adjust: 100%;
  26. -webkit-text-size-adjust: 100%;
  27. }
  28. table {
  29. border-collapse: separate;
  30. mso-table-lspace: 0pt;
  31. mso-table-rspace: 0pt;
  32. width: 100%; }
  33. table td {
  34. font-family: sans-serif;
  35. font-size: 14px;
  36. vertical-align: top;
  37. }
  38. /* -------------------------------------
  39. BODY & CONTAINER
  40. ------------------------------------- */
  41. .body {
  42. background-color: #f6f6f6;
  43. width: 100%;
  44. }
  45. /* Set a max-width, and make it display as block so it will automatically stretch to that width, but will also shrink down on a phone or something */
  46. .container {
  47. display: block;
  48. margin: 0 auto !important;
  49. /* makes it centered */
  50. max-width: 580px;
  51. padding: 10px;
  52. width: 580px;
  53. }
  54. /* This should also be a block element, so that it will fill 100% of the .container */
  55. .content {
  56. box-sizing: border-box;
  57. display: block;
  58. margin: 0 auto;
  59. max-width: 580px;
  60. padding: 10px;
  61. }
  62. /* -------------------------------------
  63. HEADER, FOOTER, MAIN
  64. ------------------------------------- */
  65. .main {
  66. background: #ffffff;
  67. border-radius: 3px;
  68. width: 100%;
  69. }
  70. .wrapper {
  71. box-sizing: border-box;
  72. padding: 20px;
  73. }
  74. .content-block {
  75. padding-bottom: 10px;
  76. padding-top: 10px;
  77. }
  78. .footer {
  79. clear: both;
  80. margin-top: 10px;
  81. text-align: center;
  82. width: 100%;
  83. }
  84. .footer td,
  85. .footer p,
  86. .footer span,
  87. .footer a {
  88. color: #999999;
  89. font-size: 12px;
  90. text-align: center;
  91. }
  92. /* -------------------------------------
  93. TYPOGRAPHY
  94. ------------------------------------- */
  95. h1,
  96. h2,
  97. h3,
  98. h4 {
  99. color: #000000;
  100. font-family: sans-serif;
  101. font-weight: 400;
  102. line-height: 1.4;
  103. margin: 0;
  104. margin-bottom: 30px;
  105. }
  106. h1 {
  107. font-size: 35px;
  108. font-weight: 300;
  109. text-align: center;
  110. text-transform: capitalize;
  111. }
  112. p,
  113. ul,
  114. ol {
  115. font-family: sans-serif;
  116. font-size: 14px;
  117. font-weight: normal;
  118. margin: 0;
  119. margin-bottom: 15px;
  120. }
  121. p li,
  122. ul li,
  123. ol li {
  124. list-style-position: inside;
  125. margin-left: 5px;
  126. }
  127. a {
  128. color: #3498db;
  129. text-decoration: underline;
  130. }
  131. /* -------------------------------------
  132. BUTTONS
  133. ------------------------------------- */
  134. .btn {
  135. box-sizing: border-box;
  136. width: 100%; }
  137. .btn > tbody > tr > td {
  138. padding-bottom: 15px; }
  139. .btn table {
  140. width: auto;
  141. }
  142. .btn table td {
  143. background-color: #ffffff;
  144. border-radius: 5px;
  145. text-align: center;
  146. }
  147. .btn a {
  148. background-color: #ffffff;
  149. border: solid 1px #3498db;
  150. border-radius: 5px;
  151. box-sizing: border-box;
  152. color: #3498db;
  153. cursor: pointer;
  154. display: inline-block;
  155. font-size: 14px;
  156. font-weight: bold;
  157. margin: 0;
  158. padding: 12px 25px;
  159. text-decoration: none;
  160. text-transform: capitalize;
  161. }
  162. .btn-primary table td {
  163. background-color: #3498db;
  164. }
  165. .btn-primary a {
  166. background-color: #3498db;
  167. border-color: #3498db;
  168. color: #ffffff;
  169. }
  170. /* -------------------------------------
  171. OTHER STYLES THAT MIGHT BE USEFUL
  172. ------------------------------------- */
  173. .last {
  174. margin-bottom: 0;
  175. }
  176. .first {
  177. margin-top: 0;
  178. }
  179. .align-center {
  180. text-align: center;
  181. }
  182. .align-right {
  183. text-align: right;
  184. }
  185. .align-left {
  186. text-align: left;
  187. }
  188. .clear {
  189. clear: both;
  190. }
  191. .mt0 {
  192. margin-top: 0;
  193. }
  194. .mb0 {
  195. margin-bottom: 0;
  196. }
  197. .preheader {
  198. color: transparent;
  199. display: none;
  200. height: 0;
  201. max-height: 0;
  202. max-width: 0;
  203. opacity: 0;
  204. overflow: hidden;
  205. mso-hide: all;
  206. visibility: hidden;
  207. width: 0;
  208. }
  209. .powered-by a {
  210. text-decoration: none;
  211. }
  212. hr {
  213. border: 0;
  214. border-bottom: 1px solid #f6f6f6;
  215. margin: 20px 0;
  216. }
  217. /* -------------------------------------
  218. RESPONSIVE AND MOBILE FRIENDLY STYLES
  219. ------------------------------------- */
  220. @media only screen and (max-width: 620px) {
  221. table[class=body] h1 {
  222. font-size: 28px !important;
  223. margin-bottom: 10px !important;
  224. }
  225. table[class=body] p,
  226. table[class=body] ul,
  227. table[class=body] ol,
  228. table[class=body] td,
  229. table[class=body] span,
  230. table[class=body] a {
  231. font-size: 16px !important;
  232. }
  233. table[class=body] .wrapper,
  234. table[class=body] .article {
  235. padding: 10px !important;
  236. }
  237. table[class=body] .content {
  238. padding: 0 !important;
  239. }
  240. table[class=body] .container {
  241. padding: 0 !important;
  242. width: 100% !important;
  243. }
  244. table[class=body] .main {
  245. border-left-width: 0 !important;
  246. border-radius: 0 !important;
  247. border-right-width: 0 !important;
  248. }
  249. table[class=body] .btn table {
  250. width: 100% !important;
  251. }
  252. table[class=body] .btn a {
  253. width: 100% !important;
  254. }
  255. table[class=body] .img-responsive {
  256. height: auto !important;
  257. max-width: 100% !important;
  258. width: auto !important;
  259. }
  260. }
  261. /* -------------------------------------
  262. PRESERVE THESE STYLES IN THE HEAD
  263. ------------------------------------- */
  264. @media all {
  265. .ExternalClass {
  266. width: 100%;
  267. }
  268. .ExternalClass,
  269. .ExternalClass p,
  270. .ExternalClass span,
  271. .ExternalClass font,
  272. .ExternalClass td,
  273. .ExternalClass div {
  274. line-height: 100%;
  275. }
  276. .apple-link a {
  277. color: inherit !important;
  278. font-family: inherit !important;
  279. font-size: inherit !important;
  280. font-weight: inherit !important;
  281. line-height: inherit !important;
  282. text-decoration: none !important;
  283. }
  284. #MessageViewBody a {
  285. color: inherit;
  286. text-decoration: none;
  287. font-size: inherit;
  288. font-family: inherit;
  289. font-weight: inherit;
  290. line-height: inherit;
  291. }
  292. .btn-primary table td:hover {
  293. background-color: #34495e !important;
  294. }
  295. .btn-primary a:hover {
  296. background-color: #34495e !important;
  297. border-color: #34495e !important;
  298. }
  299. }
  300. </style>
  301. </head>
  302. <body class="">
  303. <span class="preheader">This is preheader text. Some clients will show this text as a preview.</span>
  304. <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="body">
  305. <tr>
  306. <td>&nbsp;</td>
  307. <td class="container">
  308. <div class="content">
  309. <!-- START CENTERED WHITE CONTAINER -->
  310. <table role="presentation" class="main">
  311. <!-- START MAIN CONTENT AREA -->
  312. <tr>
  313. <td class="wrapper">
  314. <table role="presentation" border="0" cellpadding="0" cellspacing="0">
  315. <tr>
  316. <td>
  317. <p>Hi there,</p>
  318. <p>{{ description }}</p>
  319. <table role="presentation" border="0" cellpadding="0" cellspacing="0" class="btn btn-primary">
  320. <tbody>
  321. <tr>
  322. <td align="left">
  323. <table role="presentation" border="0" cellpadding="0" cellspacing="0">
  324. <tbody>
  325. <tr>
  326. <td> <a href="https://nestjs.com/" target="_blank">Call To Action</a> </td>
  327. </tr>
  328. </tbody>
  329. </table>
  330. </td>
  331. </tr>
  332. </tbody>
  333. </table>
  334. </td>
  335. </tr>
  336. </table>
  337. </td>
  338. </tr>
  339. <!-- END MAIN CONTENT AREA -->
  340. </table>
  341. <!-- END CENTERED WHITE CONTAINER -->
  342. <!-- START FOOTER -->
  343. <div class="footer">
  344. <table role="presentation" border="0" cellpadding="0" cellspacing="0">
  345. <tr>
  346. <td class="content-block">
  347. <span class="apple-link">All rights reserved.</span>
  348. <br> Don't like these emails? <a href="https://nestjs.com/">Unsubscribe</a>.
  349. </td>
  350. </tr>
  351. <tr>
  352. <td class="content-block powered-by">
  353. <a href="https://nestjs.com/">Nestjs</a>.
  354. </td>
  355. </tr>
  356. </table>
  357. </div>
  358. <!-- END FOOTER -->
  359. </div>
  360. </td>
  361. <td>&nbsp;</td>
  362. </tr>
  363. </table>
  364. </body>
  365. </html>