Gatsby
Up and Running with Gatsby: Taking Gatsby to Production

Assignment: SEO Component

PRO

It's common practice to extract React Helmet into an SEO component.

In this video, you've got one final assignment in two parts:

  1. Extract Helmet (and the accompanying GraphQL query!) into its own component called SEO.js.
  2. Add a new meta tag for image to our Helmet. You'll need to add an image property and path to our siteMetadata in gatsby-config.js first, then update the query used in SEO.js.

Of course, we'll look at the solution in the next video.