Skip to content

Commit

Permalink
fix: replace placeholder test with Mailchimp form
Browse files Browse the repository at this point in the history
  • Loading branch information
miklb committed Feb 21, 2023
1 parent 030374a commit d27dd86
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 3 deletions.
37 changes: 36 additions & 1 deletion home.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,41 @@

}
?>
<h2>Yay this works.</h2>
<div class="mc-subscribe">
<p class="loud">Want a weekend wrapup of Tampa City Council in your weekend inbox?
</p>
<!-- Begin Mailchimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-071822.css" rel="stylesheet" type="text/css">

<div id="mc_embed_signup">
<form action="https://tampamonitor.us21.list-manage.com/subscribe/post?u=07d5482fa1e57df3d81da358b&amp;id=f6fd249904&amp;f_id=001afbe1f0" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<h2>Subscribe</h2>
<div class="indicates-required"><span class="asterisk">*</span> indicates required</div>
<div class="mc-field-group">
<label for="mce-EMAIL">Email Address <span class="asterisk">*</span>
</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" required>
<span id="mce-EMAIL-HELPERTEXT" class="helper_text"></span>
</div>
<div id="mce-responses" class="clear foot">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div> <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_07d5482fa1e57df3d81da358b_f6fd249904" tabindex="-1" value=""></div>
<div class="optionalParent">
<div class="clear foot">
<input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button">
<p class="brandingLogo"><a href="http://eepurl.com/ilhdhf" title="Mailchimp - email marketing made easy and fun"><img src="https://eep.io/mc-cdn-images/template_images/branding_logo_text_dark_dtp.svg"></a></p>
</div>
</div>
</div>
</form>
</div>
<script type='text/javascript' src='//s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script><script type='text/javascript'>(function($) {window.fnames = new Array(); window.ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';fnames[3]='ADDRESS';ftypes[3]='address';fnames[4]='PHONE';ftypes[4]='phone';fnames[5]='BIRTHDAY';ftypes[5]='birthday';}(jQuery));var $mcj = jQuery.noConflict(true);</script>
<!--End mc_embed_signup-->
<p class="quiet">We hate unsolicted emails and promise to never share your email or send you anything you haven't consented to.
</p>
</div>
<?php
get_footer();
2 changes: 1 addition & 1 deletion min.main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit d27dd86

Please sign in to comment.