gatsby-theme-mailchimped

A simple theme to help you subscribe new email addresses to a Mailchimp email list. Mailchimp does not provide much direction on making clientside requests so the setup to achieve this with a static website (i.e. Gatsby) can be cumbersome!

Usage no npm install needed!

<script type="module">
  import gatsbyThemeMailchimped from 'https://cdn.skypack.dev/gatsby-theme-mailchimped';
</script>

README

Gatsby-theme-mailchimped

Version Twitter: 2600hz

A simple theme to help you subscribe new email addresses to a Mailchimp email list. Mailchimp does not provide much direction on making clientside requests so the setup to achieve this with a static website (i.e. Gatsby) can be cumbersome!

🏠 Homepage

Install

yarn add gatsby-theme-mailchimped

Usage

Define a enviroment variable GATSBY_MAILCHIMP_LIST_ENDPOINT = Your-Mailchimp-List-Endpoint-Url

Or

Define mailchimpListEndpoint: Your-Mailchimp-List-Endpoint-Url option into plugins options section

    plugins: [
        {
            resolve: "gatsby-theme-mailchimped",
            options: {
                mailchimpListEndpoint: Your-Mailchimp-List-Endpoint-Url or false,
                subscribeFormClassname: `subscribe-form`,
                subscribeInputClassname: `form-control`,
                subscribeInputPlaceholder: `Enter my email address`,
                subscribeSubmitClassname: `submit px-3`,
                subscribeSubmitPlaceholder: `Subscribe`,
            },
        },
    ],

Author

👤 Carlos Guimarães sekmet@open4g.com

Show your support

Give a ⭐️ if this project helped you!

![support us](https://img.shields.io/badge/become-a patreon%20us-orange.svg?cacheSeconds=2592000)


This README was generated with ❤️ by readme-md-generator