@nymdev/clay-newsletter-signup

A simple newsletter signup component

Usage no npm install needed!

<script type="module">
  import nymdevClayNewsletterSignup from 'https://cdn.skypack.dev/@nymdev/clay-newsletter-signup';
</script>

README

clay-newsletter-signup

A simple newsletter signup component

Install

npm install --save @nymdev/clay-newsletter-signup

Adds a newsletter signup component that links to a signup form.

Usage

Once you install it, it will be automatically recognized by amphora. It has three editable fields, message, link, and cta.

To include it, create an instance of it and add a reference to a component list (for example, in your sidebar).

components:
  layout:
    instances:
      article:
        sidebar:
          -
            _ref: /components/clay-newsletter-signup/instances/latest-news-signup
  clay-newsletter-signup:
    instances:
      latest-news-signup:
        message: Join our email list
        link: http://a.google.form
        cta: Sign Up Now