Permalink
Browse files

Merge pull request #315 from duckduckgo/john/update-forms

Update email forms to post to Privacy Tips
  • Loading branch information...
2 parents 9264bc9 + d044cec commit 0184efd0f54b0f4851aaf89a94728b441454abfc @jbarrett jbarrett committed on GitHub Apr 21, 2017
Showing with 14 additions and 40 deletions.
  1. +7 −35 share/site/duckduckgo/about.tx
  2. +7 −5 share/site/duckduckgo/styleguide.tx
@@ -162,42 +162,14 @@ Smarter search without the tracking.
</div>
<div class="abt blk blk--arr">
<div class="cw--c"><a class="anchor" name="newsletter"></a>
- <h2 class="abt__title">Stay up to Date</h2>
- <p class="abt__sub">Join our newsletters for all things DuckDuckGo.</p>
- <form class="frm--newsletter abt__newsletter" action="https://flash.duckduckgo.com/e.js" method="post" name="y">
- <input type="hidden" name="add" value="1" />
- <input type="text" placeholder="Your email address" class="frm__input" name="from" />
+ <h2 class="abt__title">Sign up to Privacy Tips from DuckDuckGo!</h2>
+ <p class="abt__sub">.</p>
+ <form class="frm--newsletter abt__newsletter" action="https://duck.co/s/a" method="post" name="y">
+ <input type="hidden" name="page" value="1" />
+ <input type="hidden" name="campaign" value="b" />
+ <input type="hidden" name="flow" value="about" />
+ <input type="email" placeholder="Your email address" class="frm__input" name="email" />
<input type="submit" value="Subscribe" class="frm__btn btn btn--primary--alt" />
- <div class="frm--newsletter__chks">
- <label class="frm__label" for="add">
- <input class="frm__label__chk" type="checkbox" id="add" name="add" checked="checked">
- <span class="frm__label__txt">
- Newsletter
- <span class="frm--newsletter__frq">Monthly</span>
- </span>
- </label>
- <label class="frm__label" for="add2">
- <input class="frm__label__chk" type="checkbox" id="add2" name="add2">
- <span class="frm__label__txt">
- Beta
- <span class="frm--newsletter__frq">New stuff</span>
- </span>
- </label>
- <label class="frm__label" for="add3">
- <input class="frm__label__chk" type="checkbox" id="add3" name="add3">
- <span class="frm__label__txt">
- Spread
- <span class="frm--newsletter__frq">Promotions</span>
- </span>
- </label>
- <label class="frm__label" for="add4">
- <input class="frm__label__chk" type="checkbox" id="add4" name="add4">
- <span class="frm__label__txt">
- Privacy
- <span class="frm--newsletter__frq">Education</span>
- </span>
- </label>
- </div>
</form>
<div class="abt__social-media">
<p class="abt__social-media__cta text--secondary">Keep in touch via social media.</p>
@@ -289,13 +289,15 @@
<hr class="hr--mid" />
<div class="t-mid">
- <form class="frm--newsletter" action="https://flash.duckduckgo.com/e.js" method="post" name="y">
- <input type="hidden" name="add" value="1" />
- <input type="text" placeholder="Enter your email address" class="frm__input" name="from" />
+ <form class="frm--newsletter" action="https://duck.co/s/a" method="post" name="y">
+ <input type="hidden" name="page" value="1" />
+ <input type="hidden" name="campaign" value="b" />
+ <input type="hidden" name="flow" value="styleguide" />
+ <input type="email" placeholder="Enter your email address" class="frm__input" name="from" />
<input type="submit" value="Subscribe" class="frm__btn btn btn--primary" />
<div class="frm--newsletter__chks">
<label class="frm__label" for="add">
- <input class="frm__label__chk" type="checkbox" id="add" name="add" checked="checked">
+ <input class="frm__label__chk" type="checkbox" id="add" name="add">
<span class="frm__label__txt">
Newsletter
<span class="frm--newsletter__frq">Monthly</span>
@@ -316,7 +318,7 @@
</span>
</label>
<label class="frm__label" for="add4">
- <input class="frm__label__chk" type="checkbox" id="add4" name="add4">
+ <input class="frm__label__chk" type="checkbox" id="add4" name="add4" checked="checked">
<span class="frm__label__txt">
Privacy
<span class="frm--newsletter__frq">Education</span>

0 comments on commit 0184efd

Please sign in to comment.