newsletter.ejs 1.7 KB

1234567891011121314151617181920212223242526272829303132
  1. <div class="container">
  2. <div class="row">
  3. <div class="col-12">
  4. <h2 class="group-header">Signup to our Newsletter</h2>
  5. <p class="lead justify">Participate in beta tests, get free game copies, get to know the devs and get a sneak peak behind the scenes.</p>
  6. </div>
  7. </div>
  8. <div class="row" v-show="newsletter.show_alert">
  9. <div class="col-12">
  10. <div class="alert fade show" v-bind:class="newsletter.alert_class" role="alert">
  11. <i class="fas fa-spinner fa-pulse" v-show="newsletter.show_spinner"
  12. style="margin-right: 10px; font-size: 1.3em;"></i> {{newsletter.alert_text}}
  13. <button type="button" v-show="newsletter.show_alert_close" v-on:click="close_newsletter_alert()" class="btn close" aria-label="Close"
  14. style="float: right; margin-top: -4px;">
  15. <span aria-hidden="true"><i class="fas fa-times"></i></span>
  16. </button>
  17. </div>
  18. </div>
  19. </div>
  20. <form @submit.prevent="subscribe_to_newsletter" v-show="newsletter.show_form" class="row g-3 dark-form newsletter">
  21. <div class="col-md-10 ">
  22. <input type="email" v-model="newsletter.email" class="form-control" id="inputEmail" aria-describedby="emailHelp" placeholder="Email">
  23. <div id="emailHelp" class="form-text hidden">We'll never share your email with anyone else.</div>
  24. </div>
  25. <div class="col-md-2 ">
  26. <div class="d-grid gap-2">
  27. <button type="submit" class="btn btn-secondary" v-on:click="subscribe_to_newsletter()">Submit</button>
  28. </div>
  29. </div>
  30. </form>
  31. </div>