diff --git a/package-lock.json b/package-lock.json index 12360fe3f..3c1735cb6 100644 --- a/package-lock.json +++ b/package-lock.json @@ -12,7 +12,6 @@ "@fortawesome/free-brands-svg-icons": "^6.6.0", "@fortawesome/free-solid-svg-icons": "^6.6.0", "@fortawesome/react-fontawesome": "^0.2.2", - "disqus-react": "^1.1.5", "gatsby": "^5.13.3", "gatsby-plugin-disqus": "^1.2.6", "gatsby-plugin-feed": "^5.13.1", @@ -9103,15 +9102,6 @@ "node": ">=8" } }, - "node_modules/disqus-react": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/disqus-react/-/disqus-react-1.1.5.tgz", - "integrity": "sha512-9fdG5m6c3wJzlCDLaMheuUagMVj3s5qgUSXdekpCsvzYOKG21AiuOoqyDzA0oXrpPnYzgpnsvPYqZ+i0hJPGZw==", - "peerDependencies": { - "react": "^15.6.1 || ^16.0.0 || ^17.0.0 || ^18.0.0", - "react-dom": "^15.6.1 || ^16.0.0 || ^17.0.0 || ^18.0.0" - } - }, "node_modules/doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", @@ -29516,12 +29506,6 @@ "path-type": "^4.0.0" } }, - "disqus-react": { - "version": "1.1.5", - "resolved": "https://registry.npmjs.org/disqus-react/-/disqus-react-1.1.5.tgz", - "integrity": "sha512-9fdG5m6c3wJzlCDLaMheuUagMVj3s5qgUSXdekpCsvzYOKG21AiuOoqyDzA0oXrpPnYzgpnsvPYqZ+i0hJPGZw==", - "requires": {} - }, "doctrine": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz", diff --git a/package.json b/package.json index 54b25b2c5..14c3c1f6b 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ "@fortawesome/free-brands-svg-icons": "^6.6.0", "@fortawesome/free-solid-svg-icons": "^6.6.0", "@fortawesome/react-fontawesome": "^0.2.2", - "disqus-react": "^1.1.5", "gatsby": "^5.13.3", "gatsby-plugin-disqus": "^1.2.6", "gatsby-plugin-feed": "^5.13.1", diff --git a/src/components/SEO.jsx b/src/components/SEO.jsx index 54fa86203..b07c87d2d 100644 --- a/src/components/SEO.jsx +++ b/src/components/SEO.jsx @@ -3,7 +3,7 @@ import PropTypes from "prop-types" import { Helmet } from "react-helmet" import { useStaticQuery, graphql } from "gatsby" -function SEO({ description = '' , lang = 'en', meta = [], image: metaImage, title, pathname }) { +function Seo({ description = '' , lang = 'en', meta = [], image: metaImage, title, pathname }) { const { site } = useStaticQuery( graphql` query { @@ -110,7 +110,7 @@ function SEO({ description = '' , lang = 'en', meta = [], image: metaImage, titl ) } -SEO.propTypes = { +Seo.propTypes = { description: PropTypes.string, lang: PropTypes.string, meta: PropTypes.arrayOf(PropTypes.object), @@ -123,4 +123,4 @@ SEO.propTypes = { pathname: PropTypes.string, } -export default SEO +export default Seo diff --git a/src/pages/about.js b/src/pages/about.js index 54662a36e..94473ef55 100644 --- a/src/pages/about.js +++ b/src/pages/about.js @@ -1,11 +1,11 @@ import React from "react" import Layout from "../components/Layout" -import SEO from "../components/SEO" +import Seo from "../components/Seo" const AboutPage = () => { return ( - +

About Me

diff --git a/src/pages/contact.js b/src/pages/contact.js index fbee68ca4..df39ebc99 100644 --- a/src/pages/contact.js +++ b/src/pages/contact.js @@ -1,12 +1,12 @@ import React from "react" import Layout from "../components/Layout" -import SEO from "../components/SEO" -import * as contactStyles from "../styles/contact.module.scss" +import Seo from "../components/Seo" +import "../styles/contact.module.scss" const ContactPage = () => { return ( - +

Contact Me

@@ -19,7 +19,7 @@ const ContactPage = () => { id="contactForm" noValidate > - + { data-validation-required-message="Please enter your email address." />

- +