Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Latest commit

 

History

History
33 lines (25 loc) · 1.6 KB

README.md

File metadata and controls

33 lines (25 loc) · 1.6 KB

gatsby-starter-business

A Gatsby and Netlify CMS powered generic business website starter based on gatsby-starter-netlify-cms.

It follows the JAMstack architecture by using Git as a single source of truth, and Netlify for continuous deployment, and CDN distribution.

Demo

Gatsby Starter Business

Features

  • Complete Business Website Suite - Home Page, About Page, Pricing Page, Contact Page and Blog
  • Netlify CMS for Content Management
  • SEO Friendly (Sitemap, Schemas, Meta Tags, GTM etc)
  • Bulma and Sass Support for styling
  • Progressive Web App & Offline Support
  • Tags and RSS Feed for Blog
  • Disqus and Share Support

TODO

  • Pagination for Blog (gatsby-paginate)
  • Search (@andrew-codes/gatsby-plugin-elasticlunr-search)

Storybook vs. Gatsby

Gatsby and Storybook have some issues when used in combination.

It is good practice to separate worlds and use dependency injection (DI) to dictate specific behaviour:

  • Add one file for agnostic base component, e.g. component.tsx.
  • Add another file for story components, e.g. stories.tsx.
  • Add another file for gatsby component, e.g. index.tsx.

See Footer component for an example.

core-js

One reason for the mismatch is core-js. See this open issue for more information: gatsbyjs/gatsby#15601