Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update Sign-Up Forms on Website #359

Closed
3 tasks done
ZybN opened this issue Mar 14, 2023 · 1 comment · Fixed by #376
Closed
3 tasks done

Update Sign-Up Forms on Website #359

ZybN opened this issue Mar 14, 2023 · 1 comment · Fixed by #376
Assignees

Comments

@ZybN
Copy link
Contributor

ZybN commented Mar 14, 2023

Acceptance

  • Update the Sign-up form on the Life Itself Website for our Newsletter so that new Subscriber emails are added to our SendinBlue Lists and Segments

Tasks

  • Creation of subscription form in Send in Blue (Assigned to Zaib)
  • Replace the Mailchimp Subscription form with sendinblue html in Website ✅ 2023-03-21

Notes:

  • Task has been assigned to Khalil

HTML Code:

<style> @font-face { font-display: block; font-family: Roboto; src: url(https://assets.sendinblue.com/font/Roboto/Latin/normal/normal/7529907e9eaf8ebb5220c5f9850e3811.woff2) format("woff2"), url(https://assets.sendinblue.com/font/Roboto/Latin/normal/normal/25c678feafdc175a70922a116c9be3e7.woff) format("woff") } @font-face { font-display: fallback; font-family: Roboto; font-weight: 600; src: url(https://assets.sendinblue.com/font/Roboto/Latin/medium/normal/6e9caeeafb1f3491be3e32744bc30440.woff2) format("woff2"), url(https://assets.sendinblue.com/font/Roboto/Latin/medium/normal/71501f0d8d5aa95960f6475d5487d4c2.woff) format("woff") } @font-face { font-display: fallback; font-family: Roboto; font-weight: 700; src: url(https://assets.sendinblue.com/font/Roboto/Latin/bold/normal/3ef7cf158f310cf752d5ad08cd0e7e60.woff2) format("woff2"), url(https://assets.sendinblue.com/font/Roboto/Latin/bold/normal/ece3a1d82f18b60bcce0211725c476aa.woff) format("woff") } #sib-container input:-ms-input-placeholder { text-align: left; font-family: "Helvetica", sans-serif; color: #c0ccda; } #sib-container input::placeholder { text-align: left; font-family: "Helvetica", sans-serif; color: #c0ccda; } #sib-container textarea::placeholder { text-align: left; font-family: "Helvetica", sans-serif; color: #c0ccda; } </style>
Your subscription could not be saved. Please try again.
Your subscription has been successful.

Newsletter

Subscribe to our newsletter and stay updated.

Enter your email address to subscribe
            <div class="entry__field">
              <input class="input " type="text" id="EMAIL" name="EMAIL" autocomplete="off" placeholder="EMAIL" data-required="true" required />
            </div>
          </div>

          <label class="entry__error entry__error--primary" style="font-size:16px; text-align:left; font-family:&quot;Helvetica&quot;, sans-serif; color:#661d1d; background-color:#ffeded; border-radius:3px; border-color:#ff4949;">
          </label>
          <label class="entry__specification" style="font-size:12px; text-align:left; font-family:&quot;Helvetica&quot;, sans-serif; color:#8390A4; text-align:left">
            Provide your email address to subscribe. For e.g abc@xyz.com
          </label>
        </div>
      </div>
    </div>
    <div style="padding: 16px 0;">
      <div class="sib-multiselect sib-form--blockPosition sib-form-block " data-required="true">
        <div class="form__entry">
          <div class="form__label-row ">
            <label class="entry__label" style="font-size:16px; text-align:left; font-weight:700; font-family:&quot;Helvetica&quot;, sans-serif; color:#3c4858; text-align:left" for="lists" data-required="*">Choose your subscriptions</label>

            <div class="entry__field">
              <div class="input input_display input--multiselect input--centerText" style="padding-right:">
                0 lists selected
              </div>
              <input id="lists" class="input" name="lists_29[]" type="hidden" value="[]" />
            </div>
          </div>
          <label class="entry__error entry__error--primary" style="font-size:16px; text-align:left; font-family:&quot;Helvetica&quot;, sans-serif; color:#661d1d; background-color:#ffeded; border-radius:3px; border-color:#ff4949;">
          </label>
        </div>
        <div class="sib-menu" style="text-align:left">
          <div class="sib-menu__select sib-menu__selectTextAlign">
            <button type="button" class="clickable_link sib-menu__select-all-button">Select all</button>
            <span class="sib-menu__separator">/</span>
            <button type="button" class="clickable_link sib-menu__clear-button">Clear</button>
          </div>
          <ul class="sib-menu__item-list">
            <li class="sib-menu__item">
              <div class="entry__choice" style="text-indent:"><label class="sib-multiselect__label">
                  <input type="checkbox" class="input_replaced" data-value="15">
                  <span class="checkbox checkbox_tick_positive"></span>
                  <span class="sib-multiselect__label-text">Web3</span>
                </label></div>
            </li>
            <li class="sib-menu__item">
              <div class="entry__choice" style="text-indent:"><label class="sib-multiselect__label">
                  <input type="checkbox" class="input_replaced" data-value="16">
                  <span class="checkbox checkbox_tick_positive"></span>
                  <span class="sib-multiselect__label-text">Life Itself General</span>
                </label></div>
            </li>
          </ul>
          <div class="sib-menu__apply">
            <button type="button" class="sib-menu__cancel-button clickable_link">Cancel</button>
            <button type="button" class="sib-menu__apply-button clickable_button">Apply</button>
          </div>
        </div>
      </div>
    </div>
    <div style="padding: 16px 0;">
      <div class="sib-optin sib-form-block">
        <div class="form__entry entry_mcq">
          <div class="form__label-row ">
            <div class="entry__choice" style="">
              <label>
                <input type="checkbox" class="input_replaced" value="1" id="OPT_IN" name="OPT_IN" />
                <span class="checkbox checkbox_tick_positive"
        style="margin-left:"
        ></span><span style="font-size:14px; text-align:left; font-family:&quot;Helvetica&quot;, sans-serif; color:#3C4858; background-color:transparent;"><p>I agree to receive your newsletters and accept the data privacy statement.</p></span> </label>
            </div>
          </div>
          <label class="entry__error entry__error--primary" style="font-size:16px; text-align:left; font-family:&quot;Helvetica&quot;, sans-serif; color:#661d1d; background-color:#ffeded; border-radius:3px; border-color:#ff4949;">
          </label>
          <label class="entry__specification" style="font-size:12px; text-align:left; font-family:&quot;Helvetica&quot;, sans-serif; color:#8390A4; text-align:left">
            You may unsubscribe at any time using the link in our newsletter.
          </label>
        </div>
      </div>
    </div>
    <div style="padding: 16px 0;">
      <div class="sib-form-block" style="text-align: left">
        <button class="sib-form-block__button sib-form-block__button-with-loader" style="font-size:16px; text-align:left; font-weight:700; font-family:&quot;Helvetica&quot;, sans-serif; color:#0d0c0c; background-color:#fad36e; border-radius:3px; border-width:0px;" form="sib-form" type="submit">
          <svg class="icon clickable__icon progress-indicator__icon sib-hide-loader-icon" viewBox="0 0 512 512">
            <path d="M460.116 373.846l-20.823-12.022c-5.541-3.199-7.54-10.159-4.663-15.874 30.137-59.886 28.343-131.652-5.386-189.946-33.641-58.394-94.896-95.833-161.827-99.676C261.028 55.961 256 50.751 256 44.352V20.309c0-6.904 5.808-12.337 12.703-11.982 83.556 4.306 160.163 50.864 202.11 123.677 42.063 72.696 44.079 162.316 6.031 236.832-3.14 6.148-10.75 8.461-16.728 5.01z" />
          </svg>
          SUBSCRIBE
        </button>
      </div>
    </div>

    <input type="text" name="email_address_check" value="" class="input--hidden">
    <input type="hidden" name="locale" value="en">
  </form>
</div>
<script> window.REQUIRED_CODE_ERROR_MESSAGE = 'Please choose a country code'; window.LOCALE = 'en'; window.EMAIL_INVALID_MESSAGE = window.SMS_INVALID_MESSAGE = "The information provided is invalid. Please review the field format and try again."; window.REQUIRED_ERROR_MESSAGE = "This field cannot be left blank. "; window.GENERIC_INVALID_MESSAGE = "The information provided is invalid. Please review the field format and try again."; window.REQUIRED_MULTISELECT_MESSAGE = 'Please select at least 1 option'; window.translation = { common: { selectedList: '{quantity} list selected', selectedLists: '{quantity} lists selected' } }; var AUTOHIDE = Boolean(0); </script> <script defer src="https://sibforms.com/forms/end-form/build/main.js"></script>
@nathenf
Copy link
Contributor

nathenf commented Mar 14, 2023

@khalilcodes we're ready to add this to the website. Let us know if you need anything else.

Lets keep the block the same as we already have but just insert this code to direct to send in blue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging a pull request may close this issue.

3 participants