AthletiFi / athletifi-website

Official website for AthletiFi
https://www.athleti.fi
1 stars 5 forks source link

Update email language for registration email to be specific for the first 60 families (referralInvite lambda) #319

Open qisforq opened 3 weeks ago

qisforq commented 3 weeks ago

@HectorAgudelo I will provide html syntax here

qisforq commented 1 week ago

@HectorAgudelo Sorry for the delay in getting you the example email html. Here it is:

          <!doctype html>
          <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml"
            xmlns:o="urn:schemas-microsoft-com:office:office">
            <head>
              <title>
              </title>
              <!--[if !mso]><!-->
              <meta http-equiv="X-UA-Compatible" content="IE=edge">
              <!--<![endif]-->
              <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
              <meta name="viewport" content="width=device-width, initial-scale=1">
              <style type="text/css">
                #outlook a {
                padding: 0;
                }
                body {
                margin: 0;
                padding: 0;
                -webkit-text-size-adjust: 100%;
                -ms-text-size-adjust: 100%;
                }
                table,
                td {
                border-collapse: collapse;
                mso-table-lspace: 0pt;
                mso-table-rspace: 0pt;
                }
                img {
                border: 0;
                height: auto;
                line-height: 100%;
                outline: none;
                text-decoration: none;
                -ms-interpolation-mode: bicubic;
                }
                p {
                display: block;
                margin: 13px 0;
                }
              </style>
              <!--[if mso]>
              <noscript>
                <xml>
                  <o:OfficeDocumentSettings>
                    <o:AllowPNG/>
                    <o:PixelsPerInch>96</o:PixelsPerInch>
                  </o:OfficeDocumentSettings>
                </xml>
              </noscript>
              <![endif]-->
              <!--[if lte mso 11]>
              <style type="text/css">
                .mj-outlook-group-fix { width:100% !important; }
              </style>
              <![endif]-->
              <!--[if !mso]><!-->
              <link
                href="https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
                rel="stylesheet" type="text/css">
              <style type="text/css">
                @import url(https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap);
              </style>
              <!--<![endif]-->
              <style type="text/css">
                @media only screen and (min-width:480px) {
                .mj-column-per-100 {
                width: 100% !important;
                max-width: 100%;
                }
                }
              </style>
              <style media="screen and (min-width:480px)">
                .moz-text-html .mj-column-per-100 {
                width: 100% !important;
                max-width: 100%;
                }
              </style>
              <style type="text/css">
                @media only screen and (max-width:480px) {
                table.mj-full-width-mobile {
                width: 100% !important;
                }
                td.mj-full-width-mobile {
                width: auto !important;
                }
                }
              </style>
              <style type="text/css">
                * {
                font-family: Poppins, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif !important;
                }
                h2 {
                font-weight: 700 !important;
                font-size: 20px;
                }
                ul {
                margin-bottom: 16px !important;
                }
                h3 {
                font-weight: 700 !important;
                }
                h4 {
                font-weight: 600 !important;
                margin-bottom: 0px !important;
                color: #11568c !important;
                font-size: 16px;
                }
                strong {
                color: #4F5660 !important;
                }
                div,
                li {
                color: #2E3338;
                }
                p,
                span {
                font-size: 14px;
                line-height: 20px;
                color: #4F5660 !important;
                }
                .no-style {
                font-size: unset;
                line-height: unset;
                color: unset !important;
                }
                .cta-button a {
                padding: 10px !important;
                font-size: 14px !important;
                display: block !important;
                /* Makes the button fully clickable, not just the text */
                }
                .download-button a {
                padding: 8px 24px !important;
                font-size: 14px !important;
                }
                .cta-button {
                margin: 24px 0px !important;
                }
                .help-text p {
                font-size: 12px;
                margin: 0;
                }
                .footer *:not(a) {
                color: #747F8D !important;
                }
                .round-border {
                overflow: hidden;
                border-radius: 8px;
                }
                .social-media div {
                text-align: center !important;
                }
                .social-media-col {
                width: 40px !important;
                }
              </style>
              <!-- prettier-ignore -->
            </head>
            <body style="word-spacing:normal;background-color:#F9F9F9;">
              <div style="background-color:#F9F9F9;">
                <!--[if mso | IE]>
                <table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:604;" width="604" >
                  <tr>
                    <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
                      <![endif]-->
                      <div style="margin:0px auto;max-width:604;">
                        <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation" style="width:100%;">
                          <tbody>
                            <tr>
                              <td style="direction:ltr;font-size:0px;padding:20px 0;text-align:center;">
                                <!--[if mso | IE]>
                                <table role="presentation" border="0" cellpadding="0" cellspacing="0">
                                  <![endif]-->
                                  <style type="text/css">
                                    html,
                                    body,
                                    * {
                                    -webkit-text-size-adjust: none;
                                    text-size-adjust: none;
                                    }
                                    a {
                                    color: #1eb0f4;
                                    text-decoration: none;
                                    }
                                    a:hover {
                                    text-decoration: underline;
                                    }
                                  </style>
                                  <!--[if mso | IE]>
                                  <tr>
                                    <td class="" width="604" >
                                      <table align="center" border="0" cellpadding="0" cellspacing="0" class="" role="presentation" style="width:604px;" width="604" bgcolor="transparent" >
                                        <tr>
                                          <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
                                            <![endif]-->
                                            <div style="background:transparent;background-color:transparent;margin:0px auto;max-width:604px;">
                                              <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
                                                style="background:transparent;background-color:transparent;width:100%;">
                                                <tbody>
                                                  <tr>
                                                    <td style="direction:ltr;font-size:0px;padding:20px 0px;text-align:center;">
                                                      <!--[if mso | IE]>
                                                      <table role="presentation" border="0" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                          <td class="" style="vertical-align:top;width:604px;" >
                                                            <![endif]-->
                                                            <div class="mj-column-per-100 mj-outlook-group-fix"
                                                              style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
                                                              <table border="0" cellpadding="0" cellspacing="0" role="presentation"
                                                                style="vertical-align:top;" width="100%">
                                                                <tbody>
                                                                  <tr>
                                                                    <td align="center" style="font-size:0px;padding:0;word-break:break-word;">
                                                                      <table border="0" cellpadding="0" cellspacing="0" role="presentation"
                                                                        style="border-collapse:collapse;border-spacing:0px;">
                                                                        <tbody>
                                                                          <tr>
                                                                            <td style="width:140px;">
                                                                              <a href="https://www.athletifiselect.com" target="_blank">
                                                                              <img height="38"
                                                                                src="https://vidalco.in/uploads/Athleti_Fi_logo_horizontal_small_b8288b9c0a.png"
                                                                                style="border:0;display:block;outline:none;text-decoration:none;height:38px;width:100%;font-size:13px;"
                                                                                width="140" />
                                                                              </a>
                                                                            </td>
                                                                          </tr>
                                                                        </tbody>
                                                                      </table>
                                                                    </td>
                                                                  </tr>
                                                                </tbody>
                                                              </table>
                                                            </div>
                                                            <!--[if mso | IE]>
                                                          </td>
                                                        </tr>
                                                      </table>
                                                      <![endif]-->
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </div>
                                            <!--[if mso | IE]>
                                          </td>
                                        </tr>
                                      </table>
                                    </td>
                                  </tr>
                                  <![endif]-->
                                  <!--[if mso | IE]>
                                  <tr>
                                    <td class="shadow-outlook round-border-outlook" width="604" >
                                      <table align="center" border="0" cellpadding="0" cellspacing="0" class="shadow-outlook round-border-outlook" role="presentation" style="width:604px;" width="604" bgcolor="#ffffff" >
                                        <tr>
                                          <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
                                            <![endif]-->
                                            <div class="shadow round-border"
                                              style="background:#ffffff;background-color:#ffffff;margin:0px auto;max-width:604px;">
                                              <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
                                                style="background:#ffffff;background-color:#ffffff;width:100%;">
                                                <tbody>
                                                  <tr>
                                                    <td style="direction:ltr;font-size:0px;padding:40px 50px;text-align:center;">
                                                      <!--[if mso | IE]>
                                                      <table role="presentation" border="0" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                          <td class="" style="vertical-align:top;width:504px;" >
                                                            <![endif]-->
                                                            <div class="mj-column-per-100 mj-outlook-group-fix"
                                                              style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
                                                              <table border="0" cellpadding="0" cellspacing="0" role="presentation"
                                                                style="vertical-align:top;" width="100%">
                                                                <tbody>
                                                                  <tr>
                                                                    <td align="center" style="padding:10px 0;">
                                                                      <img src="https://vidalco.in/uploads/New_poster_bg_copy3423_2c6ba4817c.jpg" style="width:100%; height:auto;">
                                                                    </td>
                                                                  </tr>
                                                                  <tr>
                                                                    <td align="left" style="font-size:0px;padding:0px;word-break:break-word;">
                                                                      <div style="font-family:Poppins, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px;line-height:24px;text-align:left;color:#737F8D;">
                                                                        <p>Hello ${user.parentFirstName},</p>
                                                                        <p>
                                                                          We are excited to welcome ${user.playerFirstName} on the field in just one month! To ensure that everyone is fully prepared and informed, we will be hosting an information session for parents the week before the first day of training. 
                                                                        </p>
                                                                        <h4>
                                                                          💡&nbsp;Info Session Details:
                                                                        </h4>
                                                                        <p><strong>🗓️&nbsp;Date: </strong>Tuesday, June 4th</p>
                                                                        <p><strong>⏰&nbsp;Time: </strong>6:30 p.m.</p>
                                                                        <p><strong>📍&nbsp;Location: </strong>Online via Microsoft Teams.
                                                                          <a href="https://teams.microsoft.com/l/meetup-join/19%3ameeting_YmE1MWUxOTItYjc1YS00NjljLThlNjItMTkwZTI4M2Q4Mjg0%40thread.v2/0?context=%7b%22Tid%22%3a%226696caf2-fe32-4d32-868b-74be3f1cd68c%22%2c%22Oid%22%3a%22fc98153b-c538-4a48-aabd-c2619eb300ee%22%7d">
                                                                            🔗 Join the meeting here
                                                                          </a>
                                                                        </p>
                                                                        <p>We strongly encourage you to make every effort to attend, as we will be covering important information about the upcoming program, demonstrating the AthletiFi platform, and answering any questions you may have.</p>
                                                                        <!-- 
                                                                        <p><strong>🔗&nbsp;Access the meeting:</strong> 
                                                                          <a href="https://teams.microsoft.com/l/meetup-join/19%3ameeting_YmE1MWUxOTItYjc1YS00NjljLThlNjItMTkwZTI4M2Q4Mjg0%40thread.v2/0?context=%7b%22Tid%22%3a%226696caf2-fe32-4d32-868b-74be3f1cd68c%22%2c%22Oid%22%3a%22fc98153b-c538-4a48-aabd-c2619eb300ee%22%7d">
                                                                            Click here to join the meeting
                                                                          </a>
                                                                        </p>
                                                                        <p><strong>🆔&nbsp;Meeting ID:</strong> 211 153 416 813</p>
                                                                        <p><strong>🔑&nbsp;Passcode:</strong> rZ98fv</p>
                                                                        <p>
                                                                          <strong>
                                                                            📞&nbsp;Dial in by phone:
                                                                          </strong>
                                                                          <a href="tel:+19293522689,,285352407#">
                                                                            +1 929-352-2689,,285352407#
                                                                          </a>
                                                                          <p>
                                                                            <strong>📞&nbsp;Phone conference ID:</strong> 285 352 407#
                                                                          </p>
                                                                        </p> -->
                                                                      </div>
                                                                      <h4>
                                                                        ❓&nbsp;Questionnaire:
                                                                      </h4>
                                                                      <p>
                                                                        We request all parents to fill out a brief questionnaire to help us gather essential information to ensure everyone is ready on day one.
                                                                        👉
                                                                        <a href="https://forms.gle/hwZWbjJJ6PAfN8Qq5" style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;color: #0092c4;">
                                                                          Please click here to complete the questionnaire!
                                                                        </a>
                                                                        👈
                                                                      </p>
                                                                      <h4>
                                                                        🍫&nbsp;Hershey Summer Classic Tournament Details:
                                                                      </h4>
                                                                      <p>
                                                                        Our first tournament, the Hershey Summer Classic, will take place on June 15-16, shortly after our initial training sessions on June 11 and June 13. This tournament will be an excellent opportunity for our young athletes to showcase their skills early in the program.
                                                                      </p>
                                                                      <h4>🏠&nbsp;Lodging Information:</h4>
                                                                      <p>
                                                                        For those requiring lodging for the Hershey Summer Classic, please use the following link to book accommodations:
                                                                        <br>
                                                                        <a href="https://www.halperntravel.com/event/hershey-summer-classic-2024" style="font-family: Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;color: #0092c4;">
                                                                          Halpern Travel - Hershey Summer Classic 2024
                                                                        </a>
                                                                      </p>
                                                                      <br>
                                                                      <p>
                                                                        We are looking forward to an exciting and productive season with your young athletes! Should you have any questions or need further assistance, please do not hesitate to contact us.
                                                                      </p>
                                                                      <p>See you on the field soon!</p><br>
                                                                      <p>Best regards,</p><br>
                                                                      <p>AthletiFi Select Team</p>
                                                                    </td>
                                                                  </tr>
                                                                </tbody>
                                                              </table>
                                                            </div>
                                                            <!--[if mso | IE]>
                                                          </td>
                                                        </tr>
                                                      </table>
                                                      <![endif]-->
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </div>
                                            <!--[if mso | IE]>
                                          </td>
                                        </tr>
                                      </table>
                                    </td>
                                  </tr>
                                  <![endif]-->
                                  <!--[if mso | IE]>
                                  <tr>
                                    <td class="footer-outlook" width="604" >
                                      <table align="center" border="0" cellpadding="0" cellspacing="0" class="footer-outlook" role="presentation" style="width:604px;" width="604" bgcolor="transparent" >
                                        <tr>
                                          <td style="line-height:0px;font-size:0px;mso-line-height-rule:exactly;">
                                            <![endif]-->
                                            <div class="footer" style="background:transparent;background-color:transparent;margin:0px auto;max-width:604px;">
                                              <table align="center" border="0" cellpadding="0" cellspacing="0" role="presentation"
                                                style="background:transparent;background-color:transparent;width:100%;">
                                                <tbody>
                                                  <tr>
                                                    <td style="direction:ltr;font-size:0px;padding:20px 0;padding-bottom:0px;text-align:center;">
                                                      <!--[if mso | IE]>
                                                      <table role="presentation" border="0" cellpadding="0" cellspacing="0">
                                                        <tr>
                                                          <td class="" style="vertical-align:top;width:604px;" >
                                                            <![endif]-->
                                                            <div class="mj-column-per-100 mj-outlook-group-fix"
                                                              style="font-size:0px;text-align:left;direction:ltr;display:inline-block;vertical-align:top;width:100%;">
                                                              <table border="0" cellpadding="0" cellspacing="0" role="presentation" style="vertical-align:top;"
                                                                width="100%">
                                                                <tbody>
                                                                  <tr>
                                                                    <td align="center" style="font-size:0px;padding:0;word-break:break-word;">
                                                                      <div
                                                                        style="font-family:Poppins, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px;line-height:24px;text-align:center;color:#99AAB5;">
                                                                        Sent by AthletiFi &bull;
                                                                        <a href="https://www.athleti.fi/news?page=1" style="color: #0092c4; text-decoration: none">Check Our
                                                                        Blog</a>
                                                                        &bull; <a href="https://www.instagram.com/athletifi/"
                                                                          style="color: #0092c4; text-decoration: none">@athletifi</a>
                                                                      </div>
                                                                    </td>
                                                                  </tr>
                                                                  <tr>
                                                                    <td align="center" style="font-size:0px;padding:0;word-break:break-word;">
                                                                      <div
                                                                        style="font-family:Poppins, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:12px;line-height:24px;text-align:center;color:#99AAB5;">
                                                                        326 Penn Ave, West Reading, PA 19611
                                                                      </div>
                                                                    </td>
                                                                  </tr>
                                                                  <tr>
                                                                    <td align="left" style="font-size:0px;padding:0;word-break:break-word;">
                                                                      <div
                                                                        style="font-family:Poppins, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:13px;line-height:1;text-align:left;color:#000000;">
                                                                      </div>
                                                                    </td>
                                                                  </tr>
                                                                </tbody>
                                                              </table>
                                                            </div>
                                                            <!--[if mso | IE]>
                                                          </td>
                                                        </tr>
                                                      </table>
                                                      <![endif]-->
                                                    </td>
                                                  </tr>
                                                </tbody>
                                              </table>
                                            </div>
                                            <!--[if mso | IE]>
                                          </td>
                                        </tr>
                                      </table>
                                    </td>
                                  </tr>
                                </table>
                                <![endif]-->
                              </td>
                            </tr>
                          </tbody>
                        </table>
                      </div>
                      <!--[if mso | IE]>
                    </td>
                  </tr>
                </table>
                <![endif]-->
              </div>
          </html>
qisforq commented 6 days ago

TODO: