From ed001e5e5f5633c27f40cec023a3fce99338b5fd Mon Sep 17 00:00:00 2001 From: samgildea Date: Thu, 27 May 2021 20:40:17 -0400 Subject: [PATCH] updating page meta information --- gatsby-config.js | 2 +- package-lock.json | 37 ++++++++++------------------------ package.json | 1 + src/components/about/about.js | 2 +- src/components/layout.js | 5 +++++ src/images/favicon.ico | Bin 0 -> 8742 bytes src/pages/about.js | 5 +++++ src/pages/index.js | 5 +++++ src/pages/process.js | 5 +++++ src/pages/solutions.js | 5 +++++ 10 files changed, 39 insertions(+), 28 deletions(-) create mode 100644 src/images/favicon.ico diff --git a/gatsby-config.js b/gatsby-config.js index 48c21d1..c2941d1 100644 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -8,6 +8,7 @@ module.exports = { /* Your site config here */ plugins: [ `gatsby-plugin-sass`, + `gatsby-plugin-react-helmet`, { resolve: "gatsby-source-prismic", @@ -28,7 +29,6 @@ module.exports = { use_cases_page: require("./src/schemas/use_cases_page.json"), use_case: require("./src/schemas/use_case.json"), About: require("./src/schemas/About.json"), - }, typePathsFilenamePrefix: "prismic-typepaths---powerhouse-site", }, diff --git a/package-lock.json b/package-lock.json index 53eb121..ae23dd8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -4082,11 +4082,6 @@ } } }, - "body-scroll-lock": { - "version": "3.1.5", - "resolved": "https://registry.npmjs.org/body-scroll-lock/-/body-scroll-lock-3.1.5.tgz", - "integrity": "sha512-Yi1Xaml0EvNA0OYWxXiYNqY24AfWkbA6w5vxE7GWxtKfzIbZM+Qw+aSmkgsbWzbHiy/RCSkUZBplVxTA+E4jJg==" - }, "bonjour": { "version": "3.5.0", "resolved": "https://registry.npmjs.org/bonjour/-/bonjour-3.5.0.tgz", @@ -9519,6 +9514,14 @@ } } }, + "gatsby-plugin-react-helmet": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/gatsby-plugin-react-helmet/-/gatsby-plugin-react-helmet-4.6.0.tgz", + "integrity": "sha512-+OR34N+H3vZcSN4e4dEyk6tR6NBBP8gINWztDw6/b3sXVJM0hfHRCpbBtgtJGclyjaxAdwbtfos1geKh3AvDHA==", + "requires": { + "@babel/runtime": "^7.12.5" + } + }, "gatsby-plugin-react-svg": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/gatsby-plugin-react-svg/-/gatsby-plugin-react-svg-3.0.0.tgz", @@ -9528,9 +9531,9 @@ } }, "gatsby-plugin-sass": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/gatsby-plugin-sass/-/gatsby-plugin-sass-4.0.2.tgz", - "integrity": "sha512-ngiC/3Kka2pljqzZ4ZoXOKC+cXq1StLlZc7+FLvRm555RTMfJqgHWM8FCELZ5j5hxlBHIZ5cZ9Ur8GbScQD58g==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/gatsby-plugin-sass/-/gatsby-plugin-sass-4.4.0.tgz", + "integrity": "sha512-RYcmXLRzLZVAnlmWxA4x28R3zFvQEc4Zp0ZZmYIgAY9AJikkX9hrAi1IMC1JHlkh4j7ZURum01d46E03maLzlw==", "requires": { "@babel/runtime": "^7.12.5", "resolve-url-loader": "^3.1.2", @@ -9821,24 +9824,6 @@ } } }, - "gatsby-plugin-react-svg": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/gatsby-plugin-react-svg/-/gatsby-plugin-react-svg-3.0.0.tgz", - "integrity": "sha512-myZl5NjVZwLLn4ovwSDM7cufa8yjaRiU5KoufJrz8FEalRroZ/hFSCCKNVna3blTwxcS0rZgISigYn9/xY7rkw==", - "requires": { - "svg-react-loader": "^0.4.4" - } - }, - "gatsby-plugin-sass": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/gatsby-plugin-sass/-/gatsby-plugin-sass-4.4.0.tgz", - "integrity": "sha512-RYcmXLRzLZVAnlmWxA4x28R3zFvQEc4Zp0ZZmYIgAY9AJikkX9hrAi1IMC1JHlkh4j7ZURum01d46E03maLzlw==", - "requires": { - "@babel/runtime": "^7.12.5", - "resolve-url-loader": "^3.1.2", - "sass-loader": "^10.1.1" - } - }, "gatsby-plugin-typescript": { "version": "2.6.0", "resolved": "https://registry.npmjs.org/gatsby-plugin-typescript/-/gatsby-plugin-typescript-2.6.0.tgz", diff --git a/package.json b/package.json index c52e9d4..b052668 100644 --- a/package.json +++ b/package.json @@ -23,6 +23,7 @@ "gatsby-cli": "^3.4.0", "gatsby-plugin-exclude": "^1.0.2", "gatsby-plugin-netlify-headers": "^1.0.1", + "gatsby-plugin-react-helmet": "^4.6.0", "gatsby-plugin-react-svg": "^3.0.0", "gatsby-plugin-sass": "^4.4.0", "gatsby-plugin-sharp": "^3.4.0", diff --git a/src/components/about/about.js b/src/components/about/about.js index 3db0f7f..1d51410 100644 --- a/src/components/about/about.js +++ b/src/components/about/about.js @@ -99,7 +99,7 @@ export default function About({ data }) { - + {data.cta_button_text} diff --git a/src/components/layout.js b/src/components/layout.js index f6cb8cc..15a4381 100644 --- a/src/components/layout.js +++ b/src/components/layout.js @@ -3,6 +3,8 @@ import styled from "@emotion/styled" import Footer from "../components/footer/footer" import Header from "../components/header/header" import dimensions from "../style/dimensions" +import favicon from "../images/favicon.ico" +import Helmet from "react-helmet" import "../style/global.scss" import "../style/typography.scss" import { layoutPaddingDesktop, layoutPaddingMobile } from "../style/variables" @@ -21,6 +23,9 @@ const LayoutBody = styled.div` const Layout = ({ children, home }) => { return ( + + +
{children}