Skip to content

A starter repo for a portfolio built on Gatsby with Tailwind CSS and GraphCMS

License

Notifications You must be signed in to change notification settings

kylekarpack/gatsby-starter-tailwind-graphcms

Repository files navigation

Gatsby Starter Tailwind CSS & GraphCMS

Netlify Status Security Rating Bugs

This Gatsby starter is designed to use highly structured content from a headless CMS such as GraphCMS. All content should be set up with strong parent/child relationships, which allows maximum decoupling of the Gatsby logic and the site structure.

Demo

https://gatsby-starter-tailwind-graphcms.netlify.app/

Overview

Use the following tooling:

  • Tailwind CSS for styling
  • GraphCMS for structured content
  • Netlify for deployment and hosting

Features:

  • Slider
  • Page headers
  • Multi-level menu
  • Breadcrumbs
  • Page preview component

Pages Included:

  • Home page
  • Services pages
  • Portfolio
  • Team members
  • Contact

GraphCMS Setup

Directions coming soon. Files in the /graphcms-fragments directory give and idea of one possible schema in GraphCMS.

Development

You'll need a GraphCMS project to start out.

  1. Add a .env.development file with the following keys:
    GRAPHCMS_PROJECT_API=<your GraphCMS API endpoint>
    GRAPHCMS_PROD_AUTH_TOKEN=<your prod access token>
    GRAPHCMS_DEV_AUTH_TOKEN=<your dev access token>
    ENABLE_GATSBY_REFRESH_ENDPOINT=true
    
  2. yarn install or npm install to install dependencies
  3. yarn start to run the Gatsby development server

Deployment

Coming soon


Additional documentation coming soon

About

A starter repo for a portfolio built on Gatsby with Tailwind CSS and GraphCMS

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published