Creating Layouts that can be used across different templates and pages is a very useful pattern in Gatsby. Before we start learning about Styled Components, it will make more sense to have some reusable components to style, so that's what we shall do.
00:00 - Intro
00:11 - The "why" of a Layout component
01:43 - Creating the Layout component
05:30 - Troubleshooting where pages are created from
06:22 - Adding components to the Layout
08:10 - Simple styling for the Footer
12:32 - Summing up Layout's usefulness
13:10 - Wrap-up
Previous video in the series:
• Gatsby site from scratch #9: Adding css, s...
Next video in the series:
• Video
Follow Jimmy Cleveland's doings:
blog: https://blog.jimmydc.com/
twitter: / jimmydcleveland
#gatsbyjs #staticsite #reactjs