|
3 | 3 | <head> |
4 | 4 | <meta charset="utf-8"> |
5 | 5 | <meta name="viewport" content="width=device-width, initial-scale=1"> |
| 6 | + <title>Confirm Your Email - ActiveRabbit</title> |
6 | 7 | <style> |
7 | 8 | body { |
8 | | - font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; |
| 9 | + font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; |
9 | 10 | line-height: 1.5; |
10 | | - color: #374151; |
| 11 | + color: #333; |
| 12 | + max-width: 600px; |
| 13 | + margin: 0 auto; |
| 14 | + padding: 8px 12px; |
11 | 15 | background-color: #f9fafb; |
12 | | - margin: 0; |
13 | | - padding: 40px 20px; |
14 | 16 | } |
15 | | - .container { |
16 | | - max-width: 480px; |
17 | | - margin: 0 auto; |
18 | | - background: white; |
19 | | - border-radius: 8px; |
20 | | - padding: 40px; |
21 | | - box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); |
| 17 | + |
| 18 | + .header { |
| 19 | + background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); |
| 20 | + color: white; |
| 21 | + padding: 14px 16px 12px; |
| 22 | + text-align: center; |
| 23 | + border-radius: 8px 8px 0 0; |
22 | 24 | } |
23 | | - .logo { |
24 | | - font-size: 20px; |
25 | | - font-weight: 700; |
26 | | - color: #111827; |
27 | | - margin-bottom: 32px; |
| 25 | + |
| 26 | + .content { |
| 27 | + background: white; |
| 28 | + padding: 30px 20px; |
| 29 | + border: 1px solid #e5e5e5; |
| 30 | + border-top: none; |
| 31 | + border-radius: 0 0 8px 8px; |
28 | 32 | } |
| 33 | + |
29 | 34 | h1 { |
30 | | - font-size: 18px; |
| 35 | + font-size: 20px; |
31 | 36 | font-weight: 600; |
32 | 37 | color: #111827; |
33 | 38 | margin: 0 0 16px 0; |
34 | 39 | } |
| 40 | + |
35 | 41 | p { |
36 | 42 | margin: 0 0 16px 0; |
37 | 43 | color: #4b5563; |
38 | 44 | font-size: 14px; |
39 | 45 | } |
| 46 | + |
40 | 47 | .button { |
41 | 48 | display: inline-block; |
42 | | - background: #000; |
43 | | - color: #fff !important; |
44 | 49 | padding: 12px 24px; |
| 50 | + background: #667eea; |
| 51 | + color: white !important; |
45 | 52 | text-decoration: none; |
46 | 53 | border-radius: 6px; |
47 | | - font-weight: 500; |
| 54 | + font-weight: 600; |
48 | 55 | font-size: 14px; |
49 | | - margin: 8px 0 24px 0; |
| 56 | + margin: 8px 0 16px 0; |
50 | 57 | } |
51 | | - .footer { |
52 | | - margin-top: 32px; |
53 | | - padding-top: 24px; |
54 | | - border-top: 1px solid #e5e7eb; |
55 | | - font-size: 12px; |
56 | | - color: #9ca3af; |
| 58 | + |
| 59 | + .button-wrapper { |
| 60 | + text-align: center; |
| 61 | + margin: 24px 0; |
57 | 62 | } |
| 63 | + |
58 | 64 | .note { |
59 | 65 | background: #f3f4f6; |
60 | 66 | border-radius: 6px; |
|
63 | 69 | font-size: 13px; |
64 | 70 | color: #6b7280; |
65 | 71 | } |
| 72 | + |
| 73 | + .footer { |
| 74 | + text-align: center; |
| 75 | + margin-top: 30px; |
| 76 | + padding-top: 20px; |
| 77 | + border-top: 1px solid #e5e5e5; |
| 78 | + color: #666; |
| 79 | + font-size: 12px; |
| 80 | + } |
| 81 | + |
| 82 | + .footer a { |
| 83 | + color: #667eea; |
| 84 | + text-decoration: none; |
| 85 | + } |
66 | 86 | </style> |
67 | 87 | </head> |
68 | 88 | <body> |
69 | | - <div class="container"> |
70 | | - <div class="logo">ActiveRabbit</div> |
| 89 | + <div class="header"> |
| 90 | + <table width="100%" cellpadding="0" cellspacing="0" role="presentation"> |
| 91 | + <tr> |
| 92 | + <td align="center" valign="middle"> |
| 93 | + <table cellpadding="0" cellspacing="0" role="presentation" style="margin:0 auto;"> |
| 94 | + <tr> |
| 95 | + <td valign="middle" style="padding-right: 10px;"> |
| 96 | + <%= image_tag "faviicons/favicon-512.png", |
| 97 | + width: 50, |
| 98 | + height: 50, |
| 99 | + alt: "ActiveRabbit", |
| 100 | + title: "ActiveRabbit", |
| 101 | + style: "display:block;" |
| 102 | + %> |
| 103 | + </td> |
71 | 104 |
|
| 105 | + <td valign="middle" style="text-align:left;"> |
| 106 | + <div style="font-size:18px; font-weight:700; line-height:1.2; margin:0; color:#ffffff;"> |
| 107 | + ActiveRabbit |
| 108 | + </div> |
| 109 | + <div style="font-size:13px; line-height:1.2; margin-top:4px; opacity:0.9; color:#ffffff;"> |
| 110 | + AI-Powered Error Tracking |
| 111 | + </div> |
| 112 | + </td> |
| 113 | + </tr> |
| 114 | + </table> |
| 115 | + </td> |
| 116 | + </tr> |
| 117 | + </table> |
| 118 | + </div> |
| 119 | + |
| 120 | + <div class="content"> |
72 | 121 | <h1>Confirm Your Email Address</h1> |
73 | 122 |
|
74 | 123 | <p>Hi there!</p> |
75 | 124 |
|
76 | | - <p>Thanks for creating an account on ActiveRabbit - AI-powered error tracking for Rails applications.</p> |
77 | | - |
78 | | - <p>Please confirm your email address (<strong><%= @email %></strong>) to get started.</p> |
| 125 | + <p>Thanks for creating an account on <strong>ActiveRabbit</strong> - AI-powered error tracking for Rails applications.</p> |
79 | 126 |
|
80 | | - <p>Click the button below to verify your email:</p> |
| 127 | + <p>Please confirm your email address (<strong><%= @email %></strong>) to get started with error monitoring.</p> |
81 | 128 |
|
82 | | - <a href="<%= confirmation_url(@resource, confirmation_token: @token) %>" class="button">Confirm Email Address</a> |
| 129 | + <div class="button-wrapper"> |
| 130 | + <a href="<%= confirmation_url(@resource, confirmation_token: @token) %>" class="button">Confirm Email Address</a> |
| 131 | + </div> |
83 | 132 |
|
84 | 133 | <div class="note"> |
85 | 134 | If you didn't create an account with ActiveRabbit, you can safely ignore this email. |
86 | 135 | </div> |
87 | 136 |
|
88 | 137 | <div class="footer"> |
89 | | - ActiveRabbit<br> |
90 | | - AI-Powered Error Tracking for Rails |
| 138 | + <p> |
| 139 | + ActiveRabbit - AI-Powered Error Tracking for Rails<br> |
| 140 | + <a href="https://activerabbit.ai">activerabbit.ai</a> |
| 141 | + </p> |
91 | 142 | </div> |
92 | 143 | </div> |
93 | 144 | </body> |
|
0 commit comments