An open API service indexing awesome lists of open source software.

https://github.com/sanjeevan/example-landing-page

Example of creating a simple landing page using gatsby
https://github.com/sanjeevan/example-landing-page

gatsbyjs netlify react

Last synced: 2 months ago
JSON representation

Example of creating a simple landing page using gatsby

Awesome Lists containing this project

README

          

## Simple landing page to capture leads

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

## To get started

1) Install gatsby

```sh
npm install --global gatsby-cli
```

2) Install packages

```sh
cd
yarn install
```

## Set env variables

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'

## Run development server

```sh
gatsby develop
```