SharedStake / SharedStake/SharedStake-ui
Update Mailing List Code
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 16
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
We've switched our email marketing provider to a crypto friendly company. Please update the mailing list signup form, located on the bottom of the homepage:
It can look exactly the same, we just need to switch the code. Here's the new code. Please remove any unnecessary markup:
<!-- AWeber Web Form Generator 3.0.1 -->
<form method="post" class="af-form-wrapper" accept-charset="UTF-8" action="https://www.aweber.com/scripts/addlead.pl" >
<div style="display: none;">
<input type="hidden" name="meta_web_form_id" value="1389832656" />
<input type="hidden" name="meta_split_id" value="" />
<input type="hidden" name="listname" value="awlist6062519" />
<input type="hidden" name="redirect" value="" id="redirect_0a4a91f6f1485a2bdf449db084e5572f" />
<input type="hidden" name="meta_adtracking" value="Main_signup_form" />
<input type="hidden" name="meta_message" value="1001" />
<input type="hidden" name="meta_required" value="email" />
<input type="hidden" name="meta_tooltip" value="" />
</div>
<div id="af-form-1389832656" class="af-form"><div id="af-body-1389832656" class="af-body af-standards">
<div class="af-element">
<label class="previewLabel" for="awf_field-112053980">Email: </label>
<div class="af-textWrap"><input class="text" id="awf_field-112053980" type="text" name="email" value="" tabindex="500" onfocus=" if (this.value == '') { this.value = ''; }" onblur="if (this.value == '') { this.value='';} " />
</div><div class="af-clear"></div>
</div>
<div class="af-element buttonContainer">
<input name="submit" class="submit" type="submit" value="Subscribe" tabindex="501" />
<div class="af-clear"></div>
</div>
</div>
</div>
<div style="display: none;"><img src="https://forms.aweber.com/form/displays.htm?id=jMwcnBzMTGysbA==" alt="" /></div>
</form>
<script type="text/javascript">
<!--
(function() {
var IE = /*@cc_on!@*/false;
if (!IE) { return; }
if (document.compatMode && document.compatMode == 'BackCompat') {
if (document.getElementById("af-form-1389832656")) {
document.getElementById("af-form-1389832656").className = 'af-form af-quirksMode';
}
if (document.getElementById("af-body-1389832656")) {
document.getElementById("af-body-1389832656").className = "af-body inline af-quirksMode";
}
if (document.getElementById("af-header-1389832656")) {
document.getElementById("af-header-1389832656").className = "af-header af-quirksMode";
}
if (document.getElementById("af-footer-1389832656")) {
document.getElementById("af-footer-1389832656").className = "af-footer af-quirksMode";
}
}
})();
-->
</script>
<script type="text/javascript">document.getElementById('redirect_0a4a91f6f1485a2bdf449db084e5572f').value = document.location;</script>
<!-- /AWeber Web Form Generator 3.0.1 -->
Below is the javascript snippet, if needed:
<div class="AW-Form-1389832656"></div>
<script type="text/javascript">(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = "//forms.aweber.com/form/56/1389832656.js";
fjs.parentNode.insertBefore(js, fjs);
}(document, "script", "aweber-wjs-hm44hgo1b"));
</script>
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the mailing-list signup form at the bottom of the homepage and inspect how its current markup is included. Replace the provider-specific form code with the supplied AWeber form or JavaScript snippet, remove unnecessary markup, and verify that the appearance stays the same and submissions use the new provider.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html, javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100