Gatsby starter theme integrated with Contentful
Live demo is available at: https://gatsby-contentful-portfolio.netlify.com/
- Graphic designers
- Photographers
- Illustrators
- Other creatives
- Integration with Contentful - automated content model & demo setup
- Responsive/adaptive images via gatsby-image
- Uses utility-first TailwindCSS framework
- Integration with Mailchimp - newsletter form
- Responsive design (desktop / mobile)
Install Node package manager (NPM) (if you haven't already).
To use this project you have to have a Contentful account. If you don't have one yet you can register at www.contentful.com/sign-up.
$ git clone git@github.com:wkocjan/gatsby-contentful-portfolio.git
$ npm install
This project comes with a Contentful setup command npm run setup
.
This command will ask you for a space ID, and access tokens for the Contentful Management and Delivery API and then import the needed content model into the space you define and write a config file (.env
).
If you want to use built-in integration with Mailchimp, please provide your unique endpoind URL in the .env
file (MAILCHIMP_ENDPOINT
variable).
Follow this instruction to get the endpoint value.
This project comes with a few handy commands for linting and code fixing. The most important ones are the ones to develop and ship code. You can find the most important commands below.
Run in the project locally.
Run a production build into ./public
. The result is ready to be put on any static hosting you prefer.