/gatsby

Primary LanguageJavaScriptMIT LicenseMIT

Safara

Screenshot

Installation

Install the dependencies:

npm install

gatsby develop

Cleanup cache (often fixes misc errors when run before yarn dev):

gatsby clean

Content

Each of the sections in the site are placed in src/sections. Data is usually separated out into objects/arrays to be rendered in the component.

SEO

The component src/components/common/SEO.js handles all meta data and SEO content, modify the SEO_DATA variable to add the data automatically. For application manifest data and favicon, modify the gatsby-plugin-manifest configuration in gatsby-config.js.

Styling

This project uses styled-components to handle styling: src/styles/theme.js defines the styling base and src/styles/GlobalStyles.js includes basic element styles along with the CSS Reset.