Skip to content

Commit

Permalink
Fixes sugarlabs#625, Improve styling of newsletter signup form on hom…
Browse files Browse the repository at this point in the history
…epage and community-news page
  • Loading branch information
KanishkValechha committed Jan 16, 2025
1 parent 0dc4a8d commit 45ff716
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 10 deletions.
12 changes: 7 additions & 5 deletions community-news.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,15 +12,17 @@
<section id="call-to-action">
<div class="container">
<div class="row justify-content-center">
<div class="col-md-12" >
<div class="col-md-8" >
<h2 >NEWSLETTER</h2>
<p>Subscribe to our newsletter to get the most up-to-date Sugar Labs news in your inbox.</p>
<form action="https://buttondown.com/api/emails/embed-subscribe/sugarlabs" method="post" class="embeddable-buttondown-form">
<p>Sign up for our mailing list to receive regular news and updates from Sugar Labs.</p>
<label for="email">Email</label>
<input type="email" name="email" placeholder="[email protected]" />
<input type="hidden" value="1" name="embed" />
<input type="submit" value="Subscribe" />
<div class="d-flex align-items-center justify-content-center w-100">
<label for="email" class="text-center my-3">Email</label>
<input type="email" name="email" placeholder="[email protected]" class="form-control w-100 col-md-8 m-2" />
<input type="hidden" value="1" name="embed" />
</div>
<input type="submit" value="Subscribe" class="btn btn-primary" />
</form><br>
</div>
</div>
Expand Down
12 changes: 7 additions & 5 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,13 @@ <h2 >EXCITED?</h2>
<form action="https://buttondown.com/api/emails/embed-subscribe/sugarlabs" method="post" class="embeddable-buttondown-form">
<p>Sign up for our mailing list to receive regular
news and updates from Sugar Labs.</p>
<label for="email">Email</label>
<input type="email" name="email" placeholder="[email protected]" />
<input type="hidden" value="1" name="embed" />
<input type="submit" value="Subscribe" />
</form>
<div class="d-flex align-items-center justify-content-center w-100">
<label for="email" class="text-center my-3">Email</label>
<input type="email" name="email" placeholder="[email protected]" class="form-control w-100 col-md-8 m-2" />
<input type="hidden" value="1" name="embed" />
</div>
<input type="submit" value="Subscribe" class="btn btn-primary" />
</form>
<br>
</div>
</div>
Expand Down

0 comments on commit 45ff716

Please sign in to comment.