From 91fbaa646c5643f04e0bbb4ab85620108586cb9b Mon Sep 17 00:00:00 2001 From: Armando Vasquez Date: Thu, 17 Dec 2020 10:35:31 -0600 Subject: [PATCH 1/2] Update gatsby deps and gatsby-source-contentful to version 4 --- package.json | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index dd05afe0..e230dfd2 100644 --- a/package.json +++ b/package.json @@ -8,13 +8,13 @@ "url": "https://github.com/contentful/starter-gatsby-blog/issues" }, "dependencies": { - "gatsby": "^2.23.9", - "gatsby-image": "^2.4.8", - "gatsby-plugin-react-helmet": "^3.3.5", - "gatsby-plugin-sharp": "^2.6.43", - "gatsby-source-contentful": "^2.3.17", - "gatsby-transformer-remark": "^2.8.18", - "gatsby-transformer-sharp": "^2.5.6", + "gatsby": "^2.29.0", + "gatsby-image": "^2.8.0", + "gatsby-plugin-react-helmet": "^3.7.0", + "gatsby-plugin-sharp": "^2.11.1", + "gatsby-source-contentful": "^4.3.0", + "gatsby-transformer-remark": "^2.13.0", + "gatsby-transformer-sharp": "^2.9.0", "gh-pages": "^3.1.0", "lodash": "^4.17.15", "react": "^16.13.1", From fb50b6670a7a66968132df5b1330f9cd664cc3be Mon Sep 17 00:00:00 2001 From: Armando Vasquez Date: Thu, 17 Dec 2020 16:01:44 -0600 Subject: [PATCH 2/2] asdf --- .env.development | 2 ++ src/components/article-preview.js | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 .env.development diff --git a/.env.development b/.env.development new file mode 100644 index 00000000..a150b12e --- /dev/null +++ b/.env.development @@ -0,0 +1,2 @@ +CONTENTFUL_SPACE_ID=1oa4vozotg3n +CONTENTFUL_ACCESS_TOKEN=-2GRCnKkkox_pSuLQcIg3-sQgBFOIRM8VnvEOtilwQ0 \ No newline at end of file diff --git a/src/components/article-preview.js b/src/components/article-preview.js index 0283bd12..91b73df9 100644 --- a/src/components/article-preview.js +++ b/src/components/article-preview.js @@ -6,7 +6,7 @@ import styles from './article-preview.module.css' export default ({ article }) => (
- + {article.heroImage.fluid && ()}

{article.title}