Portfolio theme for Gatsby
by Wojciech Kocjan
Gatsby portfolio theme integrated with Contentful.
Gatsby starter theme integrated with Contentful
Live demo is available at: https://gatsby-contentful-portfolio.netlify.com/
Who is this for?
- Graphic designers
- 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.
Get the source code and install dependencies.
$ git clone email@example.com:wkocjan/gatsby-contentful-portfolio.git$ npm install
Set up of the needed content model and create a configuration file
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 (
Set up Mailchimp
If you want to use built-in integration with Mailchimp, please provide your unique endpoind URL in the
.env file (
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.