diff --git a/config.js b/config.js index 0b586a03..469a07bb 100644 --- a/config.js +++ b/config.js @@ -4,7 +4,7 @@ module.exports = { siteDescription: 'Learn about the components of the Ocean Protocol software stack, and how to run or use the components relevant to you.', siteUrl: process.env.SITE_URL || 'https://docs.oceanprotocol.com', - siteIcon: 'src/images/profile.png', + siteIcon: 'node_modules/@oceanprotocol/art/logo/favicon-black.png', siteCompany: 'Ocean Protocol Foundation Ltd.', analyticsId: 'UA-60614729-11', social: { diff --git a/gatsby-config.js b/gatsby-config.js index 09013e69..6464be02 100755 --- a/gatsby-config.js +++ b/gatsby-config.js @@ -75,7 +75,7 @@ module.exports = { maxWidth: 666, quality: 80, withWebp: true, - linkImagesToOriginal: false, + linkImagesToOriginal: true, showCaptions: true, sizeByPixelDensity: true } diff --git a/package.json b/package.json index f865cf19..5f69a61f 100644 --- a/package.json +++ b/package.json @@ -22,7 +22,7 @@ "deploy": "./scripts/deploy.sh" }, "dependencies": { - "@oceanprotocol/art": "^2.0.0", + "@oceanprotocol/art": "^2.1.0", "axios": "^0.18.0", "classnames": "^2.2.6", "gatsby": "^2.0.52", diff --git a/src/components/DocHeader.jsx b/src/components/DocHeader.jsx index 7b804d9a..f9ebca13 100644 --- a/src/components/DocHeader.jsx +++ b/src/components/DocHeader.jsx @@ -14,7 +14,9 @@ const DocHeader = ({ title, description }) => { return (

{title}

- {description &&

{descriptionHtml}

} + {description && ( +
{descriptionHtml}
+ )}
) } diff --git a/src/components/Layout.jsx b/src/components/Layout.jsx index e0e14205..27e9646e 100755 --- a/src/components/Layout.jsx +++ b/src/components/Layout.jsx @@ -1,45 +1,17 @@ import React from 'react' import PropTypes from 'prop-types' -import Helmet from 'react-helmet' -import { graphql, StaticQuery } from 'gatsby' import Header from './Header' import Footer from './Footer' -const query = graphql` - query { - site { - siteMetadata { - siteTitle - siteDescription - } - } - } -` - const Layout = ({ children, header }) => { const headerElement = header ||
return ( - { - const siteMeta = data.site.siteMetadata - - return ( - <> - - - - {headerElement} - {children} -