From cae386d5bd66c6df80b345ed994e18e87044988e Mon Sep 17 00:00:00 2001 From: Kevin Kandlbinder Date: Fri, 4 Feb 2022 13:52:50 +0000 Subject: [PATCH] Fix typo --- gatsby-config.js | 36 ++++++++++++++++++------------------ src/pages/social.tsx | 6 +++++- 2 files changed, 23 insertions(+), 19 deletions(-) diff --git a/gatsby-config.js b/gatsby-config.js index 23538a8..bedcb0c 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -125,25 +125,7 @@ module.exports = { }, `gatsby-plugin-remove-serviceworker`, `gatsby-plugin-eslint`, - `gatsby-plugin-image`, - `gatsby-plugin-sharp`, - `gatsby-remark-images`, - `gatsby-transformer-sharp`, `gatsby-transformer-json`, - { - resolve: `gatsby-plugin-portal`, - options: { - key: "osnav", - id: "osnav", - }, - }, - { - resolve: `gatsby-plugin-remote-images`, - options: { - nodeg: "SocialsJson", - imagePath: "image", - }, - }, { resolve: `gatsby-plugin-remote-images`, options: { @@ -151,6 +133,24 @@ module.exports = { imagePath: "imageURL", }, }, + { + resolve: `gatsby-plugin-remote-images`, + options: { + nodeType: "SocialsJson", + imagePath: "image", + }, + }, + `gatsby-plugin-image`, + `gatsby-plugin-sharp`, + `gatsby-remark-images`, + `gatsby-transformer-sharp`, + { + resolve: `gatsby-plugin-portal`, + options: { + key: "osnav", + id: "osnav", + }, + }, { resolve: `gatsby-source-filesystem`, options: { diff --git a/src/pages/social.tsx b/src/pages/social.tsx index ee40d9c..d971fa1 100644 --- a/src/pages/social.tsx +++ b/src/pages/social.tsx @@ -16,7 +16,11 @@ export const query = graphql` url localImage { childImageSharp { - gatsbyImageData(height: 300, width: 300) + gatsbyImageData( + height: 300 + width: 300 + placeholder: BLURRED + ) } } }