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