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
- Host: GitHub
- URL: https://github.com/sanjeevan/example-landing-page
- Owner: sanjeevan
- License: mit
- Created: 2018-08-12T18:31:56.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-08-13T13:49:13.000Z (almost 8 years ago)
- Last Synced: 2025-09-06T11:50:47.681Z (10 months ago)
- Topics: gatsbyjs, netlify, react
- Language: JavaScript
- Homepage: https://sanjeevan.co.uk/blog/setup-a-landing-page-for-your-mvp
- Size: 177 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```