cuibonobo / cuibonobo.com

A static site generator for cuibonobo.com
https://cuibonobo.com
Creative Commons Zero v1.0 Universal
0 stars 0 forks source link

Add a newsletter signup box #50

Open cuibonobo opened 2 years ago

cuibonobo commented 2 years ago

I signed up for MailChimp and they give this code for embedded sign-ups:

<link href="//cdn-images.mailchimp.com/embedcode/slim-10_7_dtp.css" rel="stylesheet" type="text/css">
<style type="text/css">
    #mc_embed_signup{background:#fff; clear:left; font:14px Helvetica,Arial,sans-serif; }
    /* Add your own Mailchimp form style overrides in your site stylesheet or in this style block.
       We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="https://cuibonobo.us20.list-manage.com/subscribe/post?u=9e912a01d59d2a25a22683e2f&amp;id=3ab476042c" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
    <div id="mc_embed_signup_scroll">
    <input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
    <!-- 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_9e912a01d59d2a25a22683e2f_3ab476042c" 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/hNkU8j" 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>

I'd prefer to get rid of their stylesheet and just have it be styled with Tailwind.