diff --git a/.env.example b/.env.example new file mode 100644 index 0000000..408da6d --- /dev/null +++ b/.env.example @@ -0,0 +1 @@ +VITE_WORKER_URL=https://planb-email.janwellmann.workers.dev/submit diff --git a/public/email-template.html b/public/email-template.html index 1febf54..384c9b3 100644 --- a/public/email-template.html +++ b/public/email-template.html @@ -10,63 +10,65 @@ img { -ms-interpolation-mode: bicubic; border: 0; outline: none; text-decoration: none; } body { margin: 0; padding: 0; width: 100% !important; background: #FAFAFA; } .body { background: #FAFAFA; color: #5A5A54; font-family: Arial, Helvetica, sans-serif; } - .wrap { width: 100%; max-width: 640px; margin: 0 auto; } - .panel { background: #FAFAFA; border: 1px solid #E4E4E0; border-radius: 16px; box-shadow: 0 7px 11px rgba(0,0,0,0.12); overflow: hidden; } - .header { background: #F0F0F0; border-bottom: 1px solid #E4E4E0; padding: 24px; } - .brand { font-family: Georgia, 'Times New Roman', serif; font-size: 25px; line-height: 1; color: #1A1A18; } - .kicker { margin-top: 14px; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: #4A8A68; font-weight: 700; } - .title { margin: 8px 0 0; font-size: 30px; line-height: 1.08; letter-spacing: 1px; text-transform: uppercase; color: #3A3A34; font-weight: 800; } - .copy { font-size: 15px; line-height: 1.7; color: #5A5A54; } - .sage { background: #E5F0E0; border: 1px solid #C7DDCE; border-radius: 10px; padding: 16px; } - .metric { background: #F0F0F0; border: 1px solid #E4E4E0; border-radius: 10px; padding: 14px; } - .label { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: #8A8A84; font-weight: 700; } - .value { margin-top: 5px; font-size: 18px; line-height: 1.25; color: #1A1A18; font-weight: 700; } - .button { display: inline-block; background: #2A3010; color: #F4ECD8 !important; text-decoration: none; padding: 15px 22px; border-radius: 2px; font-size: 13px; letter-spacing: 2px; text-transform: uppercase; } - .section-title { font-size: 16px; color: #1A1A18; font-weight: 800; letter-spacing: .3px; } - .item { border-top: 1px solid #E4E4E0; padding-top: 14px; margin-top: 14px; } + .wrap { width: 100%; max-width: 680px; margin: 0 auto; } + .panel { background: #FAFAFA; border: 1px solid #E4E4E0; overflow: hidden; } + .brand { font-family: Georgia, 'Times New Roman', serif; font-size: 42px; line-height: 1; letter-spacing: .04em; color: #1A1A18; } + .brand-b { color: #5A9A78; } + .eyebrow { font-size: 11px; line-height: 1.4; letter-spacing: 3px; text-transform: uppercase; color: #5A9A78; font-weight: 700; } + .title { margin: 14px 0 0; font-size: 28px; line-height: 1.14; letter-spacing: 2px; text-transform: uppercase; color: #1A1A18; font-weight: 800; } + .copy { font-size: 15px; line-height: 1.72; color: #5A5A54; } + .lead { font-size: 16px; line-height: 1.7; color: #3A3A34; } + .surface { background: #F2F2F0; border: 1px solid #E4E4E0; } + .accent { background: #E8F2EC; border-left: 4px solid #5A9A78; } + .label { font-size: 10px; line-height: 1.4; letter-spacing: 2px; text-transform: uppercase; color: #8A8A84; font-weight: 700; } + .value { margin-top: 7px; font-size: 20px; line-height: 1.2; color: #1A1A18; font-weight: 800; } + .section-title { font-size: 18px; line-height: 1.25; color: #1A1A18; font-weight: 800; letter-spacing: .4px; } + .rule { border-top: 1px solid #E4E4E0; } + .button { display: inline-block; background: #1A1A18; color: #FAFAFA !important; text-decoration: none; padding: 16px 24px; border-radius: 0; font-size: 12px; font-weight: 700; letter-spacing: 2.4px; text-transform: uppercase; } .footer { color: #8A8A84; font-size: 12px; line-height: 1.7; } @media screen and (max-width: 680px) { - .pad { padding-left: 16px !important; padding-right: 16px !important; } - .title { font-size: 24px !important; } + .pad { padding-left: 18px !important; padding-right: 18px !important; } + .brand { font-size: 34px !important; } + .title { font-size: 23px !important; } .stack { display: block !important; width: 100% !important; } - .stack + .stack { margin-top: 10px !important; } + .stack-pad { padding-left: 0 !important; padding-right: 0 !important; padding-top: 10px !important; } } -