diff --git a/docs/docs/how-to/styling/global-css.md b/docs/docs/how-to/styling/global-css.md index 97055d16415cd..333acbd2eea02 100644 --- a/docs/docs/how-to/styling/global-css.md +++ b/docs/docs/how-to/styling/global-css.md @@ -8,7 +8,7 @@ Globally-scoped CSS rules are declared in external `.css` stylesheets, and [CSS ## Adding global styles with a layout component -The best way to add global styles is with a [shared layout component](/docs/tutorial/part-3/#your-first-layout-component). This layout component is used for things that are shared throughout the site, including styles, header components, and other common items. +The best way to add global styles is with a [shared layout component](/docs/tutorial/part-2/#create-a-reusable-layout-component). This layout component is used for things that are shared throughout the site, including styles, header components, and other common items. > **NOTE:** This pattern is implemented by default in [the default starter](https://github.com/gatsbyjs/gatsby-starter-default/blob/063978d59f74103da45d5880a61ebd2e77798e3c/src/components/layout.js#L13). diff --git a/docs/docs/recipes/pages-layouts.md b/docs/docs/recipes/pages-layouts.md index e978330ae0eef..c48aeeb80e3a8 100644 --- a/docs/docs/recipes/pages-layouts.md +++ b/docs/docs/recipes/pages-layouts.md @@ -153,7 +153,7 @@ export default function Home() { ### Additional resources -- Create a layout component in [tutorial part three](/docs/tutorial/part-3/#your-first-layout-component) +- Create a layout component in [tutorial part three](/docs/tutorial/part-2/#create-a-reusable-layout-component) - Styling with [Layout Components](/docs/how-to/routing/layout-components/) ## Creating pages programmatically with createPage diff --git a/docs/docs/recipes/styling-css.md b/docs/docs/recipes/styling-css.md index 79029bcb8cc24..c2ecb9f6eb7d5 100644 --- a/docs/docs/recipes/styling-css.md +++ b/docs/docs/recipes/styling-css.md @@ -50,7 +50,7 @@ import "./src/styles/global.css" ### Directions -You can add global styles to a [shared layout component](/docs/tutorial/part-3/#your-first-layout-component). This component is used for things that are common throughout the site, like a header or footer. +You can add global styles to a [shared layout component](/docs/tutorial/part-2/#create-a-reusable-layout-component). This component is used for things that are common throughout the site, like a header or footer. 1. If you don't already have one, create a new directory in your site at `/src/components`.