A simple landing page built with NextJS and Sanity CMS
- NextJS
- Sanity
- Styled-components
To clone and run this application, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:
# Clone this repository
$ git clone https://github.com/kibuikaCodes/Sanity-NextJS-integration
# install dependencies
$ npm install
# Start it
$ npm run dev
You will also need to provide environment variables for Sanity. This means you need to create a sanity project. See instructions here
SANITY_PROJECT_ID=YOUR_SANITY_PROJECT_ID_HERE
NEXT_PUBLIC_SANITY_TOKEN=YOUR_SANITY_PROJECT_TOKEN_HERE