This is a very simple landing page, built using gatbsy.js. See the full blog post at https://sanjeevan.co.uk/blog/setup-a-landing-page-for-your-mvp
This serves as a simple demonstration of how you can create a pre-launch page for product to capture email leads. The code is very small and simple, so you can use it as the basis of building out more complex landing pages
-
Install gatsby
npm install --global gatsby-cli
-
Install packages
cd <project folder> yarn install
These env variables must be exported before you run the development server.
- GATSBY_CREATE_SUBSCRIBER_URL='https://your-aws-lambda-endpoint'
- GATSBY_LIST_ID='emailoctopus-list-id'
gatsby develop