Skip to content

t-yanick/tazoh-portfolio

Repository files navigation

Setup Notes

  1. All components ready to go (including imports)
  2. Use main.css - less imports
  3. Limit amount of components - better overview
  4. React Icons

[react icons] :https://react-icons.github.io/react-icons/

import { FaHome } from "react-icons/fa"
const Component = () => {
  return <FaHome className="icon"></FaHome>
}
  1. Use constants to avoid repetition.

  2. In order to follow along with the video use my backend (url below)

  3. Make sure such content-types exist in your Strapi application. Or replace/delete them in gatsby-config.js

{
      resolve: `gatsby-source-strapi`,
      options: {
        apiURL: `http://localhost:1337`,
        queryLimit: 1000, // Default to 100
        // contentTypes: [`jobs`, `projects`, `blogs`, ],
        //singleTypes:[`about` ]
        contentTypes: [`jobs`, `projects`, `blogs`],
        singleTypes: [`about`],
      },
    },

How to access GraphQl IDE when development server is running

GraphiQL is the GraphQL integrated development environment (IDE). It’s a powerful (and all-around awesome) tool you’ll use often while building Gatsby websites.

You can access it when your site’s development server is running—normally at http://localhost:8000/___graphql

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published